Before you shoot at me, i want to say that i searched and found some solutions for my problem, i tried them, but in general no one of them solve my issue. The problem is that there are a lot of "small" answers for "small" problem, and i think that i have a "huge" problem with understanding.
After this introduction, my problem is: I build a system that simulate an emergency center. The center is the dynamic web project, built in java (eclipse), received emergency messages from the application and show the new data on the screen.
What i already have: a dynamic web project, with fabricated data that i created (MySql), and an android application.
What i want to be done is the connect between all parts. I mean, i don't understand how to create the connection between the android and my web project. All i want is to send from the android a message to the MySql database and to show the new updated database.
What i already tried:
- I saved the sql tables in a file (in phpMyAdmin: export->go) and uploaded it to 000webhost.com.
- I tried to connect it from the eclipse, not in big success.
- I tried this solution: http://www.trustingeeks.com/connect-android-app-to-mysql-database/
and got stuck in part 4/5-too much errors in eclipse.
- I tried this solution: http://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/ and spent half a day with configurate the ports of xampp and wamp (didn't succeed to avoid conflict).
I saw solutions that told me to upload my database to host server, other told me that my local server (xampp) is good enough. Someone told me to upload all my project, not only the sql tables.
I'm very confused...i didn't think that it will be so difficult.
So all this atemps bring me to write this post and to ask from someone to give me an organized solution, that include all i need to solve this.
Thanks in advance!!