Using Android 2.3 Front Camera SDK with an Android 2.1 app -


I am developing an Android application that uses the camera and will be running Android versions 2.1 above.

I would like to give an option to switch the camera for devices using Android 2.3.

How can I use Android 2.3 SDK without crashing on previous versions?

Thank you.

You have to separate the 2.3 front camera code in one square and another square for Pre-3.2 Will one-camera support?

See an example of how to support old and new APIs in one app. [Edit: The desired minimum SDK has been changed from referencing the level 2.1, which is referenced in the title) You must target 2.3 SDK while specifying a minSDK of 2.1 SID.

Comments