Hide address bar in browser.

Put your problem here if it does not fit any of the other categories.

Hide address bar in browser.

Postby sidaphextwin » Thu Oct 29, 2009 9:40 pm

Hello, I open a webpage with this code:

public void onCreate(Bundle icicle) {

super.onCreate(icicle);
// ToDo add your GUI initialization code here
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);

Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"));

startActivity(myIntent);

finish();

}

The app. put the browser in fullscreen and the address bar hide but while the web is loading the bar is visible.

How I hide this?

Thanks!
sidaphextwin
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Oct 29, 2009 9:34 pm

Top

Postby Oleg » Mon Nov 02, 2009 10:17 am

Hi.
What if you will create your own WebView activity for showing web pages.
If you interested in it you can refer to
http://groups.google.com/group/android- ... wc=1&pli=1

I think you can't hide it in this way.
Oleg
Experienced Developer
Experienced Developer
 
Posts: 57
Joined: Wed Nov 28, 2007 1:49 pm
Location: Ukraine

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 18 guests