Wong does Android

loose the napkin, use Draw! instead

Error Reports

Wow,
what I also added is an error reporting feature developed by androidblogger

What I was afraid of is now properly measured and staring me in the eyes and hard to ignore:
OutOfMemory exceptions!
so far it happens a lot on the Droid
I am looking into it, my hopes are set to the garbage.collector now

Thx for sending the reports people!

an example…
New Trace collected :
=====================
Error Report collected on : Sat Dec 12 06:29:54 America/Los_Angeles 2009

Informations :
==============

Version : 1.6.6
Package : com.android.thewongandonly.QuickDraw
FilePath : /data/data/com.android.thewongandonly.QuickDraw/files
Phone ModelDroid
Android Version : 2.0.1
Board : sholes
Brand : verizon
Device : sholes
Display : ESD56
Finger Print : verizon/voles/sholes/sholes:2.0.1/ESD56/20996:user/release-keys
Host : android-test-10.mtv.corp.google.com
ID : ESD56
Model : Droid
Product : voles
Tags : test-keys
Time : 1259199777000
Type : user
User : android-build
Total Internal memory : 274464768
Available Internal memory : 210382848

Stack :
=======
java.lang.OutOfMemoryError: bitmap size exceeds VM budget
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
at com.android.thewongandonly.tools.DrawCanvas.onSizeChanged(DrawCanvas.java:149)
at android.view.View.setFrame(View.java:6898)
at android.view.View.layout(View.java:6825)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1119)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:998)
at android.widget.LinearLayout.onLayout(LinearLayout.java:918)
at android.view.View.layout(View.java:6831)
at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
at android.view.View.layout(View.java:6831)
at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
at android.view.View.layout(View.java:6831)
at android.view.ViewRoot.performTraversals(ViewRoot.java:996)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1633)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4338)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
at dalvik.system.NativeStart.main(Native Method)

Cause :
=======
**** End of current Report ***

Categories: Uncategorized