yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] M66B:
I have just made available beta version 0.2

Download:

https://github.com/M66B/BackPackTrackII/releases/tag/0.2

Besides small improvements and minor bug fixes, this version will use passive location updates when the bearing changes by more than 30 degrees or the altitude changes more than 20 meters (both configurable). This means that if you have other software running which turns on the GPS, like mapping software, BackPackTrack II will take a free ride on the location updates.

Please let me hear what you think of BackPackTrack II, also if you don't have questions or remarks, so I can get an idea about how useful it is to publish future updates.
[Android Apps and Games] M66B:
I have just made available

beta

version 0.3, which will be available in the Play store too after Google has approved the application.
[Android Apps and Games] M66B:
I have just released

beta

version 0.11 to the Play store.

This version fixes some small bugs, improves some minor things and adds a few new features, like optionally filtering some activity types.

It can take a few hours before Google makes this version available.
[Android Apps and Games] M66B:
I have just released

beta

version 0.14 to the Play store.

This version adds registering/viewing recognized activities and a new flat notification icon.

It can take a few hours before Google makes this version available.
[Android Apps and Games] an0n981:
Just installed. Everything works properly (Maybe). 3 comments:

1. There is no option to exit the app. Or am I missing something?

2. Shouldn't the notification also show the last location instead of "unknown"? See attached screenshot.

3. (OT) The Github repo has option to create issues.
[Android Apps and Games] M66B:
Thanks for your feedback!

The application is meant to run continuously, so there is no exit/quit option. The closest is to disabled tracking using the appropriate check box.

"Unknown" refers to your current activity (still, on foot, in vehicle, etc), not your current location (this will not work without Play services).

The GitHub issues are deliberately disabled, so I have to look for issues here only. I don't expect a high volume of issues, like with XPrivacy.
[Android Apps and Games] an0n981:
2 more things:

1. The babkpack man looks cool. He should also become the app icon in my opinion.

2. It would be a nice feature to be able to clear the DB after a gpx export.
[Android Apps and Games] M66B:
Did you already see the new accumulated daily activity duration view?

I think it is a good idea to make the 'old' view a details view of the new view.
[Android Apps and Games] mva1985:
Oh yeah I saw that and it's definitely cool.

I'm sure whatever you decide to do will be nice.
[Android Apps and Games] ghostENVY:
Thx for the app I was looking for a decent step counter. Google fit was a big battery drain and S Health I swear counts fake steps. This looks promising.
[Android Apps and Games] M66B:
You are very welcome to use BackPackTrack II.

My requirements of a step counter were to use the hardware step counter and not to count false steps and as far as I know there is no application which has both features. BackPackTrack II starts counting steps only after detecting you are on foot to make sure no false steps are counted.

There is no support for a software step counter for devices which do not have a hardware step counter, though. It will be difficult to add this and I really don't want to. A software step counter does use more battery power, mostly too much, and it will be difficult to find a reliable algorithm and there will always be the problem of tuning the algorithm for different devices (with different sensor hardware).
[Android Apps and Games] M66B:
I have just made available

beta

version 0.49

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/0.49

This version will be available in the Play store after Google has approved it.
[Android Apps and Games] an0n981:
A thought I just had: the location history altitude graph always starts at 0, making it hard to actually notice the high differences. It would be much more useful if the low/high points would adjust based on the actual altitdues
[Android Apps and Games] M66B:
The idea was to show absolute altitude, but I will give it a thought.
[Android Apps and Games] mva1985:
Okay now I found that little sub menu for activity history. Awesome! I like it a lot.
[Android Apps and Games] an0n981:
[MENTION=2799345]M66B[/MENTION] I'm not sure how hard this would be implement, but have you considered adding an option to encrypt the database, since it contains very sensitive data?
[Android Apps and Games] M66B:
The database is stored in a folder which is only accessible to the application itself.

So, the data is safe, except of course for applications with root permissions.

If you want to encrypt things, the best solution is to encrypt your device entirely.

It would be a nice Xposed module to encrypt arbitrary files of arbitrary applications (which is not on my to do list).
[Android Apps and Games] M66B:
I have just released

beta

version 0.50

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/0.50

This release will be available in the Play store after Google has approved it.
[Android Apps and Games] an0n981:
Can eu.faircode.backpacktrack2.GET_ALTITUDE intent be edited to only fetch altitudes that weren't previously already corrected? Otherwise it isn't on much use IMO since the intent would have to edited every time. I assume a new column would have to be added to the location table since I can't find an identifier for this, or am missing something?
[Android Apps and Games] M66B:
Why not send the intent once daily?

The intent without parameters will fetch altitude information for locations acquired yesterday.
[Android Apps and Games] an0n981:
That part I did not know. Perfect
[Android Apps and Games] M66B:
I have just released

test

version 0.51

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/0.51

This release will be available in the Play store after Google has approved it.

The main change is using PreferenceFragment instead of PreferenceActivity to be more future proof. This is not a minor change, so this why this release is labelled as test. Besides that, I am considering BackPackTrack finished and stable, so if no bugs are reported coming week, I am planning to release the first stable version.
[Android Apps and Games] an0n981:
Donation for BPT2/FineGeotag sent via Bank Transfer. No XPrivacy key needed.
[Android Apps and Games] M66B:
Navigating to the main view by tapping on the status bar notification doesn't work in the latest test version.

This will be fixed in the next release.
[Android Apps and Games] M66B:
I have just released

test

version 0.52

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/0.52

This release will be available in the Play store after Google has approved it.

The stable version is delayed a little bit, because I have added a new feature: time based activity log (when were you doing what?). Press the day items in the activity history to show the log (after installing this release you need to wait a little bit for something to show up). The detailed activity list reachable from the list icon will be available in debug mode only now.
[Android Apps and Games] an0n981:
Is there any downside to leaving BPT2 debug mode on?
[Android Apps and Games] M66B:
If you don't find the toasts annoying: no.
[Android Apps and Games] an0n981:
I actually find it useful. Could it be expanded to include whether the trackpoint was acquired via network or gps?
[Android Apps and Games] mva1985:
I wondered why I started seeing those again [emoji1]
[Android Apps and Games] M66B:
The location provider will be shown in the next release.

https://github.com/M66B/BackPackTrackII/commit/d25cbb60e4b21402ac908b8497ab12cab7bbb192
[Android Apps and Games] mva1985:
I'm curious as to how quickly the activity recognition would change from like driving to walking?

I do a lot of quick drives and the walk and so forth.
[Android Apps and Games] M66B:
This depends on the settings 'Activity recognition moving', but be aware that faster recognition will consume more battery power.
[Android Apps and Games] mva1985:
Thanks. I wasn't sure if it was limited by the hardware or Google recognition.
[Android Apps and Games] M66B:
I have just released

beta

version 0.53

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/0.53

This release will be available in the Play store after Google has approved it.
[Android Apps and Games] an0n981:
I assume the gps and network providers indicate that they are available to the app since deselecting them below doesn't change the yes to no. May the text should say 'Gps provider available'?
[Android Apps and Games] M66B:
Yes, '... available' would be better.

Can you change this for the German texts as well?

https://github.com/M66B/BackPackTrackII/commit/d2aa6b2084249c8289d2be8833d321ab740532ad
[Android Apps and Games] mva1985:
I'm not sure what my problem is. But it seems that on my phone as if the "filter false steps" option acts as an on/off switch to counting steps.

I know that's not much to go on but any thoughts would be appreciated.
[Android Apps and Games] an0n981:
Is your activity being properly recognized?
[Android Apps and Games] mva1985:
I noticed this morning that the activity confidence was throwing up low percentages.

So I lowered that value down from 50% to 20%.

I believe one of the ideas behind this app is to eliminate all those false steps counted by other apps.
[Android Apps and Games] M66B:
Activity recognition needs a little time to work correct in my experience, so it is probably not very suitable for fast changing or short activities. Maybe you can overcome this with some tuning as you already did. Activity recognition depends on the sensors in your device and the number and quality of the sensors vary per device type, so maybe it works different on different devices. On my Nexus 5 it is pretty accurate, but not perfect.
[Android Apps and Games] mva1985:
When on foot is recognized I believe this app is very accurate!

I've watched the widget update on on every 5th step. I guess my problem is when transitioning from driving to walking - the change I make most often.
[Android Apps and Games] M66B:
Activity recognition and step counting are two different things. Step counting starts when the activity on foot/walking/running has been recognized and continues as long as this is the case. This is the difference from all/most other step counting applications.
[Android Apps and Games] M66B:
I have just released

beta

version 0.54

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/0.54

This release will be available in the Play store after Google has approved it.

[MENTION=1456824]mva1985[/MENTION] maybe the new option to count steps for unknown recognized activities will improve step counting for you. This new option is by default enabled.
[Android Apps and Games] mva1985:
So for the past two days I've been running several.pedometer/ tracking apps including BPT2.

Tonight when my battery reached 50% I took this screenshot.

Moves is a pedometer/tracking app that apparently uses a lot of battery.

BPT2 didn't even make the top 10 [emoji4]
[Android Apps and Games] M66B:
The difference is caused by using the accelerometer to count steps versus using the hardware step counter. Using the accelerometer does consume a lot more battery, mostly unacceptable much. Using the accelerometer has also the problem that the software needs to be tuned to correctly count steps and that the precision depends on the quality of the accelerometer and the quality of the filtering algorithm being used. For this reason BPT2 uses the hardware step counter, but unfortunately only a select number of devices has one.
[Android Apps and Games] M66B:
I have just released

beta

version 0.55

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/0.55

This release will be available in the Play store after Google has approved it.

Using the significant motion detector (for devices having one) to start locating is working, but there is no mechanism to stop locating, which is the reason this new feature is experimental. This more or less applies to detecting displacement using passive location updates as well, but in my experience activity recognition will detect motion soon thereafter.
[Android Apps and Games] M66B:
I have just released

beta

version 0.56

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/0.56
[Android Apps and Games] M66B:
I have just released

stable

version 1.0

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/1.0
[Android Apps and Games] an0n981:
Bug report: If tracking is disabled in the settings, the main notification still reappears at 00:00
[Android Apps and Games] M66B:
Disabling tracking should remove the notification. Can you please post a screenshot of the status bar notification, so I might determine where it was coming from?
[Android Apps and Games] an0n981:
It does remove it, but it reappears at midnight. Screenshot attached.

Edit: wait one, I will change the time and reproduce and post proper screenshot
[Android Apps and Games] an0n981:
Proper screenshot
[Android Apps and Games] an0n981:
While we're at it another 'bug' I noticed, if location provider in the app is set to network only and to 'battery saving' in android, the app still waits 30 seconds (as if it were waiting for GPS) before saving the acquired value

---------- Post added at 04:42 PM ---------- Previous post was at 04:37 PM ----------

Also a real bug, with the above settings the acquired locations aren't actually saved to the database at all unless the trackpoint is triggered manually
[Android Apps and Games] M66B:
I will fix this with the next release.
[Android Apps and Games] M66B:
Can you please capture a logcat for this situation?

adb logcat | grep BPT2
[Android Apps and Games] an0n981:
Log sent, I did notice that it did just capture 2 locations in the database after an hr of not saving anything
[Android Apps and Games] M66B:
I will probably look at it tomorrow. It is normal that is being waited for a better network location. I have seen acquiring a better network location while waiting a minute for the time-out often. Also, acquiring a network location is not demanding much from the battery. If you want network locations be accepted sooner, you need to disable the prefer altitude setting and reduce the required location accuracy.
[Android Apps and Games] an0n981:
After a second look, I don't think this a bug at all but the app working properly and filtering inaccurate/nearby locations.
[Android Apps and Games] mva1985:
What would you recommend for location accuracy based on network only?
[Android Apps and Games] M66B:
Wi-Fi locations: 50 meters

GSM locations: 1500 meter

In my experience getting a Wi-Fi location while moving only works now and then.

GSM locations are notorious inaccurate, even in urban areas.

You need to agree to the Google terms and conditions (allow collecting locations) to get Wi-Fi locations.

After agreeing it can take up to several hours before you see Wi-Fi locations being acquired (I don't know why exactly).
[Android Apps and Games] M66B:
I have just released

stable

version 1.1

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/1.1

This version will be available in the Play store after Google's approval.
[Android Apps and Games] mva1985:
I really like the colored icons in the activity history.

kinda wondered if the 12:00am was really necessary in the walk history?
[Android Apps and Games] M66B:
Yes, it is, and actually a bug report from you made me include it and if there was enough room, I would display the time in the activity history as well. Imagine hopping from one time zone to another time zone, for example by a transatlantic flight. In this case you will get two entries for the same day with a different time to differentiate walking on different continents (I still have to test this, but it is a kind of expensive test case ;) )
[Android Apps and Games] an0n981:
2 things:

Can you point me to a reference for the location type as seen here:

Timeout best location=XXX type=3

I noticed that the log indicates BPT2 believes that I have 5 fixes/visible satellites although GPS is deactivated both in-app and in Android:

Check satellites fixed/visible=5/5 required=1
[Android Apps and Games] M66B:
See here for the definition of the location types:

https://github.com/M66B/BackPackTra...code/backpacktrack2/LocationService.java#L116

This will be fixed in the next release:

https://github.com/M66B/BackPackTrackII/commit/fc0601afc52a46a6de2ab3c64b4dc67772ca7edb
[Android Apps and Games] M66B:
I have just released

stable

version 1.2

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/1.2

This version will be available in the Play store after Google's approval.
[Android Apps and Games] M66B:
I have just released

beta

version 1.3

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/1.3

This version will not be available in the Play store.
[Android Apps and Games] an0n981:
Love the new feature.

One thing that does kind of 'bother' me. There are multiple screens, like edit waypoints for example, where the only option to close the screen is a cancel button, which doesn't however cancel anything. It is actually a 'close' button.
[Android Apps and Games] M66B:
I have been in doubt of adding this, since it is Google stuff, but nobody is forced to use it and it can indeed be quite useful.

It seemed best to me to remove the cancel buttons altogether, since it will make available some additional screen space as well.

Hopefully everybody understands how to use the back button.

https://github.com/M66B/BackPackTrackII/commit/d8d3dee3d7ad3dbce70e80567b8eb39227199b94

Edit: I have added a new build to the existing 1.3 beta release

https://github.com/M66B/BackPackTrackII/releases/tag/1.3
[Android Apps and Games] an0n981:
Would it be possible to add the location accuracy here in order to decide if the value should be accepted or if tracking should contiue?
[Android Apps and Games] M66B:
Try beta version 1.3-2.

https://github.com/M66B/BackPackTrackII/releases/tag/1.3
[Android Apps and Games] an0n981:
Works :)
[Android Apps and Games] M66B:
I have just released

stable

version 1.4

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/1.4

This version will be available in the Play store after Google's approval.

This version is the same as beta version 1.3-2.
[Android Apps and Games] an0n981:
Would this work to capture all passive location (except inaccurate ones)?

Edit: the answer is yes
[Android Apps and Games] mva1985:
i've walked almost 12,000 steps today but the only thing that is recorded under activity history is the fact that I was still. Just wondering if I'm doing something wrong?
[Android Apps and Games] an0n981:
Could you share a screenshot of your activity recognition settings? Maybe there is something 'wrong' there
[Android Apps and Games] an0n981:
The only thing that sticks out is that recognition is set to 180 seconds when still. Do you maybe do short walks (less than 3 minutes) before becoming 'inactive' again. Other than that I think a log filtered to 'bpt2' would be needed. You could use Catlog for this. Note that a log would include your actual location so be sure to mask that (for example with 'xxx').
[Android Apps and Games] mva1985:
you may be onto something there. there are plenty of times at work I'm going from driving to walking and back again pretty quickly.

I'll change that and see what happens. Thanks.
[Android Apps and Games] an0n981:
[MENTION=2799345]M66B[/MENTION] quick OT question: do you by chance known a command to trigger a gps xtra data refresh?
[Android Apps and Games] M66B:
I am sorry, but no.
[Android Apps and Games] M66B:
[MENTION=1456824]mva1985[/MENTION] do you have a device with a barometric pressure sensor?
[Android Apps and Games] mva1985:
I'm sorry I don't.
[Android Apps and Games] M66B:
Too bad. Determining altitude using atmospheric pressure works very good for me. This feature will be available in the next beta version.
[Android Apps and Games] mva1985:
okay Im embarrassed. I've had my Note 4 since December. After your last comment I did some searching and tested with a couple of different apps and I guess I do have a pressure sensor.
[Android Apps and Games] M66B:
Then you can test/enjoy altitude calculated from atmospheric pressure in the next version, which is surprisingly accurate. The reference pressure will be fetched automatically based on the last known location.
[Android Apps and Games] mva1985:
I'm looking forward to it.
[Android Apps and Games] M66B:
I have rewritten most of the code now and added registration of weather information (which is needed to calculate altitude from pressure anyway). Tomorrow I will implement viewing weather information (both graph and table for temperature, humidity, pressure and wind speed/direction) and probably release a test version.

[MENTION=5367731]an0n981[/MENTION] although your device has no pressure sensor, collecting and displaying weather data will work

Edit: weather data will be fetched from http://openweathermap.org
[Android Apps and Games] an0n981:
[MENTION=2799345]M66B[/MENTION] let me know when your ready for me to translate
[Android Apps and Games] M66B:
I will as soon as the texts are stable and complete.
[Android Apps and Games] an0n981:
Does this mean that my device as a pressure sensor that I didn't know about?
[Android Apps and Games] M66B:
I have just made available

test

release 1.5.

Changelog/download:

https://github.com/M66B/BackPackTrackII/releases/tag/1.5

This is a quite a big update and is therefore a test release.

This version will not be available in the Play store.

Weather information is fetched from OpenWeatherMap. Unlike many weather application, weather data is not fetched by (nearby) city, but by nearby location, which means the weather reports will be more relevant, which is important to accurately calculate the altitude from the current atmospheric pressure (this feature is only available if your device has a pressure sensor).

You probably want to calibrate the measured pressure using a known altitude, although my pressure sensor was pretty accurate out of the box (I applied a small correction of -1.8 hPa). Note that most weather stations report pressure in hPa without fractions, so you might need to check your calibration a few times, since your pressure sensor will probably report a few fractional digits.

The altitude will be calculated from the current atmospheric pressure if the reference pressure is not too old and not too far away (both configurable).

Please let me know if there are any questions/suggestion about this new features and associated settings.
[Android Apps and Games] M66B:
Probably :)

Which device are you using (I forgot) ?
[Android Apps and Games] an0n981:
Galaxy Note 2 N7100, according to GSMArena I have a barometer sensor.
[Android Apps and Games] M66B:
GSMarena is almost always correct and the best resource to find phone specifications.

http://www.gsmarena.com/samsung_galaxy_note_ii_n7100-4854.php
[Android Apps and Games] M66B:
[MENTION=5367731]an0n981[/MENTION] you can make a trackpoints to check the altitude calculated from the atmospheric pressure, but first make sure you have a weather report and a reference pressure (check the logcat for details).
[Android Apps and Games] M66B:
I have added an option to determine the altitude for the last known location to easy calibration in test version 1.5-1.
[Android Apps and Games] an0n981:
Do understand correct that we should adjust the pressure calibration until we receive the same value that last location actually has?