¿No puedo usar "content://sms"?

I can not use "content://sms"? Works on all Android devices? I'm using "SmsManager" but does not add sms in the phone box output. I use the "content://sms/outbox" to save the information. How can I using the "SmsManager"? Thanks.

preguntado el 01 de julio de 12 a las 17:07

Are you trying to send an SMS? By adding it to "content://sms/outbox"? -

1 Respuestas

After you send the message you have to write the SMS to the cr.

ContentValues values = new ContentValues();
values.put("address", phone);
values.put("body", message);
getContentResolver().insert(Uri.parse("content://sms/sent"), values);

This requires the sms write permission, and has to be completed after the sms is sent.

Respondido 01 Jul 12, 18:07

I can use "content://sms/sent"? Works on all Android devices? - filipe_moraes

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.