After browsing through the BusinessCard sample (http://
developer.android.com/resources/samples/BusinessCard/index.html)
source code, I am trying to implement a simple application that is
compatible with 1.5 and 2.2 devices.

The ContactAccessor pattern used in the sample is useful but I have a
problem. I would like to test my app in the emulator in eclipse. If I
set the target as 1.5 the eclipse reports errors for ContactsContract
and other 2.2 APIs. If I set the target to 2.2 (and the minSDK to 1.5)
I can only launch a 2.2 API emulator.

I am in a dead end, any ideas?

thanks in advance,
-g.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to