Monthly Archives: June 2013

Vibrate Android Phone Programmatically

android-logoVibrating 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.

Passing data between activities in Android with Example

android-logoUsing 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.