Shows own location and locations of near friends.
Starts when you start the first time the app. You must enter your Phonenumber to register your phone on the server. When the own phone number is stored at the sim card, you must not enter the number.
In the activity Allowed Number you see all registered and existing Numbers from your Phone. Here you can enable or disable sending the position to your friend.
Starts the LocationService and NotificationService after the handy was booted.
Service which gets the own location and upload it on the FTP server.
Service which gets the location of known numbers from the FTP server and provide them for the MainActicity.java. It also creates notifications, if a friend is near.
ApplicationData saves your and all position of your friend. Also saves the Date of the last Notification from every person.
In ClanderEvents you can get the current or next Event from the Calendar or you can check if the owner of the Phone is busy or not.
Here you can check if the phone connected to the internet.
notify is a class to create a Notification on your Phone. After clicking the Notification youzZoom to the location of your friend near.
With the class Phonebook you can read all Numbers from your Phone or get the name associated with a phonenumber. And you can check whether a phonenumbers starts with +49 and correct them if necessary.
In the preferences all settings are stored. This applies the allowednumbers, the app version, the registration ID and your own number.
- Android working with Google Maps V2
- How to add Google Maps in an Android app in 34592 simple steps
- Android Services
- Background service with location listener in android
- Using LocalBroadcastManager in Service to Activity Communications
- commons-net-3.3-bin.zip
- [How to import org.apache.commons.net.ftp.FTPClient] (http://stackoverflow.com/questions/8280594/how-to-import-org-apache-commons-net-ftp-ftpclient)
- [FTP API] (http://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTPClient.html#storeFile%28java.lang.String,%20java.io.InputStream%29)