Category Archives: Android Tutorial
Here we will discuss about how to send SMS from an Android application in a very simple way. Sending SMS from an Android application programmatically is really very easy. Lets have a line by line discussion for how to send massages in Android.
Using Android Analog Clock and Digital Clock in any Android Application is very easy. We just need to put the Android clock control in the xml file, Then it will automatically pick the time and show on the Activity screen. Here is the complete code.
Before we learn about Android Interface Definition Language (AIDL), Let us know why it is required? The answer is very simple. Each Android app run in it’s own process. So one application can’t directly access another app’s memory space. If you want to access some data from one application to another application, then we need to use inter process communication (IPC) like other platforms. So in Android IPC is otherwise known as AIDL.
After getting so many request from users for updating the post on how to use Android alarm to schedule an event. Here is the complete example with source code and description. My idea is to give you a better idea about how AlarmManager works in Android platform. To make the example very simple, in this example we will have an activity which contains a button call ‘Setup Alarm’. Just click the button and wait for 10 seconds. Our Alarm will be raise.
Vibrating your Android phone programmatically is very easy. The code is common for all Android devices which has vibrator hardware. You can vibrate your Android device using different pattern until you cancel the vibrator either by the Android OS or manually by your Android app. You can also download the complete source code from this post.
Using a simple example, We will learn about passing data between activities in Android with example. It is very easy to start a new activity from another activity with some data (like string , integers etc…). Here we will take a very simple example, which will give us some simple and clear idea about how to sending data form one activity to another activity. Note: You can download complete source code from below and have a look into in line comments which are written in side the source code.