I think what the OP is asking is this: I have an app, it uses nfc, but because it isn't the whole point of the app, I'd like to offer a different version of the app for <2.2, which doesn't use the nfc stuff, how do I have a version for <=2.2 which forgoes nfc, and a 2.3+ version which uses nfc.
To the OP: you can have multiple apks and app versions for different versions of Android. I haven't looked into this extensively, I only know of it, and I believe it is to solve this goal above. Refer to: http://developer.android.com/guide/market/publishing/multiple-apks.html There is a filter for device version, which seems appropriate to use in this instance. kris On Sun, Jan 8, 2012 at 11:22 PM, Michael Banzon <[email protected]> wrote: > As Mark has pointed out previously NFC is not supported on 2.2. > > On Mon, Jan 9, 2012 at 6:10 AM, ANKUR GOEL <[email protected]> wrote: >> i am making one application that supports 2.2 and have nfc which is support >> from 2.3 .. >> >> so can u suggest related to this .. >> >> >> >> On Mon, Jan 9, 2012 at 10:34 AM, Michael Banzon <[email protected]> wrote: >>> >>> On Mon, Jan 9, 2012 at 6:00 AM, ANKUR GOEL <[email protected]> wrote: >>> > Hi all, >>> > >>> > i want to identify device type while the user downloads the application >>> > from >>> > market and according o that i want to perform some action >>> >>> "while the user downloads" is not possible. When your app launches you >>> can get all the information available. >>> >>> -- >>> Michael Banzon >>> http://michaelbanzon.com/ >>> >>> -- >>> 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 > > > > -- > Michael Banzon > http://michaelbanzon.com/ > > -- > 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

