Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for higher Android versions (esp. Contacts retrieval) #5

Closed
GoogleCodeExporter opened this issue May 24, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Currently the usage of APIs is limited to 1.6 APIs. 

Determine the platform version at runtime (maybe using Build.VERSION.SDK_INT 
and the numbers from Build.VERSION_CODES) and instantiate the (now split-up) 
class which uses the correct API.

See also 
http://devtcg.blogspot.com/2009/12/gracefully-supporting-multiple-android.html

Especially rework the retrieval method for PhoneContacts to use the new 
ContactsContract interface if available.


Links:
http://developer.android.com/resources/samples/ContactManager/index.html
http://developer.android.com/guide/topics/providers/content-providers.html

Original issue reported on code.google.com by Kosi2...@gmail.com on 27 Aug 2010 at 5:06

@GoogleCodeExporter
Copy link
Author

Added support for Android 2.0+.

Original comment by Kosi2...@gmail.com on 15 Oct 2010 at 7:45

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant