开发者

Android target compatability issues?

开发者 https://www.devze.com 2023-04-03 22:41 出处:网络
if we develop our Android application with target Android2.1-update1,can we install that application in Android1.6 version devices?

if we develop our Android application with target Android2.1-update1,can we install that application in Android1.6 version devices?

My intention is to use Android2.1-update1 target for my application,and i want to make itinstallable in all Android devices.at run time i want to know the device version and want to handle code accordingly.how to do this?please help.Thanks in开发者_C百科 Advance.


  1. with target Android2.1-update1,can we install that application in Android1.6 version devices?

ans :: No

2 i want to make it installable in all Android devices.

ans::

       1. try to impement your project in lowest version

       2. make sure that component or method you have use are already exist in
          minimum api level     e. g ::  MediaPlayer has method `setAudioSessionId()`  are not use < 9 but you can use `seekTo()` in all.

       3. set your api level lowest
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号