Android Compatibility Package on Android 3+

2019-08-09 01:41发布

There's something I don't get with the compatibility package. You get the APIs of Android 3+ under android 1.x-2.x. Great. But what about an app that you design to be compatible with android 1 to 4?

Let's say I want to develop an app that uses Fragments even on Android 2.x phones. Fine, I'll use the compatibility package. But what about this very app running on ICS? The app will use the compatibility package instead of the native APIs present in the ICS phone?

1条回答
forever°为你锁心
2楼-- · 2019-08-09 02:35

Yes, the app will use the compatibility package instead of the native APIs. You can test that by debugging an app using the compatibility package and running on ICS; you will see it still uses the compatibility package.

查看更多
登录 后发表回答