aspose file tools*
The moose likes Android and the fly likes Update phone number Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Update phone number" Watch "Update phone number" New topic

Update phone number

Monica Marcus
Ranch Hand

Joined: Oct 17, 2012
Posts: 43
I want to write a method to change the phone number of a certain contact, identified by name. Here's the method:

As you see I tried several variants, but I always get zero rows updated and the phone number is not changed. Any idea how to get it done? Many thanks in advance for help.
I agree. Here's the link:
subject: Update phone number
Similar Threads
Inserting contacts
Loader class instaed of startManagingCursor
Creating Database and Tables
problem comparing 2 arraylist values in android
Contact API in 1.6 in 2.2