-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background mode (wakelock?) in the app #5
Comments
Thanks, this is on our todo list, but only as a long-term goal without a specific time at which we plan to start on this task. |
Also be careful about services. |
I was about to use phyphox to collect pavement smoothness data while cycling around collecting street view imagery. I need to have a map on screen to do something like that, which unfortunately kills phyphox, so I have to do without it or find something else that can get it done. Just my 2c. |
Please, let us know if you find something. Would be encouraging to see what is actually possible in the background. |
I created a feature request to record accellerometer data in OSMAnd: it seemed a much easier task there than it is here, given the apps' architectures. We'll see what happens. |
OSMAnd is the map app in question and you asked them to log sensor data? Seems indeed like the easiest solution if they do that, but it's not the reference case I would have hoped for as their app would be in the foreground. Still, for your case a simple solution, indeed. |
Yup, just trying to be pragmatic. FWIW, there are action cameras (e.g Garmin Virb) which have location and acceleration sensors and produce GPX output with accelerometer data out of the box, so I'd imagine there's already a need for something like that (as marginal as it might be). It's a drop in the ocean in terms of the kinds of sensing phyphox supports, of course, but given that no progress on background execution was made in 3 years, it seemed reasonable to try the other way. If it's not a priority, it's not a priority: that's fine, but I'm doing what I can to find a solution to the immediate problem. |
Not sure if limited to tablets,but this android one allows two up in split screen mode, or more with freeform (but one media player can play...). |
For reference, the OsmAnd issue is still open and labeled as 'nice-to-have' with no further activity since. osmandapp/OsmAnd#12227 Background data collection in phyphox is also something I would love! |
As you bring this to my attention: The latest version of phyphox has an option to lock the screen when the proximity sensor is triggered. The nice thing about this is that this is a system feature that is usually used by phone apps, so you do not dial anything with your cheek. Therefore it should work quite reliably on almost all phones without any need for special permissions. |
Please add the optional feature of continuation of the experiment in the background mode.
When making a long-time measurement it can happen that the device is locked (or the screen turned off, or you switch to another app, whatever), and app pauses the experiment. Sometimes it is a trouble to gather the data in such a case.
// BTW, congratulations with F-Droid release, phyphox is great to appear here
The text was updated successfully, but these errors were encountered: