Hello, I have a device that is constantly sending NFC tags each of it has only one characte "a" as rawdata , this is not the interesting part. The problem is that I'm writing a Service that have a BroadcastReceiver that is listening for the tag_discovered intent. The idea is when the onReceive() method is called in the BR it will call some methods in the service. So I've take a looked at the source of NFCService.java and there the intent is fired with startActivity(). So I cant use broadcast receiver. Is there any special reason to be made like that, with startActivity() but not with sendBroadcast()? So in my case I'm forced to use activity to catch the intent thet in it's onCreate() it calls my broadcaste receiver via sendBroadcast() and then at the end of the onCreate() it calls finish(). This solution is very ugly one, because if I have some other application's Activity running ontop it's onPause() method is colled.... terrible...
So am I missing something about the nfc apps in android and what are your suggestions about my problem? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

