Hi,
I've created a WebView app and everything works fine.
The only remaining feature I need for the app is to hide the address bar after, because I want the app to look more like a regular app and not a webpage within a web browser window.
My code looks like this,
Any help or ideas? Thanks in advance.
I've created a WebView app and everything works fine.
The only remaining feature I need for the app is to hide the address bar after, because I want the app to look more like a regular app and not a webpage within a web browser window.
My code looks like this,
Code:
package com.mobile.app;
import android.app.Activity;
import android.os.Bundle;
import android.view.WindowManager;
import android.webkit.WebView;
public class NormalActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
final WebView wv = (WebView) findViewById(R.id.helloWebView);
wv.getSettings().setJavaScriptEnabled(true);
wv.loadUrl("http://www.google.com");
}
}
Any help or ideas? Thanks in advance.