MrKim Well-Known Member Licensed User Longtime User Oct 11, 2019 #1 Again, I am updating an old App and upping the API Level. The following line from the manifest no longer starts the service UserPresent. B4X: AddReceiverText(UserPresent, <intent-filter> <action android:name="android.intent.action.USER_PRESENT" /> </intent-filter>) Any help appreciated. It worked until I actually uninstalled the app and reinstalled it.
Again, I am updating an old App and upping the API Level. The following line from the manifest no longer starts the service UserPresent. B4X: AddReceiverText(UserPresent, <intent-filter> <action android:name="android.intent.action.USER_PRESENT" /> </intent-filter>) Any help appreciated. It worked until I actually uninstalled the app and reinstalled it.
Erel B4X founder Staff member Licensed User Longtime User Oct 11, 2019 #2 You need to use a dynamic intent filter for this event. Your app will not start as a result of this intent (at least on newer devices). A dynamic intent filter for this event is available in PhoneEvents from the Phone library. Upvote 0
You need to use a dynamic intent filter for this event. Your app will not start as a result of this intent (at least on newer devices). A dynamic intent filter for this event is available in PhoneEvents from the Phone library.