Yeah I figured it out. I mis read and misunderstood the <uses-feature> I
have everything working the way it should be. I still don't understand why I
wasn't getting the INSTALL_FAILED_MISSING_FEATURE error before the addition
of the maps library tag but o well if it's not broken don't fix it.

 

I would like to thank all of you for your time and help and sorry for the
what turned out to be a dumb question on my part. Im sure if I would have
taken the time to re-read the docs I probably would have figured out the
<Uses-Feature> thing a little faster!

 

Have a great day everyone and happy programming.

 

From: [email protected]
[mailto:[email protected]] On Behalf Of TreKing
Sent: Wednesday, August 04, 2010 8:48 AM
To: [email protected]
Subject: Re: [android-developers] INSTALL_FAILED_MISSING_FEATURE Question

 

On Tue, Aug 3, 2010 at 9:15 PM, Tommy <[email protected]> wrote:

So this is STRANGE.... Well I use the camera and I have the
<uses-feature android:name="android.hardware.camera.flash" />. Now the HTC
aria has no flash but my droid does. Whenever i place the code for the maps
lib it causes the error BUT if i remove <uses-feature
android:name="android.hardware.camera.flash" /> and keep the maps lib
refrence there IT WORKS haha.....

 

If you're saying taking out the maps references makes it work, yes that
strange.

If you're saying that leaving the maps reference but taking out the uses
feature reference makes it work ... tat's not strange ... that's expected.

 

If your app requires a feature the phone does not have, you can't expect it
to install.

 

Next question is. How do I allow cameras that have a flash to use
<uses-feature android:name="android.hardware.camera.flash" /> and phones
without a flash not to use <uses-feature
android:name="android.hardware.camera.flash" />

 

I've never used this, but it took two seconds to check the docs and find
this:

http://developer.android.com/guide/topics/manifest/uses-feature-element.html
#required

 

----------------------------------------------------------------------------
---------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking>  - Chicago
transit tracking app for Android-powered devices

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

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