[uses-permission android:name="android.permission.READ_PHONE_STATE"/]
and the receiver:
[receiver android:name=".PhoneIntentReceiver"
android:enabled="true"
android:exported="true"]
[intent-filter]
[action android:name="android.intent.action.PHONE_STATE" /]
[/intent-filter]
android:enabled="true"
android:exported="true"]
[intent-filter]
[action android:name="android.intent.action.PHONE_STATE" /]
[/intent-filter]
[/receiver]
Is this a 4.0.3 bug?
3 comments:
I don't have experience with this particular intent, but on ICS you won't receive broadcasts until your app is started manually at least once.
nfl
Thanks, nfl, that was the reason. It seems for me that autostarting services is now pretty much impossible.
Is it because that ICS are not stable yet in some devices.
Post a Comment