Not able to start API demos.

by googlekid » Fri, 13 Mar 2009 01:40:56 GMT


Sponsored Links
 Hi I had to recompile my kernel for some development purpose and after
the recompile the normal .img files from the SDK would not boot up and
gave some errors .

 i have already posted them here



Other Threads

1. deleting the white color from image

i m loading an image from URL and after downloading it i have to
remove the white color of the image and then show the image (without
white image), i know some functions in like gerARGB , setARGB but i m
not able to do it , if any one has ever done or any idea please share
it with me .

regards
focode.

-- 

2. How to manual aggregate contacts?

I read in ContactsContract API that applications can manual control
contacts aggregation by adding a row to the
ContactsContract.AggregationExceptions table. I try this code:
...
ArrayList<ContentProviderOperation> ops = new
ArrayList<ContentProviderOperation>();
 
ops.add(ContentProviderOperation.newInsert(ContactsContract.AggregationExceptions.CONTENT_URI)
                    .withValue(AggregationExceptions.TYPE,
AggregationExceptions.TYPE_KEEP_TOGETHER)
                    .withValue(AggregationExceptions.RAW_CONTACT_ID1,
masterContactId)
                    .withValue(AggregationExceptions.RAW_CONTACT_ID2,
contactId).build());

getApplicationContext().getContentResolver().applyBatch(ContactsContract.AUTHORITY,
ops);
...

but this Exception was thrown:

java.lang.UnsupportedOperationException: Unknown uri:
content://com.android.contacts/aggregation_exceptions
at
com.android.providers.contacts.LegacyApiSupport.insert(LegacyApiSupport.java:
832)

Any suggestion for manual contact aggregation that works?

--

3. [[WTS]] Samsung Galaxy S i9000

4. [WTShare] How to fix download & installation unsuccessful Android Market issues

5. [WTA] Evo, Restore ke Official

6. Adding a user to a new group

7. Install Android Market di Emulator