Could you please prodice the log events of crash??
i think you may be missing some permissions..

On Sep 22, 8:37 am, perumal316 <perumal...@gmail.com> wrote:
> Hi All,
>
> I have written an application to read all incoming SMS and if the SMS
> contains certain string, I will also send a copy of the message to my
> another phone for backup purposes.
>
> I used the reference from the following website:
>
> http://www.anddev.org/novice-tutorials-f8/recognize-react-on-incoming...
>
> It uses BroadcastReceiver to get the incoming SMS, but when I tried to
> send it using the following method:
>
> private void sendingSMS(String phoneNo,String message){
>
>             SmsManager sms = SmsManager.getDefault();
>             sms.sendTextMessage(phoneNo, null, message,null,null);
>
>         }
>
> It always crashes. Any idea how to resolve it? Is it because of using
> BroadcastReceiver.
>
> Thanks In Advance,
> Perumal

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to