Protecting Implicit Intents with Runtime Checks (Android Development Patterns Ep 1)



Protecting Implicit Intents with Runtime Checks (Android Development Patterns Ep 1)

Protecting Implicit Intents with Runtime Checks (Android Development Patterns Ep 1)

Implicit intents (http://developer.android.com/guide/components/intents-filters.html#ExampleSend) could cause an ActivityNotFoundException if there’s no activity to handle the Intent you’ve created, whether it is from the user uninstalling or disabling the other apps, restricted profiles, or device administrator policies. Make sure you protect your implicit intents with a simple runtime check.

#intents #lifecycle

Subscribe to the Android Developers channel at http://goo.gl/GEh1ds