Tuesday, April 28, 2015

Android SMS receive programmatically


Sending and receiving SMS messages are fundamental features on mobile devices. Android provides API for both send and receive sms to your android application.
Here is an example for catch when your android device receive SMS to it. You need to register a broadcast receiver initially for this.

For further references use following links.
SmsManager
SmsIntents

Monday, April 27, 2015

Android send SMS programmatically



An example for sending SMS programmatically in android. This will cost operator charges of sending sms. And also need to request sms sending permission from user to do this.

It also contents receiver for capture message sent and delivery status.
Following is the source for send SMS and get the status.

Tuesday, January 13, 2015

Android create Secured Wi-Fi hotspot

Here I'm going to give you a sample for create wifi tethering hotspot programmatically using android WifiManager hotspot.

Following example can directly use for create a WPA_PSK secured wifi hotspot programmatically. But this won't create the hotspot that you set in this code if you have switch on the tethering hotspot in your device before executing this code.


---------------------------------------------------------<for more>-----------------------------------------------------------