Hi,
I have a list of contacts from address book. I am trying to launch
native sms and email application.
The problem I am facing is as below
1. if I select contact A from list then native sms application gets
launched properly with proper data for contact A.
2. Then on pressing home key if I again select contact B from list I
am getting the native sms screen with the data for contact A.
For launching native sms application on selecting one particular
contact from list following code is used.
Intent intent= Intent(Intent.ACTION_VIEW);
intent.putExtra("address", phoneNumber);
intent.setType("vnd.android-dir/mms-sms");
where phoneNumber is the primary phone number for the contact
selected.
Can anybody please suggest if I am missing something? Same applies to
native email launch.
Thanks,
Jayashree
--
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