[android-developers] Open URL in Fragment causes ActivityNotFoundException

2014-01-23 Thread Stanley Lei
Hi all, I'm working on the APP to show multiple images with Fragment which contains an ImageView control. And I also set the onClickListener for the image view to open some URL with startActivity. But unfortunately, the App crashed with ActivityNotFoundException. Below is the code and the

Re: [android-developers] Open URL in Fragment causes ActivityNotFoundException

2014-01-23 Thread Stanley Lei
(right word?) of that kind of data (an URI with no protocol declared). Marina On Thu, Jan 23, 2014 at 2:11 PM, Stanley Lei xiaofen...@gmail.comjavascript: wrote: Hi all, I'm working on the APP to show multiple images with Fragment which contains an ImageView control. And I also set