-5

I'm a complete newbie in creating an app for Android.

What I need could be very simple if someone could help me out.

I want to create an *.apk file which can be downloaded from the market by the user and installs a shortcut to a single URL (mobile web).

I've heard about Intent() or such a like. But I don't know where to start, which programs to use and how to compile this small app which on click opens the default browser on android and opens the specified URL.

Just looking for the basic settings like, icon for the app, install app, create icon on home screen, connect to the URL.

Many thanks for any help or tutorials.

Omar Abdirahman
  • 681
  • 8
  • 23

1 Answers1

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

See this link.

Community
  • 1
  • 1
Srikanth R
  • 410
  • 5
  • 16