by pavanch » Fri Mar 07, 2008 7:44 pm
hello
I am running on the new emulator/sdk. Everything works from the code you pasted above with the
changes suggested in the comments section. But it still doesnt show me the distance in my display.
It says, 'distance not set'. I think i know the reason partly..as in the new emulator and GUI it doesnt give
me an option to add notes directly for a contact or more clearly there is no field called 'Notes' for
a contact.
To add something like a 'Notes' field, i need to add a new label and name it to 'Notes'.
So there is not direct URI/(constant like People.NAME etc) from which i can extract the geo string from a contact.
Have you played around with the new emulator and tried out this app?.
Like i said, i am only guessing..so if there is something i missed here, do let me know.
Thanks
Pavan
- Attachments
-

- New GUI for adding a contact on new emulator. I didnt find a notes field here
- default new contact layout.JPG (36.26 KiB) Viewed 6473 times
-

- This is where i created a custom label called 'Notes' and added the geo string
- label for adding an address.JPG (34.35 KiB) Viewed 6473 times