[android-developers] Doubt regarding redirection of websites to mobile version and address bar of browser.
Hi
1.
I am launching the browser in a normal way with URL supplied as
parameter,
Intent ln_intent = new Intent(Intent.ACTION_VIEW);
ln_intent.setDataAndType(Uri.parse(web_url), "text/html");
startActivity(ln_intent);
here web_url is any web url.
This opens the browser with the mobile version of the
url(website) ,i.e. from the normal version it gets redirected to
mobile version.
Problem is when I press back address bar shows url of normal version
of the website but the page is blank , How can I overcome this problem.
(i.e. back should directly take me to last activity avoiding showing
the blank page)
2.
Is there any flag by which I can tell the browser to hide the address
bar ? (without using webview)
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home