architect

by lokesh lokesh » Sat, 07 Mar 2009 02:55:23 GMT


Sponsored Links
 *       click here to know < http://architecdetail.blogspot.com/> ;*

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. "Cannot delete that URL" exception

Hi,

I am getting the "Cannot delete that URL" exception(see below):
java.lang.UnsupportedOperationException: Cannot delete that URL:
content://contacts/phones
        at 
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:130)
        at 
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:110)
        at 
android.content.ContentProviderProxy.delete(ContentProviderNative.java:362)
        at android.content.ContentResolver.delete(ContentResolver.java:386)

Here is my code:
private void removeContact(Context context, String phone) {
        
             context.getContentResolver().delete(Contacts.Phones.CONTENT_URI,
                         Contacts.PhonesColumns.NUMBER+"=?", new String[] 
{phone});
        }

Can you please tell me what am I missing?

Thank you.

--~--~---------~--~----~------------~-------~--~----~

2. How to update Gallery

Hi:
   everybody, I want to update Galley items, like change or remove
some items, or add new items, after I update my items ArrayList, the
Gallery will not update it immediately, I must drag it out of screen,
then drag it back, the update item will displayed, I tried invalidate
() method, I want use invalidate() to redraw Gallery, but it doesn't
work, I don't know why.
   Anybody could give some suggestion?
  Thanks.
--~--~---------~--~----~------------~-------~--~----~

3. How to make the music player recognized the AAC file in cupcake?

4. Operation not permitted

5. Can we charge some externals stuffs for a paid Android Market game

6. How can i check the mode of orientation?

7. How to setup the DNS to access the external nework