954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Android manifest

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

somon
Newbie Poster
16 posts since Oct 2010
Reputation Points: 26
Solved Threads: 0
 

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

somon
Newbie Poster
16 posts since Oct 2010
Reputation Points: 26
Solved Threads: 0
 

hey is this to display a webpage??

sharathg.satya
Posting Whiz in Training
264 posts since Oct 2010
Reputation Points: 0
Solved Threads: 5
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: