How to hide the URL address bar in android browser ? with or without binding java script and android code? -
i want hide url address bar of website in android application don't know how it.i have done google research didn't concept .please if can help me in this. thanks
here mainactivity code:
package com.example.androidapp; import android.app.activity; import android.content.intent; import android.net.uri; import android.os.bundle; import android.view.menu; class mainactivity extends activity { @override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_main); string url = "http://m.example.com"; intent = new intent(intent.action_view); i.setdata(uri.parse(url)); startactivity(i); ----------------- ----------------- } @override public boolean oncreateoptionsmenu(menu menu) { // inflate menu; adds items action bar if present. getmenuinflater().inflate(r.menu.main, menu); homecoming true; }
}
you need utilize webiview in application hide url address bar
see here illustration : http://www.mkyong.com/android/android-webview-example/
thanks
android url android-webview
No comments:
Post a Comment