android · java

Sending SMS Messages in Android

This is a simple example can be used to send SMS in android devices. In here i have created two emulators and i will send sms from one emulator to another. I have not tested the code in a real device and i am sure it will work without any errors. This example extracted from the Java… Continue reading Sending SMS Messages in Android


How to use OnClickListener in android

In android application development  we can use OnClickListener in two ways. In first method is add OnClickListenerto each button individually. Imagine that you have several buttons like below image. Now you want to use OnClickListener function in each button. Code snippet can be shown as package com.lister; import; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener;… Continue reading How to use OnClickListener in android