How to open and show phone's message inbox programmatically..?

前端 未结 4 808
一生所求
一生所求 2021-01-26 23:19

When we click on messages we are showed with the inbox.

I want to show the same window when i clicked on my application\'s button.

So, I want to start message in

4条回答
  •  佛祖请我去吃肉
    2021-01-27 00:06

    SMS content provider will give you the all sms related data . the Screen you are talking about is implemented by manufacturer using that data . so you have two choices to achieve this :

    1) Use cursor returned by related content provider and create your own screen with desired look and feel .

    2) get Information about package name of message screen for diffrent manufacures (like suppose samsung have com.samsung.smsscreeen ) and lauch intent for this class name . write case statements for devices you want to add.

提交回复
热议问题