Hi, I am new for android application development, and I have developed one simple application in android. In my application I have to add a new feature.
I want to read sms messages from the inbox in android. I have searched and applied some codes but no use, I don't get the result. Following code is my first activity code. It will execute and go to the index page and is working properly. In this case what I want to do for read unread sms from inbox. Where I want to write code and which types of code I want to write....please give me the answer very clearly why because am a very new for android.
So please help me. Thanks in advance.
Code:
import org.apache.cordova.*;
import android.os.Bundle;
public class SMSActivity extends DroidGap
{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
super.setIntegerProperty("splashscreen", R.drawable.fg_logo);
super.loadUrl("file:///android_asset/www/index.html");
}
}