Android Tutorial
How To Install Google Play Store On Android Device & Simulator
I have an old android phone, but it did not install Google Play Store on it by default. So I need to install it manually. I want to install it from google, but it cannot. I struggled for some time and finally found the method to install it on the android device. This article will …
How To Install Google Play Store On Android Device & Simulator Read More »
How To Create, Start, Stop Android Background Service
Android background service is an android component that runs in the background. There is no GUI for users to interact with the android background service object directly, it is usually started in android activity and runs in the same thread of the activity. When users quit the android-activity, the android background service will also exit …
How To Create, Start, Stop Android Background Service Read More »
Android Foreground Service Example
Android foreground service is an android service object. It always runs in the foreground, this can avoid service objects being recycled by the android system when android os does not have enough resources. Android foreground service can interact with users through notification. It is usually used in a music player, file downloader, etc which user …
Passing Data Between Activities Android Tutorial
When you develop an android application, you always need to pass data between activities. And even more, you sometimes need to pass data between all activities for example pass session-id, user-name, and password. In this article, I will tell you how to use android Intent or Application object to pass data between activities.
How To Get Real File Path From Android Uri
The previous article Android Pick Multiple Image From Gallery Example has told us how to browse an image gallery to select and show images use Intent.ACTION_GET_CONTENT intent. In that example, we save all user-selected images android file path URI in a list. Then we display those images one by one.
How To Use Android Debug Bridge (ADB)
ADB is a powerful tool, it is an abbreviation of Android Debug Bridge. It is located in %ANDROID_HOME%\platform-tools like C:\Users\Jerry\AppData\Local\Android\sdk\platform-tools. It provides a lot of useful subcommands for android developers to operate between android physical or virtual devices and computers. It can be used to copy files, install apps, or execute Linux commands on an android device directly. …