Should I compile my Android apps against the latest SDK? -


my app requires devices running @ least android 2.0 os. make more sense me compile project 2.0 sdk or make more sense compile project using latest sdk, if it's beyond 2.0...?

the problem compiling against 2.1 example don't know if android 2.0 device run app compiled 2.1...?

you can target later sdk version using android:targetsdkversion while still permitting app run on earlier versions (since apps filtered out based on android:minsdkversion). if use api's aren't supported, app force close. so, you'll have pay attention api level annotations in documentation functions, , test app on emulator set use minimum sdk version.

however, android developer's blog has some advice on how write applications support earlier sdk versions - @ cost of added work, of course. whether it's worth depends on whom want reach, obviously.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -