ActivityNotFoundException when trying to start another Activity from Preferences via Intent

by Dentharg » Wed, 29 Apr 2009 01:07:48 GMT


Sponsored Links
 Hi!

I've seen this example in API demos:

<PreferenceScreen android:title="@string/title_intent_preference"
android:summary="@string/summary_intent_preference">
  <intent android:action="android.intent.action.VIEW"
android:data=" http://www.android.com " />
</PreferenceScreen>

I'm trying to start another activity I made. I've added it to manifest
however each time I try to get to it from preferences screen I get
ActivityNotFoundException.

How should I define manifest or prefs xml to this activity is started?

Thanks!

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. What is the purpose of android zygote process?

Hi,

Can someone please help me understanding what is the android zygote process?
From, it appears listen commands on a socket and spawn a thread for
that? Is that true?
if yes, what are examples of those commands? Under what situation that
android zygote process will be used?

Thank you.

--~--~---------~--~----~------------~-------~--~----~

2. Market $$

How does google send you the money you make through your app?

--~--~---------~--~----~------------~-------~--~----~

3. How do i do a startActivity() in BroadcastReceiver ?

4. Null pointer exception while using setOnClickListene

5. How can I use a USB flash drive on my G1 phone directly

6. Android Com

7. How do i do a startActivity() in BroadcastReceiver ?