Thursday, December 27, 2012

[android-developers] Re: Camera app bombs, using Android Docs examples.



As far as it bombing, the application comes up on android then gives message "the application has stopped working" and exits."  under debug it comes up but is not operable.

I have this warning in eclipse problems window, everything else it lists is about unused import types.
Description    Resource    Path    Location    Type
Custom view com/tcs/video/CameraPreview is missing constructor used by tools: (Context) or (Context,AttributeSet) or (Context,AttributeSet,int)    CameraPreview.java    /VideoComponent/src/com/tcs/video    line 1    Android Lint Problem


this is stack, from debug. Seems odd it would list VideoComponent 2 times at start. Not sure if thats normal.  

VideoComponent [Android Application]   
VideoComponent [Android Application]   
    DalvikVM[localhost:8600]   
        Thread [<1> main] (Suspended (exception RuntimeException))   
            <VM does not provide monitor information>   
            ActivityThread.performLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 1880   
            ActivityThread.handleLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 1981   
            ActivityThread.access$600(ActivityThread, ActivityThread$ActivityClientRecord, Intent) line: 123   
            ActivityThread$H.handleMessage(Message) line: 1147   
            ActivityThread$H(Handler).dispatchMessage(Message) line: 99   
            Looper.loop() line: 137   
            ActivityThread.main(String[]) line: 4424   
            Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]   
            Method.invoke(Object, Object...) line: 511   
            ZygoteInit$MethodAndArgsCaller.run() line: 812   
            ZygoteInit.main(String[]) line: 579   
            NativeStart.main(String[]) line: not available [native method]   
        Thread [<10> Binder Thread #2] (Running)   
        Thread [<9> Binder Thread #1] (Running)   
        Daemon Thread [<8> FinalizerWatchdogDaemon] (Running)   
        Daemon Thread [<7> FinalizerDaemon] (Running)   
        Daemon Thread [<6> ReferenceQueueDaemon] (Running)   

thanks again.

--
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