But, does anyone know how I could access the sms inbox from my phone's
database?
As far as I have figured out, this was better documented on pervious
version of the Android API.
I cant even find the constants of the perimssion that I have to add to
the Manifest file of my application.
Has anyone
try this method:
PendingIntent pi = PendingIntent.getActivity(this, 0,
new Intent(this, SMS.class), 0);
SmsManager sms = SmsManager.getDefault();
sms.sendTextMessage(phoneNumber, null, message, pi,
null);
it works well.
On Mar 18, 4:53 am, Seer
Thanks for your update. So you exactly have done two things:
1. Call SmsManager::sendTextMessage( )
2. Put the sent SMS to its database via ContentResolver::insert( )
Kenny
On Mar 17, 6:42 am, Seer gilligan.ch...@gmail.com wrote:
i have been trying to do the same thing and just worked it out.
Thanks for your update. So you exactly have done two things:
1. Call SmsManager::sendTextMessage( )
2. Put the sent SMS to its database via ContentResolver::insert( )
The code i gave you only adds a record to the phones sms database to
say an sms has been sent and it will be visible to the
Did you ever try to open SMS database to insert the sent SMS record?
You should use message provider to insert a database record.
But I am not sure how to let SMS inbox UI notified. Need to study.
Kenny
On Mar 13, 5:09 pm, senthil senthil...@gmail.com wrote:
HI,
Iam sending the sms by using
5 matches
Mail list logo