Make the MAIN / LAUNCHER intent filter separate from the other actions /
categories for the main activity.
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
And then a separate intent filter for the search related stuff.
-- Kostya
25.04.2011 21:22, Tobiah пишет:
I built a project by hand, and now I'm trying to get it to run in
Eclipse. I finally made it work by making a new project, and
copying the source files and resources into the new project.
Now I'm at the point that the project builds and installs, but
won't launch automatically on my phone. I can launch by hand,
and see my changes. In the console I see this:
[2011-04-25 10:08:02 - ExpoSmart] No Launcher activity found!
[2011-04-25 10:08:02 - ExpoSmart] The launch will only sync the
application package on the device!
which seems to be what's happening. Every answer on google says
that I need this:
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
In the main activity, but it's there. I can launch my app
from the command line using adb.
Here is my AndroidManifest.xml
http://tobiah.org/AndroidManifest.xml
Thanks,
Tobiah
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
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