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
[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 - Connecting to SQL database

Connecting to SQL database

Put your problem here if it does not fit any of the other categories.

Connecting to SQL database

Postby Sportsdude11751 » Wed Jan 30, 2008 4:30 am

How can I connect to my MySQL database, and be able to query and execute commands?
Sportsdude11751
Freshman
Freshman
 
Posts: 7
Joined: Wed Jan 30, 2008 4:28 am

Top

Postby plusminus » Wed Jan 30, 2008 11:16 am

Hello sportsdude,

are you talking about SQLite-Databases (which are Android-SDK built in) :?:
:arrow: Then have a look at the Working with the SQLite-Database - Cursors-Tutorial.

If you were thinking of MySQL-Databases, the standard JDBC-Drivers could work. (not tested)

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby Sportsdude11751 » Thu Jan 31, 2008 5:54 am

Yes, I am talking about to an actual MySQL database at a remote location, not the SQL Lite. As I understand the SQL lite is only for a database on the android phone?

But I am needing something that can connect to a remote MySQL database, I've read tutorials on it but have not found a good one. I've tried to make in a regular java program I would receive and error. I tried using it on the android, but anytime I ran it I would get a class cast exception error.

Is there a good reference somewhere that I could use on a MySQL database connection?
Sportsdude11751
Freshman
Freshman
 
Posts: 7
Joined: Wed Jan 30, 2008 4:28 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 10 guests