I have developed one application in Android version 2.3, and want to convert it into 1.5. Unfortunately I am experiencing some pro开发者_JS百科blem with that.
I am looking to use Android\'s Camera.open() method on two separate API levels. First is API level 7, which is 2.1 and higher and the second is 2.3.3 & 2.3.4 which are API level 9.
Is there any way to get the API version that the phone is currently run开发者_JAVA百科ning?As described in the Android documentation, the SDK level (integer) the phone is running is available in:
Is there a difference between using tearDown and setUp versus __init__ and __del__ when using the pyUn开发者_StackOverflow中文版it testing framework?If so, what is it exactly and what is the preferred