Tuesday, January 22, 2013

[android-developers] problem samsung android.graphics.Bitmap.createScaledBitmap

Hello i create an application with camera and resize the photo 640x480.In my smartphone android sony ericsson work but no work Samsung Galaxy Tablet.I have this error

java.lang.NullPointerException
at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:432)
at power.web.camera.WebCam2$2$1.run(WebCam2.java:202)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4126)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)

How i fix it?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment