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 Session Management using Shared Preferences

Android allows storing data in a number of formats. But, we do android user session management using Shared Preferences, just because of shared preferences

How to call a method after a delay with handler

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. It's so simple, you can create an Object of Handler() method or you can use directly. Let'

How do I programmatically 'restart' an Android app

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 Android app?.So, simply use the PendingIntent to do this

Disable screen capture in android

Generally, when you take a screenshot, you will see a Screen Capture notification in the notification bar and you can see that screenshot in the Gallery app if you click that notification.

Navigation drawer layout with an event listener

The navigation drawer can be implemented by using the Drawer Layout widget. In the layout of your activity, you should define the DrawerLayout element.

How to replace whole word with Word Boundaries 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. It usually matches at the start or the end of a word.