In my preference file I go this
This isn't the right way to start an intent from xml. The android:action
field isn't for the name of the activity you are trying to start; it describes an action for an intent-filter (such as android.intent.action.VIEW
or android.intent.action.EDIT
) that another activity can supply.
See this answer for the correct use of
Make sure that in your AndroidManifest.xml, your activity contains an android.intent.action.VIEW
).