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

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

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 - Edit application database

Edit application database

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

Edit application database

Postby abdo19 » Fri Feb 05, 2010 7:51 am

Hi all,

How can I edit an SQLite database after it has been created and stored on my phone together with the corresponding app?

I want to add a new column to the database but I can't figure out how.
Is it possible to do this in code?

I tried to just update it by adding the column, but then the app fails at compile time with the following Exception:

android.database.sqlite.SQLiteException: There is no column named type in the table Locations

(type is the name of the column )

is there any solution?

Thanks in advance
abdo19
Freshman
Freshman
 
Posts: 7
Joined: Sun Oct 25, 2009 6:14 pm

Top

ManagedQuery()

Postby androidbase » Fri Feb 05, 2010 3:32 pm

use this mehtod managedquery with corresponing args

http://developer.android.com/reference/ ... ang.String[],%20java.lang.String,%20java.lang.String[],%20java.lang.String%29

store it in a cursor and u can do what u want...... :D :D :D
androidbase
Experienced Developer
Experienced Developer
 
Posts: 50
Joined: Sat Jan 16, 2010 1:41 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 7 guests