Hi,

Since the code worked on a real device and not on emulators, I just have to ask: Did you try to add any contact to the emulator before running the sample code?

/Poncho

On 02/19/2012 10:59 PM, Michael Ennovium wrote:
The Contact Manager Sample code has given me hours of frustration.
The sample code displays all the contacts in a List View and also
provides for adding new contacts.  I have no difficulty with the Add
Contact portion.  The listing of the contact gives different results
for the list on diffent platforms.

1. Using my Samsumg Infuse 2.2 phone, the sample works correctly.

2. Using an emulator configured for Level 8, no contacts are
displayed*.

3. Using an Acer Iconia tablet, no contacts are displayed*.

4. Using an emulator confgured for 3.2, no contacts are displayed*.

* In all cases where no contacts are displayed, the cursor.getCount()
returns a zero.

The same source code is used without modification on each platform.

I know it has to be "cockpit" error on my side but I am stumped.  Any
direction is graciously appreciated.

My goal is to develop for the tablet and this has become a gating
issue for me.


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to