






ajvan wrote:Hi everybody,
i have one question..is it possible to have some other components on the display beside canvas (for example buttons, textboxes on the top of the screen, or at the end of the screen, or even both, like text, canvas (scrollable), button?)
thanks


missme wrote:I use a 3.2M image;
It has a error;
06-09 04:11:36.230: WARN/dalvikvm(238): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
06-09 04:11:36.239: ERROR/AndroidRuntime(238): Uncaught handler: thread main exiting due to uncaught exception
06-09 04:11:36.280: ERROR/AndroidRuntime(238): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.graphics.Bitmap.nativeCreate(Native Method)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:488)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:462)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:323)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:346)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:372)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at org.image.scroller.LargeImageScroller$SampleView.<init>(LargeImageScroller.java:62)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at org.image.scroller.LargeImageScroller.onCreate(LargeImageScroller.java:38)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.os.Handler.dispatchMessage(Handler.java:99)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.os.Looper.loop(Looper.java:123)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at android.app.ActivityThread.main(ActivityThread.java:4363)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at java.lang.reflect.Method.invokeNative(Native Method)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at java.lang.reflect.Method.invoke(Method.java:521)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
06-09 04:11:36.280: ERROR/AndroidRuntime(238): at dalvik.system.NativeStart.main(Native Method)

Users browsing this forum: No registered users and 8 guests