Google currently require an in-built camera to pass the compatibility
tests, so devices without cameras are unlikely to get much attention
from them (see 8.9 in 
http://source.android.com/compatibility/android-2.1-cdd.pdf)

Al.

On Jul 7, 1:22 pm, Daman <damanji...@gmail.com> wrote:
> Thanks for confirming the reliability of these APIs.
> I have few related questions -
> 1. Are there plans to support pluggable USB webcams (e.g. on
> netbooks)? In such a case, would the same Android APIs work for them
> too?
> 2. Would hasSystemFeature(PackageManager.FEATURE_CAMERA) return true
> if a USB 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 <hack...@android.com> wrote:
>
>
>
> > You need to do this on a real device.
>
> > On Wed, Jun 30, 2010 at 3:45 AM, Daman <damanji...@gmail.com> wrote:
> > > I did try that, but this doesn't work.
> > > I created an emulator image with no camera support. But
> > > PackageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA) still
> > > returns true.
>
> > > On Jun 30, 5:12 am, Dianne Hackborn <hack...@android.com> wrote:
> > > > Use PackageManager.hasSystemFeature(PackageManager.FEATURE_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 <damanji...@gmail.com> wrote:
> > > > > 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-developers+unsubscr...@googlegroups.com<android-developers%2Bunsubs
> > > > >  cr...@googlegroups.com>
> > > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252Bu
> > >  nsubscr...@googlegroups.com>
>
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/android-developers?hl=en
>
> > > > --
> > > > Dianne Hackborn
> > > > Android framework engineer
> > > > hack...@android.com
>
> > > > Note: please don't send private questions to me, as I don't have time to
> > > > provide private support, and so won't reply to such e-mails.  All such
> > > > questions should be posted on public forums, where I and others can see
> > > and
> > > > answer them.
>
> > > --
> > > 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<android-developers%2Bunsubs
> > >  cr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see and
> > answer them.

-- 
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

Reply via email to