Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Problems with porting code from sdk m5 to 1.0

Problems with porting code from sdk m5 to 1.0

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Problems with porting code from sdk m5 to 1.0

Postby gabrielknight » Tue Dec 09, 2008 10:09 am

Goodmorning,

I have this code that compiles in m5-rc15:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2.  
  3.  
  4. Cursor c = getContentResolver().query(Contacts.Phones.CONTENT_URI, projection, "type="+Contacts.Phones.TYPE_MOBILE+" AND person="+person_id, null, null);
  5.  
  6.                                 if (c.next()){
  7.  
  8.                                         c.updateString(c.getColumnIndex(Contacts.Phones.NUMBER), mobile_s);
  9.  
  10.                                         c.commitUpdates();
  11.  
  12.                                 }
  13.  
  14.  
  15.  
  16.  
Parsed in 0.011 seconds, using GeSHi 1.0.8.4


Now I need to port it on sdk 1.0r1, but the methods updateString and commitUpdates are been removed from this last one. Can anyone suggest me a workaround?

Thanks for the help.
gabrielknight
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Dec 09, 2008 10:01 am

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 4 guests