Try this code in SmsReceiver .... // Invoke MyActivityName Intent i = new Intent(context, MyActivityName.class); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(i); ....
But after start my application, I don't know how to let it process the received sms content...hic On May 2, 3:04 am, theMerchant <ali.taciro...@gmail.com> wrote: > Hello Everyone, > > I would like to know if anybody knows how I canstartmyapplication > with an incoming SMS message. > > For example, I send an SMS message from phone A to Phone B. When Phone > B receives the message, it checks if it is sent to my program. If it > is, it starts(run) myapplication. Important thing here is that my > program is not running in the device unless SMS is received, so it can > not be listening for SMS itself. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---