Getting MMS Phone Number,

Put your problem here if it does not fit any of the other categories.

Getting MMS Phone Number,

Postby Chitra » Tue Jun 08, 2010 3:50 pm

Hi..

Using content provider("content://mms/" ,,,, "content://mms/part") i am getting MMS details.i.e., Subject, Txt Message, Attachment. These details are getting from SQLite database. Same like how can getting mms ender,receiver phone number. In SQLite DB, we have "addr" table. its containing sender, receiver phone number. But whenever i try to access this table("content://mms/addr"), the cursor value is null. How can getting mms sender/Receiver phone number??? For ur's ref here i had attached my code..Please find it
Attachments
MMSMonitor.java
(12.53 KiB) Downloaded 29 times
Thanks,
Chitra
User avatar
Chitra
Master Developer
Master Developer
 
Posts: 213
Joined: Mon Mar 01, 2010 7:59 am
Location: Bangalore

Top

Re: Getting MMS Phone Number,

Postby eephyne » Thu Jun 10, 2010 8:27 am

its because it's content://mms/#/addr where # is the mms ID
eephyne
Junior Developer
Junior Developer
 
Posts: 17
Joined: Wed May 26, 2010 10:08 am

Re: Getting MMS Phone Number,

Postby Chitra » Thu Jun 10, 2010 8:35 am

Hi eephyne,

Yeah.... U r correct only... I changed my url as "content://mms/+id+/addr"... Now i can able to monitor MMS phone number also...

Thanks a lot....
Thanks,
Chitra
User avatar
Chitra
Master Developer
Master Developer
 
Posts: 213
Joined: Mon Mar 01, 2010 7:59 am
Location: Bangalore

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 20 guests