Skip to content Skip to sidebar Skip to footer

Android Compability Problem

My current project is created for API Level 4 and I use custom implementation of the interface Window.Callback there. When I'm running the project on higher API Levels I'm getting

Solution 1:

Try detecting the OS version and abstracting the classes you use through interfaces. Another question covered this here: Load class based on SDK version

This should allow you to selectively load the proper implementation based on which version of the OS the device currently running your app has loaded.


Post a Comment for "Android Compability Problem"