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>-----------------------------------------------------------

Wednesday, November 12, 2014

Install JAVA manually in UBUNTU

Installing Oracle JDK

First download the tar file of java version u required. Follow I downloaded 1.7

You will need sudo privileges to perform this task:


        sudo su