on a totally unrelated side note - you don't need to specify <uses-permission android:name="android. permission.ACCESS_COARSE_LOCATION" /> when you are already asking for fine location. If you get fine location permission, you are implicitly also getting coarse location permission.
On Friday, April 20, 2012 8:18:05 AM UTC-4, Sumedh wrote: > > hi, > > 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" > > I have given permissions like > > <uses-permission android:name="android.permission.CAMERA"/> > <uses-permission android:name="android.permission.INTERNET"/> > <uses-permission > android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> > <uses-feature android:name="android.hardware.camera"/> > <uses-feature android:name="android.hardware.camera.autofocus" /> > > <uses-permission > android:name="android.permission.ACCESS_COARSE_LOCATION" /> > <uses-permission > android:name="android.permission.ACCESS_FINE_LOCATION" /> > <uses-permission android:name="android.permission.READ_PHONE_STATE"/> > > the last 3 permissions for the other task which application performs. > > but the application wont work on 2.2 and greater versions -- 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