Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have bought my 8 year old a Nexus 7 (lucky boy!). As some of you may know Flash is not available for Jelly Bean so I had to do a bit of a hack using Dolphin browser so he can go to certain Flash powered websites (moshimonsters.com). I want the default browser to still be Chrome so I can use Funamo Parental Control to monitor his web use. Is it possible to create a shortcut/widget/bookmark to the site in question but specifying Dolphin as the browser?

Thanks in advance.

share|improve this question

migrated from stackoverflow.com Sep 1 '12 at 1:29

This question came from our site for professional and enthusiast programmers.

    
This related question might have a solution: android.stackexchange.com/questions/8674/… –  Greg Bray Aug 8 '13 at 3:19
add comment

2 Answers 2

It is doable, but you cannot do this without 3rd party application, because by default shortcuts or bookmarks (as available in the system features) do not hold such information. I am not able to name any app that would do this, as I never personally needed this, but I am certain they do exist as it is not technically complicated, as most likely you are not the only one with such needs. All it needs to be done is to create a shortcut, which would launch this 3rd party app being a "proxy" and said app would then call explicitly specified application handing your URL to it.

share|improve this answer
add comment

I am not sure about a shortcut but a simple widget should be good enough for your needs. While I have not tried this myself here is how I would start:

  1. Write a simple widget to put on the home screen. Be prepared to send in a new intent as soon as the widget is started up
  2. Open the Dolphin browser while having your device connected to ADB. Notice the intent that is being sent by the ActivityManager when starting the browser.
  3. In your app create a new Intent() and fill it up with the specific component/class name of Dolphin browser and pass in the URL of the site you want to open as data. I think the tricky part will be detecting the exact class and component name used by Dolphin browser. The rest of it should be straight forward (I think).
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.