View Single Post
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#21
Originally Posted by morti View Post
First of all, great idea and wonderful implementation so far!

A few comments/questions:
- There seems to be a problem when phone is in offline mode, it keeps trying to get a location and quickly drains the entire battery. Updating location should be disabled in offline mode
Great idea .... but I don't have a CLUE how to actually detect this from python!?

Help, anyone??!!

Originally Posted by morti View Post
- There seem to be some problems with changing the update frequency, at least when background updates are enabled. I had the frequency at 5 minutes for a time and then changed it back to 1 hour, but the updates kept coming frequently every 5 minutes for a long time afterwards
Well there is an issue that starting the app ALWAYS restars the daemon (to reload it's config) but this also resets the daemons clock, so it will post something pretty much immediately.

I will probably change this.

Somehow.


Originally Posted by morti View Post
- Would it be possible to get a command line command for changing some options, especially the update frequency? Depending on the situation (at home, at work, on the go) I like to have different update frequencies, and starting the ZapLoc is a bit too cumbersome to do every time. Furthermore, I anyway use a script for changing my "state", so adding one more command there would be very convenient
Great idea, I could add command line options to the daemon. The daemon already kills any running copies of itself when you start it (or at least is supposed to) but it always reverts to the configuration file values.

/Z

Last edited by MasterZap; 2011-05-16 at 12:50.
 

The Following User Says Thank You to MasterZap For This Useful Post: