Re: [android-developers] Tabbed Menu with Gallery-like Menu in one of the tab

2012-08-18 Thread Jeff Huang
the example given in the display-bitmaps seems to be broken. having a runtime exception. On Tuesday, August 14, 2012 3:30:24 PM UTC+8, Alexandros wrote: The problem is that you are doing network operations on the UI thread. Most probable your application is not targeting the latest android

Re: [android-developers] Tabbed Menu with Gallery-like Menu in one of the tab

2012-08-18 Thread Jeff Huang
the example given in the tutorial seems to be broken. 08-18 09:55:14.808: E/AndroidRuntime(742): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.bitmapfun/com.example.android.bitmapfun.ui.ImageGridActivity}: java.lang.NullPointerException On Tuesday,

Re: [android-developers] Tabbed Menu with Gallery-like Menu in one of the tab

2012-08-14 Thread Alexandros
The problem is that you are doing network operations on the UI thread. Most probable your application is not targeting the latest android version, if you did android would have given you an error for this. You have to load the images from a thread and once they are downloaded you will add them

Re: [android-developers] Tabbed Menu with Gallery-like Menu in one of the tab

2012-08-13 Thread Jeff Huang
the problem should be coming from. public void setViewImage(ImageView v, String value) { super.setViewImage(v, value); try { v.setImageBitmap(BitmapFactory.decodeStream(new URL(value).openConnection().getInputStream())); } catch (Exception e) {

Re: [android-developers] Tabbed Menu with Gallery-like Menu in one of the tab

2012-08-07 Thread Justin Anderson
No one is going to download your code and look at it. Figure out the relevant parts and paste them here and then you have a better chance of getting someone to help. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Aug 6, 2012 at 9:23 AM, Jeff