Why Do I Constantly Get Activitynotfound Exceptions?
I'm a novice Android programmer, and to help me understand how Intents really work, I wanted to put together a small Activity which would let the user call startActivity() with any
Solution 1:
I tried many different combinations, including "android.intents.action.VIEW" and "html://www.google.com".
android.intents.action.VIEW
is not a valid activity action. You probably want to drop the s
.
html://www.google.com
is not a valid URL. You probably want to replace the html://
with http://
.
Solution 2:
Check your logs with:
adb shell logcat
But I guess you are missing the definition of your Activity
in your AndroidManifest.xml
Post a Comment for "Why Do I Constantly Get Activitynotfound Exceptions?"