Here is the manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
      package="com.mycompany.android.maps"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name"
        android:debuggable="true">
        <activity android:name=".TargetSelection"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter>
                <action android:name="com.mycompany.android.maps.PICK" />
                <category
android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <uses-library android:name="com.google.android.maps" />
    </application>
    <uses-sdk android:minSdkVersion="3" />
    <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION" />
</manifest>

Best regards,

Loïc

On Jun 10, 6:58 pm, "Balwinder Kaur (T-Mobile)" <balwinder.k...@t-
mobile.com> wrote:
> Could you please paste what your  AndroidManifest.xml files look
> like ?
>
> Balwinder Kaur
> Open Source Development Center
> ·T· · ·Mobile· stick together
>
> The views, opinions and statements in this email are those of the
> author solely in their individual capacity, and do not necessarily
> represent those of T-Mobile USA, Inc.
>
> On Jun 10, 8:52 am, Loïc <[email protected]> wrote:
>
> > Hi,
>
> > I have created a MapActivity that acquires a target from user
> > selection. This activity declares the following intent filter:
>
> > <intent-filter>
> >                 <action android:name="com.example.MY_ACTION" />
> >                 <category
> > android:name="android.intent.category.DEFAULT" />
> > </intent-filter>
>
> > A second activity in an other application startActivityForResult :
> > Intent intent = new Intent("com.example.MY_ACTION");
> > startActivityForResult(intent, ACTIVITY_MAP);
> > When startActivityForResult is invoked, "...
> > ActivityNotFoundException: No Activity found to handle intent
> > {action="com.example.MY_ACTION"}".
>
> > My MapActivity does not require input, but produces a latitude and a
> > longitude. This activity "apparently" works fine when launched as
> > main.
>
> > Any help would be appreciated !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to