sms - how to fetch draft in android programmatically -


i want fetch draft in android phone.

i find sample draft massages use below address.

getcontentresolver().query(uri.parse("content://mms-sms/canonical-address"), null, null, null, null); 

i hadn't result below uri , had exception:

content://sms/draft 

i've tested on android 5.1 , had iillegalexception don't know wrong.

i've tested in lg g4(android 5.1) , nexus 4 avd(android 4.2.2)

how can access drafts columns in android , body , number?

is there problem android version?

thanks tips.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -