This example will show you how to create a download manager to download file from a url in android application. It use android activity, foreground service, asynctask and notification etc.
This example will show you how to implement force logout when same user account login in another instance of same android app. It will use both android activity, service and broadcast receiver components to implement.
This example shows you how to implement a simple news app use RecyclerView, Fragment, Qualifier, PercentRelativeLayout etc. If you do not know how to use those android widget, you can read previous articles about them. I will list all the related article at the end of this example.
This article will show you how to use RecyclerView to implement an android chat application. You can read article Android RecyclerView Example to learn more about RecyclerView. You should read Android Nine Patch Image Example to learn how to make the chat bubble images stretch correctly.
This article will show you three best practice when use android activity class. These best practice can make your java source code simple and clear.
android.util.Log is the log class that provide log function. It provide below methods to log data into LogCat console.