Android App - Auto start & auto upload
Hi,
Until now I've been focused 100% on my Raspberry Pi WarDriving Rig http://www.pi-resource.com/?page_id=378 but it lacks the ability to collect Cell Site data.
I have therefore just purchased a Samsung Galaxy III 4G to sit along side my Pi and run the Android Wigle WiFi. The phone will live in the boot of the car, permanently plugged in, and will therefore shutdown once the battery runs out. When i start my car, the phone will be powered and turn on. Thus, my questions are:
- How can I autostart the app when the phone first powers up.
- How can I configure it to auto upload the data to Wigle (I don't want to have to click a button)
Thanks,
Dusterz.
Until now I've been focused 100% on my Raspberry Pi WarDriving Rig http://www.pi-resource.com/?page_id=378 but it lacks the ability to collect Cell Site data.
I have therefore just purchased a Samsung Galaxy III 4G to sit along side my Pi and run the Android Wigle WiFi. The phone will live in the boot of the car, permanently plugged in, and will therefore shutdown once the battery runs out. When i start my car, the phone will be powered and turn on. Thus, my questions are:
- How can I autostart the app when the phone first powers up.
- How can I configure it to auto upload the data to Wigle (I don't want to have to click a button)
Thanks,
Dusterz.
Heya Dusterz,
Thanks for your interest! I think Tasker is the common solution to the auto-start question - we have action hooks built for intents to shut down the app from events as well - see viewtopic.php?f=3&t=1717&p=9351. We haven't built out auto-upload yet, but that's one of the ultimate goals of a lot of the work we've done on the client over the last few months - watch this space!
-Cheers,
-ark and the WiGLE team
Thanks for your interest! I think Tasker is the common solution to the auto-start question - we have action hooks built for intents to shut down the app from events as well - see viewtopic.php?f=3&t=1717&p=9351. We haven't built out auto-upload yet, but that's one of the ultimate goals of a lot of the work we've done on the client over the last few months - watch this space!
-Cheers,
-ark and the WiGLE team
Auto upload as a broadcast intent will be included in the next release of the Android client (2.27).
the action name will be:
once more, just like with waze and our termination receiver you can set it up using that action name and target will be:
the action name will be:
Code: Select all
net.wigle.wigleandroid.UPLOAD
Code: Select all
BroadcastReceiver
Wow awesome thread!
I was looking for somethung like this, but something that would be nice is to have a little lcd screen showing how many networks found on a particular run, to make sure everything is logging properly
I was looking for somethung like this, but something that would be nice is to have a little lcd screen showing how many networks found on a particular run, to make sure everything is logging properly
I think the android-wear stuff can send status updates via intents, but I can't imagine any of us want buy a hackable watch!
There's a longer discussion about a stats- or even data-bus between networkable Android devices/other devices that aardvark11 was suggesting here! Participate in the discussion, help refine our ideas. Also: Pull Requests are always welcome on github!
There's a longer discussion about a stats- or even data-bus between networkable Android devices/other devices that aardvark11 was suggesting here! Participate in the discussion, help refine our ideas. Also: Pull Requests are always welcome on github!
oh, and pardon my copypasta - the intent name will be NOT like I initially posted! That would be silly, since we already use that one.
Code: Select all
UPLOAD
Code: Select all
END
Fab - Keep up the good work.
This should be released now, btw - feedback welcome!
I am trying to configure tasker to auto upload to wigle when some conditions are met but I have been receiving this error:
I think the Background execution not allowed was introduced on Android Oreo (8).
is there any other way to automate the upload to Wigle?
Code: Select all
08-21 15:35:01.640 711 750 W BroadcastQueue: Background execution not allowed: receiving Intent { act=net.wigle.wigleandroid.UPLOAD flg=0x10 } to net.wigle.wigleandroid/.listener.UploadReceiver
is there any other way to automate the upload to Wigle?
awesome - we were struggling to reproduce the issue.
mind if we we include your images in the sticky "How to do automation" topic?
viewtopic.php?f=1&t=2707&p=10297#p10297
mind if we we include your images in the sticky "How to do automation" topic?
viewtopic.php?f=1&t=2707&p=10297#p10297
Return to “Net Hugging Hardware and Software”
Who is online
Users browsing this forum: No registered users and 1 guest