Uri's format problem

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Uri's format problem

Postby jerry » Sat Jun 06, 2009 9:51 am

As we know,the uri's string usually begin with "content://",followed with authorities's name,like "content://com.google.provider.NotePad/Notes"
But if i want create a activity to display a web,I usually code as follows:
Uri uri = Uri.parse("http://google.com");
Intent it = new Intent(Intent.ACTION_VIEW, uri);
The problem is URI's string doesn't begin with "content://" above,so what's the different between them.
Reply will indeed help.
Thanks
jerry
Freshman
Freshman
 
Posts: 2
Joined: Fri Jun 05, 2009 11:48 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 5 guests