I\'m a beginner to android. I need to know is there any intent to open the Create Message window. I tried with this code -
Intent i = new In
You can just in your xml file add
android:onClick = "onClick"
and in activity:
//main buttons listener
public void onClick(View view)
{
switch (view.getId())
{
case R.id.sms:
Intent intentsms = new Intent( Intent.ACTION_VIEW, Uri.parse( "sms:" + "" ) );
intentsms.putExtra( "sms_body", "Test text..." );
startActivity( intentsms );
break;
}
}