2009/6/21 c6bro <ch...@upload.co.uk>

> Website URL field: e.g http://www.****.co.uk/logtracking.php
> Frequency field:e.g  6 (Seconds)
> Start/Stop button


Any particular reason for 6s intervals?


> The app will be able to be closed and run in the background until you
> click the stop button.


You most likely don't want to use an activity for the GPS/upload side of
things, you would make an activity that started and stopped a service.


> If the internet is down it would take a log and send them one up
> again.. ????


The easiest way I've found to do this, is you just have a ListArray of a
custom object, the object just stores the values you need, and then you can
push new values onto the end of the ListArray and pop them off as they are
accepted for upload. Also do batch uploads instead of one value at a time,
it can be very time consuming uploading one value at a time and waiing for a
response from the remote end.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to