Android目标兼容性问题?

时间:2011-09-08 06:50:48

标签: android version compatibility

如果我们使用目标Android2.1-update1开发我们的Android应用程序,我们可以在Android1.6版本设备中安装该应用程序吗?

我的目的是为我的应用程序使用Android2.1-update1目标,并且我想在所有Android设备中安装它。在运行时我想知道设备版本并且想要相应地处理代码。如何做到这一点?请帮忙。谢谢。

1 个答案:

答案 0 :(得分:0)

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

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

    和::

           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
    
相关问题