How to find prefix and suffix of the word in javascript
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 using window.getSelection().
Set background image randomly from gallery in 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. If Iam right then you are in right place.
How to open link externally from android webview
You can open link of the webview externally from android webview without leaving app. For this action you need to add WebViewClient class in your WebView. No need to create any custom webview for that. Let's see the example
Getting the screen density programmatically in android
Getting the screen density programmatically in android
How To Call Native Java Methods From Webview Javascript
When any developer developing an Android app based on Webview, that time developer faces a number of problems. So, this post is based on one of that issue, which is - How to call native Java methods from Webview Javascript.
Determine if device have an Internet Connection
Some of the most programmers set alarm base background services are to schedule regular updates of application for offline data synchronization. In that case I think programmers should use the BroadcastReceiver for better results. There's no need to sched