Blogs On Android

About Android

Android software development is the process by which new applications are created for devices running the Android operating system. Applications are usually developed in Java. Android is an open source and Linux-based operating system. Android was developed by the Open Handset Alliance, led by Google, and other companies. Android programming is based on java programming language so if you have basic understanding on Java programming then it will be a fun to learn Android application development..

How to replace whole word with Word Boundaries in Java?

how to replace a word in a sentence in java

How to replace a word in a sentence in java If you want to replace the whole word with the word boundaries in a string. For this, we use "\b" regular expression token which is called a word boundary....

Case-insensitive replaceAll in Java

How to replace case-insensitive literal substrings in Java

How to replace case insensitive substrings in Java. Normally we replace string by any character or any special character or whatever we want, but sometimes we want to replace a word in the whole strin...

Refresh a fragment list from activity

Call method of fragment from activity

If you want to call any method of Fragment from your activity then you need to implement INTERFACE. So now I am going to introduce Interface example to Refresh a fragment list from an activity of all ...

Expandable list view in android example

Dynamically create groups and child in expandablelistview

This is a wonderful example to show you, how to create an expandable list view in android. I have learnt already in the previous article, how to create list view in android by Recyclerview. So now you...

Passing data to Activity and Fragment in Android

Send value to another activity

Sometimes we need to send some valuable data to another activity or fragment, So, when passing data to an activity or a fragment in Android, the Bundle is used to contain the data and ship it to the a...

How do I programmatically 'restart' an Android app

Android restart app programmatically

Sometimes we need to restart our Android app between the code execution, In that case, we have to use some set of code to perform this action. Now we will learn How do I programmatically restart an An...

Exception handling in php

Different error handling methods

Exception handling is used to change the normal flow of the code execution if a specified error (exceptional) condition occurs. This condition is called an exception. PHP has an exception model simila...

How to call a method after a delay with handler

How to use handler in andorid

Hi, sometimes we need to execute my method or we can say my function after a time delay. In that situation what can I do? So the answer is - Use Handler() for that. A Handler is a utili...