Trouble with starting an activity with long press of search key

by 濂囪抗鐨勯緳 » Mon, 11 Oct 2010 05:41:45 GMT

Sponsored Links
 There are two activities in my app,they are declared like this :

<activity android:name="Test1">
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER"/>

<activity android:name="Test2"
<action android:name="android.intent.action.SEARCH_LONG_PRESS"/>
<category android:name="android.intent.category.DEFAULT"/>

the problem is:when I was in the activity Test1 and pressed the home
key,then I took a long press of search key,activity Test2 didn't
show,and activity Test1 was taken to the foreground,but I can see
activity Test1 was started in logcat.   I was really confused , anyone
can help me


Other Threads

1. google business services on android

Are there any plans for Google to provide more business-services on
the android-platform? And if so, which ones... I can lots of potential
for Google to anchor both themselves and the android platform.



2. Europeans considering unlocking a UK G1

I can confirm the codes from will unlock a UK G1.

I've unlocked my G1 and it's now working on the UK network called 3 with 
browsing and market fully functional.


Al Sutton



3. TextView breaks when adding using a string of over 4500 characters

4. TextView breaks when adding using a string of over 4500 characters

5. about repo

6. Binary Files Bug?

7. recorder.getMimeContentType has been removed?