Android API级别在API级别17中添加了少量API,如DisplayManager,Presentation等。 是否可以使用API级别16开发应用程序,该应用程序使用Presentation API实现与API级别17相同的功能?
或者我有没有办法在我的Android应用程序中使用API级别16或更低级别实现Presentation类?
谢谢, Smitha
Android API level has added few APIs like DisplayManager, Presentation etc in API level17. Is it possible to develop an app using API level 16 which achieves the same functionality as we do in API level 17 using Presentation APIs?
Or Is there any way I can implement Presentation class myself in my Android App with API level 16 or below??
Thanks, Smitha
最满意答案
从代码(ttps://github.com/android/platform_frameworks_base/blob/master/core/java/android/app/Presentation.java),我会说你可以很容易地在你的应用程序中包含演示文稿,但你'我必须删除与DisplayManager相关的功能。 (这可能有点挫败了目的)
DisplayManager可能要复杂得多,因为它依赖于其他类,其中一些是隐藏的。
From the code (ttps://github.com/android/platform_frameworks_base/blob/master/core/java/android/app/Presentation.java), i'd say you can include Presentation pretty easily in your app, but you'll have to remove the DisplayManager-related functionnalities. (which probably kind of defeats the purpose)
DisplayManager is probably much more complex to integrate, as it depends on other classes, some of which are hidden.
更多推荐
发布评论