• Post Reply Bookmark Topic Watch Topic
  • New Topic

SMS Notifier example working differently in device

 
Rudreshwar Venkatesan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I was trying out a simple SMS notifier to get an understanding of BroadcastReceiver. The following code, works fine while running in emulator.




Whereas, while running in device, It runs as a loop and runs "n" number of times where "n" is the number of SMS messages in the inbox.

Is it a known problem?

or

Am I doing something wrong?

Thanks in Advance!!
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!