There is a feature for that:

http://developer.android.com/reference/android/content/pm/PackageManager.html#FEATURE_CAMERA_FLASH

<http://developer.android.com/reference/android/content/pm/PackageManager.html#FEATURE_CAMERA_FLASH>Put
this in <uses-feature> in your manifest.

On Wed, Mar 10, 2010 at 9:51 PM, Prem Thilagar <[email protected]> wrote:

> Hi,
>     Is there a particular flag that we can use to prevent apps
> showing up in marketplace which require the phone to have a Camera
> Flash /LED. typical apps are ones which make the phone act like a
> torchlight in dark , i have seen a tag which prevents apps requiring
> autofocus in a camera from appearing in the marketplace.
>   Just looking to find out if there is something similar for camera
> flash.
> Prem
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to