Need to add activity explicitly,
and  android:targetClass="com.my.test.Test" />, this should be
"com.my.main.Test", as i'm thinking

On Wed, Sep 15, 2010 at 10:34 AM, pnk.444 <[email protected]> wrote:

> Hi all,
>
>        I am raising intent when preferenceScreen item is clicked from
> xml file as follows.
>
>        <PreferenceScreen
>      android:title="@string/test_label"
>      android:summary="@string/test_l_summary">
>      <intent
>          android:targetPackage="com.my.test"
>          android:targetClass="com.my.test.Test" />
>     </PreferenceScreen>
>
>     Here my application package is com.my.main.
>
>     When i try to click the test_label PreferenceScreen , iam getting
> ActivityNotFoundException .
>
>     What's wrong here.
>
> Thanks.
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Thanks & Regards

Rakesh Kumar Jha
Consultant(Software Developer)
Symphony Services Corp (India) Pvt Ltd
Bangalore
(O) +918030273740
(R) +919886336619

-- 
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