[android-developers] Android Studio help !

2017-09-08 Thread DaMan
I am using android studio for months without any problem. But recently an error occured while creating a new class.I have intelliJ too, it works fine. I searched on internet and tried everything but nothing worked. I tried reinstalling android studio but it says this IDE is running on jre

[android-developers] Re: How to detect presence of camera on an Android device.

2010-07-07 Thread Daman
camera is plugged and false otherwise (on a device which doesn’t have a build-in camera)? -Daman On Jun 30, 9:34 pm, Dianne Hackborn wrote: > You need to do this on a real device. > > > > On Wed, Jun 30, 2010 at 3:45 AM, Daman wrote: > > I did try that, but this doesn

[android-developers] PackageManager.hasSystemFeature and hasSystemFeature buggy on emulator

2010-06-30 Thread Daman
How reliable is to use PackageManager.hasSystemFeature in production code ? This seems to be buggy on emulator. I created a Virtual Device with no camera support, but calling hasSystemFeature(FEATURE_CAMERA) still returns true. -- You received this message because you are subscribed to the Google

[android-developers] Re: How to detect presence of camera on an Android device.

2010-06-30 Thread Daman
E_CAMERA). > > Of course if your app requires a camera, you should declare so in your > manifest so that devices without a camera won't see it. > > On Thu, Jun 24, 2010 at 4:53 AM, Daman wrote: > > How can I detect the presence of camera on an Android device? > > > -- &g

[android-developers] Re: How to detect presence of camera on an Android device.

2010-06-30 Thread Daman
I am afraid using using ErrorCallback wont work. You can only place the ErrorCallback on an Camera object, but you wont get a camera object until you call Camera.open(). Hope you got my point. Thanks, Daman On Jun 30, 3:47 am, Indicator Veritatis wrote: > I think the intent of the designer

[android-developers] How to detect presence of camera on an Android device.

2010-06-24 Thread Daman
How can I detect the presence of camera on an Android device? -- 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-dev