On Fri, Apr 20, 2012 at 05:18:05AM -0700, Sumedh wrote: > I have created a camera application which will capture the image and > store it on SD card as well as on external server. > This application works fine on android 2.1 version but when i try to > execute same application on gteater than 2.2 versions it wont work and > gives exception > "fail to connect camera service"
That error sounds, to me, more like you either had a Force Close prior to releasing the camra, or you simply aren't properly releasing the camera. My tablet, running 3.2.1, is forgiving about that. My Froyo phone, which I also test on periodically (though not as often, because it's a royal PITA to do much with...too slow) is not. (I can't speak for 2.1, as I've never actually seen an Android with 2.1, and I've never built an app for anything below Froyo). Make a tiny mistake that causes IT to FC, the camera is locked out until a reboot. And that is the exact error I got in logcat when that happened on mine. Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 > spooky1...@gmail.com ICBM/Hurr.: 30.44406N 86.59909W "The iPad is a status symbol for yuppies. The Android is for people who actually want something that works." Android Apps Listing at http://www.jstrack.org/barcodes.html -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en