iwek iwek - 4 years ago 216
Android Question

Android app that just points to a URL

If I build a website that is designed and developed for android or just the droid, is it possible to just make an app that will directly point to that url? or is that not considered an app because it will open in the droid browser etc...

Answer Source

You can't create a link in Android - you'd have to make an app that automatically opens the browser up and goes to the specified URL when opened.

Something like this in the onCreate:

Intent browserIntent = new Intent("android.intent.action.VIEW", Uri.parse("http://www.google.com"));
startActivity(browserIntent);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download