Sunday, July 3, 2011

[android-developers] start binded service from broadcast receiver

hi ,

I am using AIDL , in that i am binding a service which sends messages
to the phone numbers if the sim is changed . i need to start this
service as soon as the phone switches on . but i am getting a
exception

java.lang.RuntimeException: Unable to start receiver
com.pssl.thefttracker.StartAppTheftTracker:
android.content.ReceiverCallNotAllowedException: IntentReceiver
components are not allowed to bind to services

can anyone tell me how to overcome this exception .

tell me how to make a service not available fro the user from the
running services , i mean user should not stop it from the running
services

Thanks in advance

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment