0

hi everyone
here is my method in java

public void openWebURL( String inURL ) {
        Intent browse = new Intent( Intent.ACTION_VIEW , Uri.parse( inURL ) );

        startActivity( browse );    
}
	}

and i'm just typing

openWebURL("www.google.com");

in my java file onStart section
but my app just doesn't open,
what is the problem?
maybe i have to write an action in manifest?
i'm new in android dev. so sorry if this quest. is silly

2
Contributors
2
Replies
4
Views
6 Years
Discussion Span
Last Post by sharathg.satya
1

hey i found my mistake, very silly mistake actually , i just had to write http:// in the begging of the website

Votes + Comments
Good job!
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.