I wrote some application that take some folder that exist in my android phone and compressed the folder - and send it to some FTP server.
This application is work with no problem but this application contain GUI and to send activate it i need to press on some button on the activity.
But now, i want to write some other application and will run as service and will do the same - that mean that the service will run every 3 hours and will compressed some folder and will upload the compressed folder to the ftp.
I don't know how to do it ...
- How to create this service that will run with the phone is start
- How to upload to the FTP ? i could not upload to FTP without doing it from an Activity.
Thanks for any help.