Hi,
You can pass any integer value. suppose 1
startActivityForResult(intent, 1) ;
And in activity class you can override the onActivityResult() method.
@Override
protected void onActivityResult(int requestCode, int resultCode,
Intent data) {
// TODO Auto-generated method stub
super.onActivityResult(requestCode, resultCode, data);
if ( requestCode == 1 ) {
// do something
}
}
You can fetch the mobile number from the intent.
Hope this may help you.
Regards,
Nishant Shah
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en