hi,how do I get the detail info of Contacts?

by luggie » Tue, 14 Apr 2009 16:54:21 GMT


Sponsored Links
 and witch document I can find the Api?

thanks!
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. need help : insert chat address with new contact

my code gives no error but it does not save chat address
below is the code.

ContentValues chataddressValues = new ContentValues();
Uri chataddressUri = Uri.withAppendedPath(newPersonUri,
Contacts.People.ContactMethods.CONTENT_DIRECTORY);
chataddressValues.put(Contacts.ContactMethods.KIND, Contacts.KIND_IM);
chataddressValues.put( Contacts.ContactMethods.TYPE,
Contacts.ContactMethods.TYPE_OTHER);
chataddressValues.put(Contacts.ContactMethods.AUX_DATA,
Contacts.ContactMethods.encodePredefinedImProtocol(TYPE_PRECEDENCE_IM
[5])));
chataddressValues.put(Contacts.ContactMethods.DATA,"a...@gmail.com");
getContentResolver().insert(chataddressUri,chataddressValues);

with same "newPersonUri" i am able to add other data (various numbers,
name, email, organization etc) successfully.
pleaze help me.

-- 

2. Bind a list of items to a view that doesn't act like a list

I have a collection of objects that I want to display in a scroll
viewer.  I played around with a ListView and setting things like
setting focusable to false or clickable to false, etc, but it didn't
look/act like I wanted it to.  I just want scrollable text (don't
highlight each item when focused or touched, don't highlight the list
itself when focused or touched, but allow me enough "focusability" to
actually scroll the thing, etc).  I tried ALOT of attributes on the
ListView and the child items to turn off its "listiness", but none
worked as expected and always left a trace of list behavior.

The only way I have gotten this to work to my liking is to loop
through my list, construct a bunch of TextViews and add them to a
LinearLayout, but I hate the way the code looks.  I also considered
building an html string with the Html helper functions, but that's
weak from both a code standpoint and because css doesn't seem to be
supported (and I'm not going back to font tags!).

I can't seem to find a stream lined way to do this.  Is there such a
thing as defining a layout in xml and binding it to some kind of list
without creating something that acts like a list view?

-- 

3. problem of compiling Opencore to enable BUILD_STREAMING_MANAGER_NODE=y

4. Can't access to a HTTPS

5. Progress bar with threads

6. Any way to make ADT project directory layout more flexible?

7. androidx86.org is not android-x86.org