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..

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...

Solution for Glide failed to load image in android pie 9.0

Image loading issues in glide android pieid Pie 9.0

Hello, I have seen that in the Android latest version 28.0 or I can say in Android Pie 9.0 when we are using Glide for image loading then nothing is loaded. Actually this thing accrued by Network secu...

How to find prefix and suffix of the word in javascript

Find start and end position of selected text

First of all, you have to know that how to get the currently selected text on the page by using the JavaScript. So, Javascript provided a method for retrieving the current selection of the page by usi...


Spinner with search option in android

How to create searchable spinner in android

Hello, Let's see the above example for your awesome dropdown list to search. Searchable Spinner is a dialog spinner with the search feature which allows to search the items loaded in th...

Set background image randomly from gallery in android

How do I set a picture as my background on my Android?

Hmm, I think you want to show the background image in your open activity view. But you want to show this one from your gallery and it should be selected randomly from your gallery....

How to open link externally from android webview

Android open url external browser and internal WebView

You can open link of the WebView externally from android webview without leaving the app. For this action you need to set a WebViewClient class in your WebView. No n...

Android difference between Two Dates

How do I calculate difference in days between two dates?

In the given example we will learn how to calculate difference between two dates in java in terms of Second/ Minutes / Hours / Days. public int getDateDiffFromNow(String date){ int days = 0; tr...


Top