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

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

commented: Good job! +16

hey is this to display a webpage??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.