For example: http://www.google.com/?q=example+search . http://en.wikipedia.org/wiki/Query_string
On Fri, Mar 4, 2011 at 5:15 PM, Miguel Morales <[email protected]>wrote: > I don't get it, what do you mean it's a query? > > > On Fri, Mar 4, 2011 at 5:06 PM, Dan <[email protected]> wrote: > >> I've thought about doing that but the URL to open is a query, not a >> standard file link as shown above. >> >> On Mar 4, 5:01 pm, Miguel Morales <[email protected]> wrote: >> > Your best bet might be to implement a custom WebViewClient to catch a >> click >> > on the mp3 link. >> > Then override the load behavior and use an intent to properly launch >> > whatever you're trying to launch. >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > On Fri, Mar 4, 2011 at 4:49 PM, Dan <[email protected]> wrote: >> > > Hello All, >> > >> > > I am using a WebView to display some media in my app but I cannot seem >> > > to make my link to an mp3 file launch the music player. After I click >> > > on the mp3 link the phone appears to open the Android Browser then it >> > > closes the browser and goes back to the application. >> > >> > > The following logs appear: >> > >> > > 03-04 16:40:43.495: INFO/ActivityManager(1102): Starting activity: >> > > Intent { act=android.intent.action.VIEW >> > > cat=[android.intent.category.BROWSABLE] dat= >> http://myserver.com/mydir/ >> > > music.mp3 cmp=com.android.browser/.BrowserActivity (has extras) } >> > > 03-04 16:40:46.971: INFO/ActivityManager(1102): Starting activity: >> > > Intent { act=android.intent.action.VIEW dat= >> http://myserver.com/mydir/ >> > > music.mp3 typ=audio/mpeg cmp=com.google.android.music/ >> > > com.android.music.StreamStarter } >> > >> > > This suggests that the phone is trying to open a music application. I >> > > have tried downloading an mp3 player which can handle mp3's from the >> > > internet but was still not successful in having the music play. >> > >> > > Is there a way to launch the music player app as intended? >> > >> > > -Dan >> > >> > > -- >> > > 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 >> > >> > -- >> > ~ Jeremiah:9:23-24 >> > Android 2D MMORPG: >> http://solrpg.com/http://www.youtube.com/user/revoltingx >> >> -- >> 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 >> > > > > -- > ~ Jeremiah:9:23-24 > Android 2D MMORPG: http://solrpg.com/ > http://www.youtube.com/user/revoltingx > > -- > 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 > -- 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

