Default Help to combine these codes

Hi, I am doing a project and I need to combine these two codes so that the project remains functional, I can not achieve.

I leave the .rar for import projects in eclipse:

The first is to send data to a mysql database, via POST request in android.
The second is a system that updates the GPS coordinates as you're moving and keeps us in two variables, called lat and lon.
What I want to do is combine these two projects to send me the data of the variables lat and lon to the mysql database.

Attached Files
File Type: rar Gps.rar - [Click for QR Code] (64.3 KB, 1 views)
File Type: zip - [Click for QR Code] (147.7 KB, 0 views)