Load class based on SDK version
- by Bostjan
Is there any way I can load a class based on what version of the OS the phone is running?
For example:
I made an app which requires 1.6+ Android. Is there a way for me to load one class or the other based on what OS the phone is running? I'm asking this specifically for contacts.
The database was changed from 1.6 to 2.0 and the old version doesn't…