Click here to Skip to main content
15,913,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,I'm working on a android application and I'm a beginner. I'm wondering how to Import Data(extracted from phone) to MySQL database in Java? Thanks (Platform: Eclipse/SQL)
Posted

1 solution

"Import data" usually means when someone wants to load a large amount of data into a database.

The problems associated with that would not be something that would not be applicable to a mobile/cell since it wouldn't be doing large amounts of data.

If you just want to insert data then you
1. Learn JDBC
2. Write JDBC to insert data
3. Test

Before doing that however you should evaluate what exposure to the internet that your target database will have, since I doubt your cell/mobile can do that without such exposure (excluding VPN setup.) Exposing a database to the internet is generally considered a very high security risk.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900