1

Android app design when targeting specific version

view story
linux-howto

http://stackoverflow.com – I have an Android app that works for all versions starting from Android-8. Now, as of Android-17, there is additional API that I would like to use, however I don't wont to set target SDK to Android-17, the goal is that devices from Android-17 and newer use the additional API while the older ones will skip using the features from the new API. The obvious solution would be to use the reflection for new API, however I can not use it since I need to create a new class that extends the class from new Android-17 API and this is not possible (tried with Proxy and InvocationHandler but they work only (HowTos)