jerry shen wrote: > As we know,the uri's string usually begin with "content://",followed > with authorities's name,like "content://com.google.provider.NotePad/Notes"
No. URIs can have any number of schemes. content:// is one, representing a ContentProvider. > # 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. One begins with content:// and refers to a ContentProvider. One begins with http:// and refers to a Web page. This is no different than URLs in your Web browser, which can handle http://, https://, ftp://, and perhaps others. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---