Debug Intent Filter?

by djking » Thu, 02 Sep 2010 01:58:51 GMT

Sponsored Links
 Trying to launch my app via the Intent Filter, I've read, and re read
the guide 
but no luck.

Is there anyway to watch how the browser is doing the matching and see
why my filter fails?

I have two filters for my main activity.  The first one works.

                <action android:name="android.intent.action.MAIN" />
android:name="android.intent.category.LAUNCHER" />
                                <data android:scheme="http" 

I have a simple servlet that sets the mime type to application/
liveurl, the emulator's browser tries to download the content and then
says there is no support of the content on the phone.  I'm stuck on
what could be wrong.  Can an activity not be both a main and a
browsable?  Is the code I'm missing in the activity to respond to
being browsable that's causing this to fail?

Any help?

- Peace


Other Threads

1. building to support both contacts 1.6 and 2.0 apis

I am reasonably certain that if you compile the app for 1.6 but run on 2.0, the 
contacts code will work.  The caveat here is that you will only get the raw 
contacts from the master account, rather than the combined contacts from all 
active accounts; the older API just doesn't have the functionality needed to 
handle combined accounts.

I think the 1.x contacts code is *supposed* to work when targeting 2.0, but 
most people seem to use private contacts API (often without knowing this), and 
/that/ breaks in 2.0.  From what the Google folks have said on list, however, 
I'm fairly sure the core, public, authorized and official 1.x API still works 
even if you target 2.0, albeit with the same caveats as above.

If I'm wrong on that, no doubt one of the Google folks can correct.


2. Undur diri dulu

Dear master dan sifu ..
Mohon maaf 
Per hari ini saya undur dulu dari milis ini {*filter*}tara

Cuman no-mail.

Karena robot ijo-nya dah dipiara temen disini juga.

Dan mau keluar kota sebulan,
Jadi gak sempet ngoprek si ijo..

Thanks buat ilmunya.
Nanti join lagi someday


Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to

To request to subscribe to this group:

Click   http://www.***.com/ 
          Choice Apply for Group Membership


 Please visit the following page:

To send a message to the owner, visit the following page:

  http://www.***.com/ ;hl=en-GB    or

For more options, visit this group at

To unsubscribe from this group, send email to

Indonesian Android Community on Facebook



3. what happened to my application's statistics?

4. Weird EditText behavior in Android 2.0

5. Network File Transfer Android Apps

6. Overriding onPrepareOptionsMenu

7. getting error while importing; ..........