On Nov 2, 1:57 am, frantz lohier <[email protected]> wrote:

> When running the same code (compiled with SDK 1.6) and a target emulator at
> 2.0 level, the above code never return the entries I have populated in my
> the phone book. It's as if the phonebook was always empty.

My (hazy) understanding is that the 1.6 APIs will only show you the
contacts in the primary gmail-syncing account on the device. As the
emulator doesn't have one of those accounts, your newly-entered
contacts are in a different account (or in some kind of no-account
limbo), so they are invisible to the 1.6 APIs.

I think that on a real device with a real account the situation will
be better, though you still need to move to the 2.0 APIs to support
users who have multiple accounts.

It may be possible to use the AccountManager APIs to manufacture an
account of the right sort in the emulator, which would make it
possible to enter new contacts who would show up in the 1.6 APIs, but
I don't think there are enough clues in the published docs to tell us
how to do that.

> - When running the emulator in 2.0 mode, the default local input type is
> Japaneese. Any way to change this ?

Yes, you can fiddle with the IME settings in the Settings app, in
'Language & Keyboard'.

Richard

-- 
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