leduycuong86 / openbmap

Automatically exported from code.google.com/p/openbmap
Other
0 stars 0 forks source link

Support logging automation (e.g. Llama) #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to have your software start automaticaly when I start my driving or go 
out of my house.
Currently I use NFC tag program 
(https://play.google.com/store/apps/details?id=com.jwsoft.nfcactionlauncher) 
but I know other not NFC-binded software available.

Currently it's possible to start program in batch with other, but manual action 
required to start scanning. I'd like to have a way to run program then start 
new scan (or continue last scan). 

there available kind of "action" in that batch taskers. Please, add some 
callback action to make autostart in background mode possible - without a human 
interaction at all.

Original issue reported on code.google.com by shtripok on 5 Nov 2013 at 9:42

GoogleCodeExporter commented 9 years ago
Thanks for reporting. 

There was a similar issue raised at 
http://sourceforge.net/p/myposition/discussion/785485/thread/d9e5cfb9/#97e5 

Would a intent as discussed in the above message and the follow ups also do the 
job for your request? If you've got additional documentation, how the NFC tags 
work, input's very welcome :-)

Original comment by wish7code on 7 Nov 2013 at 9:06

GoogleCodeExporter commented 9 years ago
I made screenshots with adding action interface from 2 different programs - and 
action list of "maps" google app opened
https://plus.google.com/u/0/photos/107577682873204172704/albums/5943719256853216
161

NFC doesn't matter, action that other app can pull to start logging - does.
Application "llhama" have simolar function named "intent" and can perform it on 
time, or on location change (traced by celllular towers, can be used for "swich 
scanning on when leaving cell tower of your home).

Sorry, I can't tell you more precisely - I am not a Android developer.

Other idea - maybe, a way to create shortcuts to make one-click start scan and 
stop-and upload - will be usefuk too

Original comment by shtripok on 8 Nov 2013 at 3:30

GoogleCodeExporter commented 9 years ago
Check out the updated nightly build:

https://googledrive.com/host/0B97gHr4MqjHpM2h0QVR5SWJOcGs/

It comes with an exposed intent. Calling 'org.openbmap.activity.HostActivity' 
from Llhama, (NFC) Trigger and the like app start immediate tracking with a new 
session. 

I tested it with 
https://play.google.com/store/apps/details?id=com.jwsoft.nfcactionlauncher

Could you confirm, whether it works for you?

Original comment by wish7code on 8 Nov 2013 at 2:47

GoogleCodeExporter commented 9 years ago
yes, yes, yes!
It works, and does exactly what I want!

Now same callout for stop scanning and close - and all be fully automated!
Scanner will start when I leave my home or work - and stop and upload when
I go to my home or work.

Original comment by shtripok on 9 Nov 2013 at 3:42

GoogleCodeExporter commented 9 years ago
Start, stop and upload command will follow in the next release.

Still fighting with some stupid bugs..

Original comment by wish7code on 9 Nov 2013 at 9:56

GoogleCodeExporter commented 9 years ago
Seems now it can start more that one similar scanning session. Is it ok? 

Original comment by shtripok on 9 Nov 2013 at 10:37

GoogleCodeExporter commented 9 years ago
Now I am sure: new scan starts on every new invocation  via shortcut, and also 
on choosing program from notification area.
Then I have 3-4-5 scan sessions working simultaneously, and really they not 
works.

Original comment by shtripok on 11 Nov 2013 at 12:06

GoogleCodeExporter commented 9 years ago
Closing old bugs.. Should be fixed in latest version..

Original comment by wish7code on 5 Feb 2015 at 10:44