[android-developers] Re: Using contacts (again)
Take a look on this http://www.higherpass.com/Android/Tutorials/Working-With-Android-Contacts/1/
On Jul 13, 2:32 pm, Lieuwe <lieuwe.elger...@gmail.com> wrote:
> Is it possible to create a generic android application that uses
> contacts (though a contentResolver) that will run on all android
> versions > 1.5 ?
>
> I have backward compatibility issues where f.i. my HTC Hero which is
> upgraded to Android 2.1 is not able to use the People.CONTENT_URI even
> though this is meant to be deprecated - not unsupported!
>
> If I include the new API style ContactsContract.Contacts.CONTENT_URI
> (with or without a check on the Build.SDK_VERSION to alternatively
> load the old style URI - similar to the Businesscard example -http://developer.android.com/resources/samples/BusinessCard/index.html)
> I would still have to set up Eclipse to use the Android 2.1 libraries.
> Would this application still run on an Android 1.5 device if I keep
> the minsdkversion in the manifest at 3?
>
> I would like to avoid having to branch my application, create 2
> eclipse projects and release 2 different applications.
>
> Any advice on this?
>
> Lew
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home