Hi,

Using PreferenceScreen in xml format we can launch activity by
specifying Intent as shown in sample application

<intent android:action="android.intent.action.VIEW"
                    android:data="http://www.android.com"; />

This will launch Browser activity which is registered to handle http
protocol.


But I would like to launch my internal activity by explicitly
specifying it's name e.g.

<PreferenceScreen
                android:title="Internal activity"
                android:summary="This will launch internal activity
screen">
<intent android:name="com.myapp.MyInternalActivity"
                    android:data="mydata" />

</PreferenceScreen>


But this is not working. Getting exception of ActivityNotFound .

Am I missing anything ?


-- Tushar







--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to