Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 61

Faeez A Rahman
Lost but trying
Profile
Posts: 11
Reg: Feb 22, 2013
Kuala Lumpur
3,760
03/14/13 05:52 PM (12 years ago)

How to skip Browser Option Screen?

Hi, I'm using Launch Native App with the Browser option on Android. What I like to implement is, when the user tap on the link menu then it will launch the default browser without prompting the user which browser they prefer to use. Is there a way to do this? Thanks.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/14/13 06:08 PM (12 years ago)
I think I'd leave it the way it is. I could be one of the users who doesn't like the native browser, and I installed something to give me another option. If you force me to use the native browser, I might be a bit angry. Just another view on the issue! Mark
 
Faeez A Rahman
Lost but trying
Profile
Posts: 11
Reg: Feb 22, 2013
Kuala Lumpur
3,760
like
03/14/13 06:11 PM (12 years ago)
Appreciate your view Mark, thank you. But is it possible to do this?
 
Faeez A Rahman
Lost but trying
Profile
Posts: 11
Reg: Feb 22, 2013
Kuala Lumpur
3,760
like
03/14/13 06:44 PM (12 years ago)
The reason i ask this question is because of this 1. My apps is using Launch Native Apps plugin with Browser Option 2. When I click on the menu link it will open up the Browser option either Native browser or Chrome (which I installed in my device) 3. After 2 to 3 taps back and forth from the menu link and browser , my apps will prompt error "Something's not right", seems like it have forgotten the url for that link. 4. Sometimes the apps stopped on the 1st tap. It happen on other device as well not only mine. 5. I disabled my Chrome, so that it will not prompt for the browser option and my app has to used the native browser. 6. With this, my app work perfectly with no errors I'm stuck with this issue for several days now and this is the only way I could do it. But now, I'm not sure which code should change to implement this.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/14/13 10:05 PM (12 years ago)
So, it sounds to me like there might be a bug somewhere. What I would do is hook you device up to Eclipse and try to replicate #3. When you do, there should be a trail in LogCat that would help us figure out the actual problem. We can then go from there. If you say you're hitting it on the first tap sometimes, then it seems like it's more than a default browser issue. LogCat is the first step in figuring this all out. Mark
 
Faeez A Rahman
Lost but trying
Profile
Posts: 11
Reg: Feb 22, 2013
Kuala Lumpur
3,760
like
03/14/13 10:21 PM (12 years ago)
Tried that before, no error found in the emulator and works fine. Only on some Android devices that has this problem, in this case is the Samsung GT-I9300 (SIII) running on android version 4.1.2 Anyway I managed to find the code in BT_act_controller.java somewhere at line 241 and replaced parentActivity.startActivity(Intent.createChooser(intent, bnyouth_appDelegate.getApplication().getString(R.string.openWithWhatApp))) with parentActivity.startActivity(intent); so far I don't received this error anymore. Thanks for your attention Mark. Really appreciate it.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/14/13 11:10 PM (12 years ago)
Cool. Glad you got it resolved!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.