Go Back   Android Forums > Android Phones > Other Phones (Android & Non-Android)
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old November 19th, 2012, 09:49 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 8
 
Device(s): axioo vigo , Speedata MT35A
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default camera force close in app speedata MT35A

i create and I am following this tutorial

labs.makemachine.net/2010/03/simple-android-photo-capture/

the application cant work when i switched to a different device

This application works in axioo vigo

But when I try to run it on Speedata MT35A, when I take the picture, error occurs and it is force closed.

I have used permission camera in manifest and I tried clearing data/cache in this app and the camera, but still error.

this is my logcat


11-19 14:43:27.085: ERROR/AndroidRuntime(6903): FATAL EXCEPTION: main
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): java.lang.NullPointerException
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at com.android.camera.Camera.initializeFirstTime(Came ra.java:328)
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at com.android.camera.Camera.access$1100(Camera.java: 95)
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at com.android.camera.Camera$MainHandler.handleMessag e(Camera.java:282)
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at android.os.Handler.dispatchMessage(Handler.java:99 )
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at android.os.Looper.loop(Looper.java:130)
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at android.app.ActivityThread.main(ActivityThread.jav a:3683)
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at java.lang.reflect.Method.invokeNative(Native Method)
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at java.lang.reflect.Method.invoke(Method.java:507)
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:839)
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:597)
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at dalvik.system.NativeStart.main(Native Method)
11-19 14:43:27.093: WARN/ActivityManager(1308): Force finishing activity com.android.camera/.Camera
11-19 14:43:27.109: WARN/ActivityManager(1308): Force finishing activity makemachine.android.examples/.PhotoCaptureExample


How to fix this?

Thanks.


BR.


Alex

alex belex is offline  
Reply With Quote
Sponsors
Reply

Buy the HTC Scorpion
Sign up for instant notification when the HTC Scorpion goes on sale!
HTC Scorpion

Not a great deal is known about the HTC Scorpion, the mysterious handset presumed to be running on a 1.5 Ghz processor and Android 2.2. Actually, aside from those facts the only other thing that could be discerned from a build file uncovered last F... Read More



Go Back   Android Forums > Android Phones > Other Phones (Android & Non-Android)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:57 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.