sekayasin
sekayasin

Reputation: 139

Android App development targeting multiple version ie 1.x, 2.x.x, 3.x.x, 4.x.x

I'm new to android, i have been practicing to develop an app targeting a 2.2 version, i need help on how i can span my app to target also the other versions that is 1.x, 2.3.x, 3.x, and 4.x.x, and also some best practices when targeting screen resolutions, please help me out, thanks

Upvotes: 2

Views: 696

Answers (3)

thuongle
thuongle

Reputation: 537

You mean Android Backward Compatible feature when create new project. Google supports some libraries that you can backport the UI from version 4.x to 2.xx. You can read the guide Backward-compatible-ui Providing backwards compatibility with the android support package

Upvotes: 0

hovanessyan
hovanessyan

Reputation: 31483

For starters, you can read the development considerations for multiple platforms. Also checkout the official guide for supporting multiple screens.

Upvotes: 2

Alexander Fuchs
Alexander Fuchs

Reputation: 1358

your app is available for every device whichs taget is higher than the app target

you have to add this into the Androidmanifest to target screnn resulutions

<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>

Upvotes: 0

Related Questions