File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
JavaRanch » Java Forums » Mobile » Android
Bookmark "Update phone number" Watch "Update phone number" New topic
Author

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Update phone number
 
Similar Threads
Creating Database and Tables
Contact API in 1.6 in 2.2
problem comparing 2 arraylist values in android
Loader class instaed of startManagingCursor
Inserting contacts