2010/07/21 13:41 "Amit" <amitmishr...@gmail.com>: > HI All, > > No Solution so far? > > > On Jul 20, 12:07 pm, Amit <amitmishr...@gmail.com> wrote: >> Hi All, >> >> I am invoking the default SMS activity by using the following code- >> >> intent = new Intent(Intent.ACTION_VIEW, Uri.parse("sms:")); >> intent.putExtra("sms_body", "SMSText"); >> startActivityForResult(intent, 11); //Here 11 is my request code >> >> The SMS activity gets opened in emulator (5554), i type the number >> 5556 (device number of my second emulator) and click on "Send" >> >> The SMS is received in second emulator(5556) successfully. I click >> back on 5554 (my SMS generating emulator )and come back to my >> application. I notice that the onActivityResult method is getting >> called successfully as desired. >> >> When i check for the result code i get it as RESULT_CANCELED ( 0 ) >> instead of RESULT_OK (-1). The data is also coming as null. >> >> Please help me on this asap. >> >> Thanks in advance. >> >> Amit > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
-- 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