android - How to make an exe in mobile that will open my website in mobile browser? -


first of web developer , don't know mobile apps, don't have better words explain problem here want.

  • i have mobile friendly website , want 1 shortcut(this supposed downloaded) on peoples mobile open website in browser. know there different platforms , need make 1 each android fine. advice needed.

if want open default browser website can achieved using intent:

intent = new intent(intent.action_view); i.setdata(uri.parse("http://example.com")); startactivity(i); 

but might better encase website in webview better use application being deployed device.

http://developer.android.com/guide/webapps/webview.html


Comments

Popular posts from this blog

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -