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

New Forums: Nexus 6 | Nexus Player | Nexus 9
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

Advertisements
alex belex is offline  
Reply With Quote
sponsored links
Reply

Buy the Motorola Heron
Sign up for instant notification when the Motorola Heron goes on sale!
Motorola Heron

It appears that AT&T's reserved enthusiasm for Android will come to an end as the company prepares to fully back the open source operating system with its first ever Android Phone - the Motorola Heron. Also known by the codename "Mot... 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 06:53 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.