pskink wrote:do you compile your project against level == 3 or level >= 4 ?
final build will be against level 4, in the code Level4 API is used only in the abstract way,
and this does the tricks.
pskink wrote:do you compile your project against level == 3 or level >= 4 ?

sblantipodi wrote:pskink wrote:do you compile your project against level == 3 or level >= 4 ?
final build will be against level 4, in the code Level4 API is used only in the abstract way,
and this does the tricks.

pskink wrote:so, if you build against lvl4 so how is it suppose to work on lvl3 ?
how do you make sure you are not using anything introduced in lvl4 (xml files, api etc)
even if it can work for some vendor builds, are you sure it will run on every vedor builds (they can check android version to be used for building your apk with device level to make sure that no "future" api is used)?

sblantipodi wrote:
It will work because if I use Level4 API, I use them in an abstract class.
no problem with vendor check, if it will check using Level3, APK will be Level 3 compliant...


Return to SDK/ADT/Emulator Problems
Users browsing this forum: No registered users and 27 guests