Hi,

In my manifest file, I have the following:

    <uses-permission android:name="android.permission.CAMERA" />
    <uses-feature android:name="android.hardware.camera"/>

my app can use the camera if one exists, but is not necessary for the
app to function. My app also uses the auto-focus callback when taking
a picture, but is not required, thus it is not listed as another
hardware listing above.

If I read the docs correctly, after 1.6, we need to specify which
hardware features are necessary for our app to run, otherwise if we
leave that section blank, it's assumed that all features are required.
So I thought to only add the most basic on, hardware.camera.

Does this mean that when placed on the market, my app will not show up
for devices without a camera, as my manifest stands now?

In this post:

   
http://groups.google.com/group/android-developers/browse_thread/thread/cab6d23f354089e2/448dd7f7e4497e8?q=#0448dd7f7e4497e8

it's suggested that we can use "android:required", but I don't see a
doc reference for it yet. Is this the proper way to use it?:

  <uses-feature android:name="android.hardware.camera"
android:required="false"/>

that seems to only be available in 2.0+. By using that tag, will it
cause problems for older devices on market? Will a device running 1.5
get confused as to what "android:required" is and implode?

Thanks

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