Page 1 of 1

External browser wont open

Posted: Thu Sep 12, 2013 9:47 pm
by Emmz

Android ver. 4.3

Trying to open Phones built in browser.

NOTE!. The tests below do not work when app is installed on Phone.
However. When using appery tester on phone it works!!

Using Apperys "link". NO browser opens. No errors either. But works in Tester

Using window.location = 'my web addy' NO browser opens. No errors either. But works in Tester

Using window.open('my web addy', '_system'); Browser OPENS!. but puts content to google search. Not the address bar .No errors either.

navigator.app.loadUrl('my web addy', { openExternal:true } ); Browser OPENS!. but puts content to google search. Not the address bar .No errors either.

No errors on logcat

So how do I open external browser?
(NOT CHILDBROWSER. Because It is a download link for app update)
And why does this work in app tested in Appery tester?

Is it a permissions thing?

Thanks


External browser wont open

Posted: Thu Sep 12, 2013 10:54 pm
by Illya Stepanov

Hi Neil - on which device you are getting this? (brand, model number)


External browser wont open

Posted: Thu Sep 12, 2013 11:13 pm
by Emmz

Nevermind. I fixed


External browser wont open

Posted: Thu Sep 12, 2013 11:30 pm
by Illya Stepanov

Can you share what was the cause - it may be helpful for someone.


External browser wont open

Posted: Fri Sep 13, 2013 3:03 pm
by Emmz

Was an internal string error.(In My Code) Web address was missing a "/" was. http:/
Odd that it worked in Appery tester thou. Perhaps Appery does some fixing of its own..