Hi

I am trying to start the ViewImage activity from my code

I am getting the error above in the log and the image appears empty

This is my code:
        String url = "content://data/app/example.jpg";

                        Uri uri = Uri.parse(url);
                        Intent i = new Intent(Intent.ACTION_VIEW, uri);
                                ComponentName comp =
                        new ComponentName("com.android.camera",
"com.android.camera.ViewImage");
                                i.setComponent(comp);



                this.startActivity(i);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to