java

Android Tutorial: Broadcast Receivers

Android Tutorial: Broadcast Receivers

The Android system constantly broadcasts intents that occur during the running of the operating system and applications. In addition, applications can also broadcast user-defined intents. You can capitalize on these broadcasts by writing broadcast receivers in your application. This article explains how to create broadcast receivers. Overview A broadcast receiver, or a receiver for short,…

Android Tutorial: Learning how to handling the Handler

Android Tutorial: Learning how to handling the Handler

One of the most interesting and useful types in the Android SDK is the Handler class. Most of the time, it is used to process messages and schedule a task to run at a future time. This article, explains what the class is good for and offers examples. Previous article: Android Tutorial: Camera API Overview The…

Android Tutorial: The Application Structure

Android Tutorial: The Application Structure

Overview Now, after the little excitement of having just run your first Android application, let’s go back to Android Studio and take a look at the structure of an Android application. Figure 1.1 shows the left treeview that contains the project components. We recommend for the previous tutorial Android Tutorial: Creating An Application. There are…