General :: Can't Connect To Camera After App Crash Without Reboot

Dec 12, 2013

I am running a CM11 nightly of KitKat 4.4.1 on a VZW Note II, however I have had this issue with other devices, carriers, Android versions, etc. so I have always assumed it is just the way Android works.

Basically if an app that is currently using the camera (Camera app, barcode scanner, etc) crashes or hangs and gets force-closed, opening any camera app after that seems to always give me either a "can't connect to camera" error or a black screen instead of the viewfinder. In these cases, a simple reboot fixes the issue and I can use the camera again, but this is inconvenient for two reasons:

1. A reboot on my phone takes 45-60 seconds, by which time whatever I wanted a picture of is usually gone or changed.

2. Rebooting means that any apps that don't save the data constantly but run in the background are restarted and I lose the progress. Mainly I am referring to Chrome incognito tabs, but also apps that don't save in-progress data such as puzzle games or video players.

With my limited knowledge of Linux and my slightly less limited knowledge of operating systems in general, I know that sometimes a temporary lock file is Created to prevent other apps/programs from modifying or accessing a file or program until the lock is released. Does that kind of situation apply here, such as a camera lock file being created when camera access is started and then not able to be released if the app crashes.? Also, if that does apply, would manually deleting the lock file or creating a script that does it for me when it is run allow access to the camera again without rebooting? And if that doesn't apply, is there any way to regain camera access without rebooting when this occurs?

General :: Can't connect to camera after app crash without reboot


General :: Android 4.0.3 HTC ONE V - Hard Reboot / Crash During Calling?

Jun 5, 2012

When calling, roughly 3 out of 10 calls my phone just spontaneously reboots. It does no matter if I get called or if I am calling. It usually happens straight after a connection is established but in rare cases it also happens during the call. It had this since the beginning when I even did not install 1 app yet.

Other then the calling issue the phone is working flawlessly. I am running the stock Android 4.0.3 HTC ONE V (which I recently rooted, but the problem exists already before the rooting)

Below are the logs for one such crash

System log during call and crash reboot (at around 17:33):

Code:
06-01 02:59:14.756 W/webview ( 9435): at java.lang.Thread.run(Thread.java:864)
06-01 02:59:16.738 W/ResourceType( 6913): getEntry failing because entryIndex 280 is beyond type entryCount 164
[code]......

View 3 Replies View Related

General :: MHL HDMI Reboot On Connect?

Feb 24, 2013

my phone freezing right after plugging in the MHL Cable.

View 1 Replies View Related

Android :: App Causing Crash/reboot Cycle

May 20, 2010

So I have 2 reports now of my app causing a crash/reboot cycle the user can't always break from. I cannot reproduce this on my phone, and I am wondering what might be causing something like this? Would running out of memory or something cause this? Because I can't reproduce it, I can't look at the logs or anything.

Has anyone experiences anything similar? For reference, my app runs a foreground service which utilizes the AlarmManager. It starts automatically on boot_completed (which is probably why the cycle happens). One of the users who reported this, said it only happened when they plugged their phone into a PC.

View 3 Replies View Related

General :: Prestigio PAP4040 - Camera Crash In Night Mode

Dec 27, 2013

Im using Prestigio PAP4040 with stock android 4.0.4. on it and among other bugs i discovered one pretty nasty. Phone reboots while taking picture using night mode, without LED fash turned on. I dont know why is that so, but i tried everything to see is it the camera app, android system or just phone. So, how to diagnose where the fault is or to solve?

View 3 Replies View Related

Android :: Retrieve Logcat Before Crash (reboot) On Real Device

Jul 29, 2010

I am developing an application and during my testing on a real device I have found that it will crash and cause the phone to reboot (worrying I know)Is there any way I retrieve the logcat from before the phone rebooted as the logcat seems to reset when the phone boots up.

View 2 Replies View Related

General :: Cannot Connect To Camera

Feb 26, 2014

I don't know how to reconnect my camera to my tablet. I get an error message saying "Cannot Connect to Camera". I have a 10.1 tablet by Hannspree model #SN1AT7 (HSG1279) otherwise known as HANNSpad. i don't know what happened. I installed an update and it just didn't work after that.

View 1 Replies View Related

General :: Can't Connect To Camera

Feb 9, 2013

I am the proud owner of a SGS3...But I'm not the biggest fan of touchwiz and I love everything about 4.2! So like many others, I flash a 4.2 custom ROM. AOKP 4.2 build 2, to be exact.After flashing, I loved it. Everything about it was just perfect. It was fast, light, easy to use, and FAST! But then I go to take a picture. And boom.

"Can't Connect to Camera"..I had no idea what to do, so I did the first thing that comes to mind. reboot. But sadly, this solved nothing. So of course I re-flash my touchwiz ROM to see if the ROM was the problem. And the Touchwiz camera worked perfectly. Later on when I had time, I tested it out again, and had the same problem. So I downloaded a camera app, and same thing. I even flashed a different Camera.zip for God's sake! I've searched for the past week for fixes and every one I tried just failed! So now I'm really done with Touchwiz and want to customize the look and feel of my phone (which is one of the reasons I like AOKP!)

It seems that my camera only works on Touchwiz ROMs! I also tried another ROM this time running 4.1.2 thinking maybe it was just a bug in 4.2! But sadly, the same error message.

I was flashing a 4.2 camera .zip file and i guess it was messing up the permissions. So I disabled it. Now it is working perfectly so far. Yesterday i switched over to a 4.1.2 ROM hoping it would fix it and so then i flashed this 4.2 camera and then after about a day of use, it messed up the permissions.

View 9 Replies View Related

General :: Can't Connect To The Camera

Feb 1, 2013

I have been working on a build recently and everything is running very well with one exception.... I am getting an error when opening the camera. "Can't connect to the Camera". Now I have tried a multitude of things to no avail.

[URL]

View 1 Replies View Related

HTC Incredible :: Camera Crash When Take Picture?

Aug 5, 2010

when I take a picture my phone will freeze... I can snap the photo and outer will show me the preview and will freeze before the side Bar comes up... the only way to get out is to press the home button but it won't save the photo.

View 4 Replies View Related

HTC Desire :: Got Camera / Camcorder Crash

Oct 29, 2010

I have been trying to use the camcorder bit of my HTC Desire, and need to use it quite urgently. Wouldn't you know the damn thing has gone buggy just as I need to use it. It will NOT record, and it freezes the phone. Only putting it to sleep, or holding the Home key and choosing another recent app will stop it. However, it jams up the whole phone, which is evident when I check on System Panel, the CPU is constantly running at 100% Ridiculous. say I've ever seen a problem like this before, but I suppose I've not used the camcorder bit since the 2.2 update. I am at a loss at the moment as to what to do. I'll be honest and say my phone has experienced odd problems since getting that update. The extra "features" really aren't worth the bother I am now having.

View 23 Replies View Related

General :: THL W100 / Can't Connect To Camera

Oct 14, 2013

When I try to access the camera (from any app) I get a message says Cant connect to camera. I already tried different roms. once a while the camera return. I cant get what is the problem. I tried different solutions from other threads in the forum, but nothing ).I use the official rom.

View 9 Replies View Related

Android :: Crash Happened When Camera App Is Launched

Aug 31, 2010

Is there any differences between M100S and M110S? My app uses camera component. codes are as follows. So I wonder if app is crashed because of the difference between the devices or my codes are wrong.Code...

View 1 Replies View Related

General :: Star N7189 / Can't Connect To Camera

Feb 25, 2014

I just got a Star N7189 with android 4.2.1 and the first thing I did, because it was a used phone that my dad gave me, was to perform a factory reset.My dad told me the phone was fine except the camera didn't worked, so I thought the factory reset could also fix this.

After the reset everything in the phone is fine and running without any problem except the camera. In first place there isn't even a camera icon or app, the only way I can access the camera is by sliding the screen after I press the lock/unlock button, and after a second of thinking it gives me the 'can't connect to camera' error.I haven't installed any application or anything.

View 2 Replies View Related

General :: Goophone S4 Mega Running 4.2.2 - Can't Connect To Camera

Jan 21, 2014

I have a Goophone s4 mega running 4.2.2. I was using the camera and it stopped suddenly. And now when I launch the camera app it says can't connect to the camera. I've looked into it a little and I think I'm missing a folder in the system directory called cam data or cameradata. Does that sound like it could be stopping the camera?

View 4 Replies View Related

Sony Ericsson Xperia X10 :: Camera Crash / Phone Getting Restarted

Nov 20, 2010

I recently bought X1-mini, from the day 1 onwards, while opening the camera the phone was getting restarted (its happening sometimes)...Can anybody having this problem, i'm using Adroid2.1 update.

View 1 Replies View Related

General :: Can't Connect To Camera - Turn Off Flashing Lights Or Other Equipment

Jul 9, 2013

I have this error message on my Goophone Goophone V88 i5 Dual core RAM 1GB MTK6577. When I open the camera on the phone, I get the message. (Cant connect to the camera, turn off the flashing lights or other equipment).

View 2 Replies View Related

Android : Reboot Current Activity When I Connect Net?

Nov 9, 2010

I am developing an application and I am displaying images from URl using xml parsing. When Internet gets disconnected I pop up alert window.

Now I want my current activity automatically reboot, when my device connect net.

View 1 Replies View Related

Sony Ericsson Xperia X10 :: Random Reboot With Camera

May 7, 2010

I have now had my X10 for a week and am quite happy with it in the main. The only problem i seem to have, is it sometimes reboots when i try to use the camera. It first did it before i had any marketplace apps on, so i don't think its due to something i installed. It happens when i try to open the camera, and it has also happened when the shopsavvy app tried to start the camera.

View 8 Replies View Related

Android :: Crash In Com.android.camera After Calling Images.Media.insertImage

Feb 23, 2009

I'm running android sdk v1.1-r1 testing with a T-Mobile G1 device HT841GZ04082. I have a jpg on the sdcard that I want to add to the photo viewer. I do this quite simply with the test code...

View 7 Replies View Related

Motorola Droid X :: Cannot Connect To Camera

Jul 20, 2010

It was working fine yesterday. After the update his morning I now get "Oops, Cannot Connect to Camera, Please try again later.". Camcorder does not work either.

View 1 Replies View Related

Android :: Fail To Connect To Camera

Apr 1, 2010

I'm using the Android APIDemo sample code.

When I run the CameraPreview example, at first it was giving me an error.(http://stackoverflow.com/questions/2556389/android-camera-functionality-howto)

I traced that one down and the sample was working for a while.

Now, it no longer works. It says ERROR/AndroidRuntime(2949): java.lang.RuntimeException: Fail to connect to camera service

What can be causing that? It happens when camera.open() is called.

View 1 Replies View Related

Android :: Failure To Connect Camera Service

Mar 11, 2010

I'm trying to write a basic camera app. The problem that I am facing is that it works fine in emulator but on the phone (Nexus one) it fails.

The point of failure is the very first call, i.e. Camera.open(). It fails on the phone saying "Failed to connect to camera service". Any idea what could be wrong? (BTW, I am calling this from my activity's onCreate funtion itself, could that be an issue?)

For the information, I do have the necessary Camera permissions specified in my manifest xml file.

View 2 Replies View Related

Android :: Fail To Connect Camera Service On G1

Nov 16, 2009

I apologize in advance for this long post, but it's necessary to show what is happening.

I've been working on an app that works on the 1.6 emulator, but bombs on my G1.

Here is the Photographer activity:

CODE:..........

And here is where this activity gets called from:

CODE:............

Having trouble pasting the relevant portions of AndroidManifest.xml, but I have permissions for Camera:

CODE:..........

Here's the Photographer part:

CODE:..............

Also set for testing on G1:

android:debuggable="true"

and working off of 1.6:

<uses-sdk android:minSdkVersion="4" />

All this works on a 1.6 emulator, but when I run this on the G1, LogCat shows:

CODE:.............

And /data/anr/traces.txt shows:

CODE:................

It sounds like the problem is a timeout issue, but I am at a loss as to where I should be looking ....

View 6 Replies View Related

Android :: Fail To Connect Camera Service

Jul 30, 2010

I had my camera set to this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); and it works fine but if I change it to PORTRAIT instead of LANDSCAPE then it crashes with the following error...

CODE:............

The method it crashes in is..

CODE:.........

It crashes at mCamera = Camera.open();

My Manifest file has <uses-permission android:name="android.permission.CAMERA"></uses-permission>

How do I fix this so I can view my app in Portrait?

View 3 Replies View Related

Android :: Failed To Connect To Camera Serfice?

Sep 28, 2010

Why does "failed to connect to camera serfice" happen on occasions?

View 5 Replies View Related

Sprint HTC Hero :: Connect External Camera Directly - USB

Nov 15, 2009

I'm super happy with my new Hero. But I use an external compact camera to make pictures.

Is it posible to connect an external camera to the HTC hero using a USB cable (and an app)?

This would be supercool when we are on the road without a laptop.

View 4 Replies View Related

General :: Crash Sdk Manager W8 Pro X64?

Mar 17, 2013

I tried to download many times adt-bundle with sdk and eclipse but it doesn't work. I installed also jdk 1.7 and i created two environment variables: first, java.exe and the second in platfor-tools. However it doesn't work, when I try opening SDk manager it crash after a second, tried also as administrator.

View 3 Replies View Related

General :: App Crash Causes Phone Restart

Jul 22, 2013

I own a Samsung Galaxy S2 smartphone (GT-I9100) and have installed NeatROM Lite (build number: XWLSW NeatROM Lite v4.8).

I'm developing apps and each app crash (for example occured NullPointerException) causes to freeze the device and after some minutes maybe to hot reboot (NeatROM splash screen but I don't need to enter my SIM PIN again).Maybe, because sometimes it reboots by itself, but sometimes I need to hard shutdown the device (pressing and holding the power button).

I tried to debug the application, but the only information I could get was that an exception of type RuntimeException occured.When I activate the debugger for the crashing app, the phone will not restart. The crashed app will just close.

I guess that something is wrong with the "app crash" dialog from android. I've never seen this dialog on NeatROM and when it should appear, the described procedure happens.

View 1 Replies View Related

General :: Crash Log / Event Viewer App?

Feb 22, 2012

Lately i have been finding my phone has been shutting itself down (or frezzing off) for some reason.

What is causing this (except i know its not dead battery).

Any way to view an event log type thing (similar to what PC Windows has)

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved