@DBPro Tool Maker: Thanks for your reply! Yes, the last part should be no problem. But the first part, integration of the JAVA functions into the existing class "public class AGKHelper" makes me a little bit worried
That's what I found/did so far:
I found following GPS example:
http://www.androidhive.info/2012/07/android-gps-location-manager-tutorial/
I included all the “imports” they where not already present in the AGKhelper.java
Like this:
//GPS import needed *********************
import android.app.Service;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.IBinder;
import android.provider.Settings;
// ************************************
....after the already existing imports.
Then I added the complete “public class GPSTracker extends Service implements LocationListener {“ – class infront of the first class definition in the AGKhelper.java. (But may be that's the wrong approach!?)
But trying to compile it so far brings up numerous error messages...