开发者

how to go the Default SMS Screen/Phonebook from our application

My question is that from our application can we go to the Default SMS Screen/Phonebook

For example :- I create tabbar with three tab (I开发者_如何转开发nbox,Phonebook,Group).To press Inbox I want to go the default SMS screen which is provided by Android or To press Phonebook I want to go the phonebook screen which is provided by Android.

Is this possible?

Thanks


For PhoneBook you can startActivity with intent ACTION_VIEW;

 Intent intent = new Intent(Intent.ACTION_VIEW, ContactsContract.Contacts.CONTENT_URI);
 startActivity(intent);

For inbox see this today's answer how can i read inbox in android mobile?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜