To original poster:

I am guessing you are already using reflection to use Android 1.5 Bluetooth APIs vs. 2.0 APIs, similar to this:

http://code.google.com/p/backport-android-bluetooth

If that's the case, seems like you don't have to rely on Market to only make your app available to phones with Bluetooth.

To Jonas:

The app would have to be notified / query which permissions it was granted, and fail or downgrade gracefully. I guess that's the idea, but there are already two ways to achieve this: coarse-grained android:minSdkVersion, and fine-grained Java reflection.

-- Kostya

14.07.2010 0:17, Michael MacDonald пишет:
Seems like a work-around for that would be to have a base app that only
requests the base permissions, and have it on-demand install an optional
add-on that requests the additional permissions.  The base app calls
into the add-on to do the additional functionality.

On 07/13/10 15:17, Jonas Petersson wrote:
On 07/13/2010 09:05 PM, DonFrench wrote:
[Joe's app ]
So Bluetooth is not necessary to benefit from using your app but those
whose phones support it can reap the additional Bluetooth benefits
that you so thoughtfully added, is that it?.   Since your app is still
valuable even without Bluetooth functionality, people with pre-2.0
phones should not be prohibited from purchasing it, right?   Well, you
make a good point.
IMHO, the above case is very similar to the enhancement request I
added almost 6 months ago:

http://code.google.com/p/android/issues/detail?id=6266

Some permissions are non-critical for the application and it should be
possible to flag them as such and then let the application find out
whether it was given or not and adjust accordingly.

So far only 51 people seem to have agreed with me, so either I'm wrong
or most people have not realized why this would be significant
enhancement.

             Best / Jonas



--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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