Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camcorder error #69

Open
asadullahibnrob opened this issue Jan 12, 2012 · 3 comments
Open

Camcorder error #69

asadullahibnrob opened this issue Jan 12, 2012 · 3 comments

Comments

@asadullahibnrob
Copy link

On a fresh repo sync (meaning deleted the system folder and all else) the camcorder does not work correctly. The camcorder will show a preview until you push the record button and then will force close or give you the option to force close or wait. When you try to go back into it the error cannot connect to device flashes on the screen.

I found something similar and will try to fix. I did repo sync three times as well as retry to build all with the same error

here's some logcat
a.VideoCamera (server)' ~ Consumer closed input channel or an error occurred. events=0x8
E/InputDispatcher( 181): channel '40765e70 com.android.camera/com.android.camera.VideoCamera (server)' ~ Channel is unrecoverably broken and will be disposed!
I/WindowManager( 181): WINDOW DIED Window{40765e70 com.android.camera/com.android.camera.VideoCamera paused=false}
I/ActivityManager( 181): Process com.android.camera (pid 684) has died.
D/dalvikvm( 181): GC_EXPLICIT freed 318K, 45% free 4635K/8327K, external 238K/521K, paused 135ms
I/ActivityManager( 181): Starting: Intent { act=com.android.launcher.action.launcheraction flg=0x10000000 cmp=com.android.launcher/.CustomShirtcutActivity bnds=[128,428][192,480](has extras) } from pid 403
D/dalvikvm( 403): GC_EXTERNAL_ALLOC freed 505K, 47% free 3463K/6471K, external 3092K/3132K, paused 75ms
W/InputManagerService( 181): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40720590
I/ActivityManager( 181): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.VideoCamera } from pid 403
I/ActivityManager( 181): Start proc com.android.camera for activity com.android.camera/.VideoCamera: pid=714 uid=10013 gids={1006, 1015}
I/WindowManager( 181): Setting rotation to 1, animFlags=1
I/ActivityManager( 181): Config changed: { scale=1.0 imsi=311/490 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=2 layout=18 uiMode=17 seq=14 themeResource=null}
I/PowerWidget( 353): Clearing any old widget stuffs
I/PowerWidget( 353): Setting up widget
I/PowerWidget( 353): Default buttons being loaded
I/PowerWidget( 353): Button list: toggleWifi|toggleBluetooth|toggleGPS|toggleSound
I/PowerWidget( 353): Setting up button: toggleWifi
I/PowerWidget( 353): Setting up button: toggleBluetooth
I/PowerWidget( 353): Setting up button: toggleGPS
I/PowerWidget( 353): Setting up button: toggleSound
E/MediaProfiles( 714): The given camcorder profile camera 0 quality 2 is not found
E/MediaProfiles( 714): The given camcorder profile camera 0 quality 2 is not found
E/MediaProfiles( 714): The given camcorder profile camera 0 quality 2 is not found
E/MediaProfiles( 714): The given camcorder profile camera 0 quality 2 is not found
E/MediaProfiles( 714): The given camcorder profile camera 0 quality 2 is not found
E/MediaProfiles( 714): The given camcorder profile camera 0 quality 2 is not found
E/MediaProfiles( 714): The given camcorder profile camera 0 quality 2 is not found
E/MediaProfiles( 714): The given camcorder profile camera 0 quality 2 is not found
E/MediaProfiles( 714): The given camcorder profile camera 0 quality 2 is not found
E/MediaProfiles( 714): The given camcorder profile camera 0 quality 2 is not found
E/MediaProfiles( 714): The given camcorder profile camera 0 quality 2 is not found
V/videocamera( 714): startPreview
V/CameraHolder( 714): open camera 0
W/CameraService( 117): CameraService::connect X (pid 714) rejected (existing client).
E/CameraHolder( 714): fail to connect Camera
E/CameraHolder( 714): java.lang.RuntimeException: Fail to connect to camera service

@asadullahibnrob
Copy link
Author

I found a fix what you've got to do is to use an older camera .apk yep that's not a solution I'll run a git diff. I hope that I'm not missing something and am gonna feel stupid later on. Not working

@tvall43
Copy link

tvall43 commented Mar 9, 2012

any solutions to this yet besides copying the camera.apk from somewhere else? im having the same issue

@thekraven
Copy link
Collaborator

yes, use bobzhome's camera gingerbread branch. Or do this, jsut the Camerasettings.java and videcamera.java . thekraven/android_packages_apps_Camera@7a6afd1

It's mentioned in the building IHO thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants