yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] M66B:
I have just released

beta

version 1.12.

Changelog/download:

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

The release adds weather forecasting and Android Marshmallow support.
[Android Apps and Games] M66B:
1. I am attached the green backpack icon, so I like to keep it. The backpack man is indeed cool! (but only visible on Lollipop)

2. I will make a clear option later. For now you can select which time period to export.
[Android Apps and Games] M66B:
'Use recognized activity ...' should read 'Filter recognized activity ...'. I will fix this tomorrow.
[Android Apps and Games] M66B:
I have just uploaded

beta

version 0.18 to the Play store.

This version adds an option to delete data after exporting and corrects the texts mentioned in the post before.

Bug reports, feature requests, questions and remarks are welcome.

Feedback that it just works is also welcome.

Edit: If you want to translate the texts in your language, send me a translation of this file:

https://github.com/M66B/BackPackTrackII/blob/master/app/src/main/res/values/strings.xml

(or better: do a pull request; note that you need to create a new file specific for your language)
[Android Apps and Games] an0n981:
Can you specify which PlayServices Services/Receivers are needed? I cannot get it to recognize my activity
[Android Apps and Games] M66B:
I don't know exactly. Activity recognition needs sensor data, so make sure this is available to Play services:

"The activities are detected by periodically waking up the device and reading short bursts of sensor data. It only makes use of low power sensors in order to keep the power usage to a minimum."

https://developers.google.com/andro...e/android/gms/location/ActivityRecognitionApi
[Android Apps and Games] an0n981:
You sir are a genius, however Google is not. It thinks with 100% certainty that my couch is a vehicle
[Android Apps and Games] M66B:
I guess you have a quite comfortable vehicle ;)

There must be something wrong, because it works flawlessly for me.

I guess you have to lift more XPrivacy restrictions.
[Android Apps and Games] M66B:
I have just uploaded

beta

version 0.19 to the Play store.

This version adds a new trick to save the battery: check if there is at least one satellites visible after 30 seconds and turn the GPS off if there are no satellites visible (of course the time and number of satellites can be configured, because no device is the same). Acquiring a network location will continue until the timeout of default 60 seconds has been reached in this situation.
[Android Apps and Games] an0n981:
Your speed is impressive, faster than the Play Store
[Android Apps and Games] M66B:
Developing software is a second nature to me. It depends more on the ideas, like this one.
[Android Apps and Games] an0n981:
Bug: The app grabs passive locations (from FineGeotag) even if the main tracking is unchecked

Edit: It also then waits until the next time it should trigger a location, and then has a constant acquiring notification which does not end after the time out. During this constant notification (now running for over 5 minutes) it does not however access device location services.

---------- Post added at 06:23 PM ---------- Previous post was at 06:02 PM ----------

One more: The latest version does not update the last shared timestamp
[Android Apps and Games] M66B:
I will remove the special handling for FineGeotag, since it is not needed anymore, because BackPackTrack is listening for passive location updates anyway now.

I am currently searching why the last shared/uploaded time isn't updated in the UI ...
[Android Apps and Games] M66B:
[MENTION=5367731]an0n981[/MENTION] the just uploaded

beta

version 0.20 will fix both reported problems.

Waiting for the next bug reports / feature requests ;)
[Android Apps and Games] M66B:
I have just uploaded

beta

version 0.21 to the Play store.

This version adds an option to set the preferred accuracy for waypoints seperately.

Furthermore checking for visible satellites has been fixed, which was quite an adventure ('thanks' to Google).
[Android Apps and Games] peters.:
Hi Marcel, maybe a silly question, but if your application uses Play services, then the actual location is always known to Google (thanks to gsm, wifi near you). Even if using Xprivacy, in the end it's the same as enabling the location history in google account. Or are these 2 different things, and you can have "location privacy" even when using Play services to acquire current location? Btw, are you aware of this?
[Android Apps and Games] M66B:
I am aware of both things.

BackPackTrack II will work fine without Play services, but activity recognition will not be used when Play services is not available.

Locations are not acquired through Play services, the Android location manager is being used for this.

Unfortunately there are no open source libraries for user activity recognition on Android available to my knowledge.

(if you know of one, please point me to it)

Edit: activity recognition works fine offline, so if you are worried about 'sharing' your location with Google, you could firewall Play services.
[Android Apps and Games] M66B:
Since the number of fixed/visible satellites are known anyway now, I have added a progress bar to the status bar notification indicating the number of fixed satellites in

beta

version 0.22.
[Android Apps and Games] theCroh:
Thank you for this nice little app! Is the Internet access used for anything besides uploading gpx files?

Lähetetty Nexus seiska 2013:sta Tapatalkilla
[Android Apps and Games] M66B:
No, I will add this to the FAQ.
[Android Apps and Games] M66B:
The reasons for the requested Android permissions are documented on GitHub now:

https://github.com/M66B/BackPackTrackII/#android-permissions
[Android Apps and Games] mva1985:
My weather forecast option is grayed out. Is there a setting I need to change?
[Android Apps and Games] M66B:
It works only for the weather provider forecast.io (see weather settings).
[Android Apps and Games] mva1985:
thanks I made that change and it's working now.

---------- Post added at 10:32 PM ---------- Previous post was at 09:49 PM ----------

is there any chance that the temperature notification can abide by the settings in Units?
[Android Apps and Games] M66B:
Yes, of course, I simply forgot.
[Android Apps and Games] willy_666:
For which location, the forcast is shown?
[Android Apps and Games] an0n981:
For locations for which you have created a waypoint, you can select them from the dropdown at the top of the forecast info
[Android Apps and Games] M66B:
I have just released

beta

version 1.13

Changelog/download:

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

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

If you had a waypoint selected for the weather forecast location, you will need to enable using this waypoint now.

The default is not enabled and will result in using the last location for weather forecasting.
[Android Apps and Games] mva1985:
you're awesome... thanks!
[Android Apps and Games] M66B:
I have just released

stable

version 1.14

Changelog/download:

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

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

I have made a few changes for Android M (check for / request Android permissions, 'undoze' at midnight to reset the step counter).

Weather updates will stop when the device is dozing. This could be changed, but it seemed better to me to leave it like this.
[Android Apps and Games] an0n981:
After compiling with todays changes I am unable to update weather (raw weather data can be pulled via weather settings)

E/BPT2.Service(10858): java.lang.NoSuchMethodError: No virtual method setAndAllowWhileIdle(IJLandroid/app/PendingIntent;)V in class Landroid/app/AlarmManager; or its super classes (declaration of 'android.app.AlarmManager' appears in /system/framework/framework.jar)
E/BPT2.Service(10858): java.lang.NoSuchMethodError: No virtual method setAndAllowWhileIdle(IJLandroid/app/PendingIntent;)V in class Landroid/app/AlarmManager; or its super classes (declaration of 'android.app.AlarmManager' appears in /system/framework/framework.jar)
E/BPT2.Service(10858):	at eu.faircode.backpacktrack2.BackgroundService.startWeatherGuard(BackgroundService.java:1283)
E/BPT2.Service(10858):	at eu.faircode.backpacktrack2.BackgroundService.showWeatherNotification(BackgroundService.java:1813)
E/BPT2.Service(10858):	at eu.faircode.backpacktrack2.BackgroundService.handleWeatherUpdate(BackgroundService.java:877)
E/BPT2.Service(10858):	at eu.faircode.backpacktrack2.BackgroundService.onHandleIntent(BackgroundService.java:234)
E/BPT2.Service(10858):	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
E/BPT2.Service(10858):	at android.os.Handler.dispatchMessage(Handler.java:102)
E/BPT2.Service(10858):	at android.os.Looper.loop(Looper.java:135)
E/BPT2.Service(10858):	at android.os.HandlerThread.run(HandlerThread.java:61)
[Android Apps and Games] M66B:
This has been fixed now.
[Android Apps and Games] M66B:
I have just released

stable

version 1.15

Changelog/download:

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

This version will be available in the Play store after Google's approval.
[Android Apps and Games] mva1985:
I'm still getting this error pop up occasionally but also every time I press the track point or way point button in the notification tray.
[Android Apps and Games] M66B:
I will fix this tomorrow (MET).
[Android Apps and Games] mva1985:
no problem... I sent you a logcat as well.
[Android Apps and Games] an0n981:
Another small bug, it seems the small weather icon is not in sync with the actual temperature
[Android Apps and Games] M66B:
The same temperature value is being used for the text and the icon selection, so I have no explanation for this.

It looks like a bug in Android to me.

Also, I don't have this problem.
[Android Apps and Games] M66B:
I have just released

stable

version 1.16

Changelog/download:

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

This version will be available in the Play store after Google's approval.
[MENTION=1456824]mva1985[/MENTION]: this should fix your problem.
[Android Apps and Games] M66B:
I have just released

beta

version 1.17

Changelog/download:

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

This version will be available in the Play store after Google's approval.
[Android Apps and Games] sidahmido89:
thanks
[Android Apps and Games] mva1985:
Everything seems to be working very well. Even the activity recognition problem that I was having a while ago has been resolved.

Personal opinion disclaimer: I personally liked the color weather icons.

Thanks [MENTION=2799345]M66B[/MENTION]
[Android Apps and Games] M66B:
I have just released

beta

version 1.18

Changelog/download:

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

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

If you don't have a forecast.io API key set, then this version will not update weather anymore.
[Android Apps and Games] mva1985:
I was hoping this widget was coming! Other weather app is gone now.

Just a suggestion that when someone touches the widget to go to the weather forecast panel rather than the weather history panel.
[Android Apps and Games] M66B:
It is no problem to suggest features ...

Going to the weather history is more logical, since the actual weather is being shown.

If you download/install version 1.18-1, you can navigate to the forecast with one tap on the question mark.

https://github.com/M66B/BackPackTrackII/releases/tag/1.18
[Android Apps and Games] an0n981:
Can this commit be made optional? The main weather notification already contains this info. IMO there no need to make this a permanent notification.
[Android Apps and Games] M66B:
I don't see the point, since the rain notification will appear again with the next weather update.
[Android Apps and Games] M66B:
I have just released

beta

version 1.19

Changelog/download:

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

This version will be available in the Play store after Google's approval.
[Android Apps and Games] an0n981:
UI Force Close with latest commits:

08-25 22:20:01.726 E/AndroidRuntime(5926): FATAL EXCEPTION: main
08-25 22:20:01.726 E/AndroidRuntime(5926): Process: eu.faircode.backpacktrack2, PID: 5926
08-25 22:20:01.726 E/AndroidRuntime(5926): java.lang.NoSuchMethodError: No virtual method getColor(ILandroid/content/res/Resources$Theme;)I in class Landroid/content/res/Resources; or its super classes (declaration of 'android.content.res.Resources' appears in /system/framework/framework.jar)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at eu.faircode.backpacktrack2.SettingsActivity.onCreate(SettingsActivity.java:28)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at android.app.Activity.performCreate(Activity.java:5990)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2309)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2418)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at android.app.ActivityThread.access$900(ActivityThread.java:154)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at android.os.Handler.dispatchMessage(Handler.java:102)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at android.os.Looper.loop(Looper.java:135)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at android.app.ActivityThread.main(ActivityThread.java:5291)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at java.lang.reflect.Method.invoke(Native Method)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at java.lang.reflect.Method.invoke(Method.java:372)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
08-25 22:20:01.726 E/AndroidRuntime(5926):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)

Edit: I was able to run app by removing null from here. But I assume that would break getColor for M.

Edit 2: I think my pull request should fix for Lollipop without breaking on M
[Android Apps and Games] M66B:
Yes, your pull request will fix this problem, thanks!
[Android Apps and Games] an0n981:
One small feature rrquest: show the +- accuracy of the last track/waypoint
[Android Apps and Games] M66B:
Done

https://github.com/M66B/BackPackTrackII/commit/c25993da070c4868a4c1e08b460ecc76bece2421
[Android Apps and Games] southa04:
This is awesome! I have terrible luck with the fitbit app when trying to use it for running purposes. I went ahead and downloaded the app, and will be reporting back!
[Android Apps and Games] M66B:
I have just released

beta

version 1.20

Changelog/download:

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

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.21

Changelog/download:

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

This version will be available in the Play store after Google's approval.
[Android Apps and Games] an0n981:
One small change request regarding the pesistant rain notification. IMO if the probability or precipitation amount changes the notification should re-notifiy.
[Android Apps and Games] M66B:
The rain notification is updated with each weather refresh, with one exception: the notification sound does play only once (else it would be quite annoying). The rain notification will be removed if the rain probability decreases below the set value (default 50%). The sound will play again when the notification is added again.

In my case the notification contents (mainly the probability and the rain intensity) is updated as expected. This was tested quite some times the past days, since we have rainy weather here on and off.

Doesn't updating the rain notification work for you?
[Android Apps and Games] an0n981:
It works exactly as you described. I just think that if for example the probability changes from 5% to 80% the notification should sound again.
[Android Apps and Games] M66B:
How about playing the sound when the probability raises more than half of the previous value?

So, for the default threshold setting at for example 50% and 75%.
[Android Apps and Games] an0n981:
That sounds like a good idea
[Android Apps and Games] M66B:
I have just released

beta

version 1.23

Changelog/download:

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

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.24

Changelog/download:

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

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.25

Changelog/download:

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

This version will be available in the Play store after Google's approval.
[Android Apps and Games] brunino1967:
Hi,

I was a previous user of your BackpackTrack (first release), and now I just installed your version two (BackPackTrack II).

I would like to know if the Wordpress upload is automatic or not.

In your previous release it was, automatic every X seconds.

Is it now ? Where is the autoupdate switch (and time) ? I don't find it...

Thank you

Bruno
[Android Apps and Games] M66B:
I am sorry, Bruno but there is no auto GPX upload in version II.
[Android Apps and Games] brunino1967:
Noooo, this was the best feature.

During my travels, your previous app, automatically updated the gpx to my Wordpress blog, and all my friends saw where I was !!!

In real time !!!

Please consider to introduce this feature again!

Thanx
[Android Apps and Games] M66B:
I am sorry, but BackPackTrack II is not meant to be a real-time location tracker.
[Android Apps and Games] brunino1967:
Ok thank you for you answer.

Apologize me, but you descrive your app as:

"...application meant to continuously record your location..."

And for your first BackPackTrack, you wrote "During or after your journey, you can create and upload a GPX file to your WordPress weblog". I read "

during

"...

So this is not a "BackPackTrack II", but a really new program, which - I suggest you - need another name.

It's for me not understandable why a program loss some function, instead of maintain and increase them.

You remove live upload... (which is a really simple function to insert...). Perhaps in a future BackPackTrack III ?

Bruno
[Android Apps and Games] M66B:
BackPackTrack can do all described things and even more.

As said BackPackTrack is not meant to report your location in real-time (report is not the same as record).

GPX files are unsuitable for real-time location reporting, because they are too large.

If you want to report your location in real-time you are better off using a product like Glympse.
[Android Apps and Games] brunino1967:
Glymse ? ahahahah

I need a wordpress upload, not a fashion app...

GPX file §(text files) are big; I know, but ftp protocol or whatelse you use, compress them in real time. No problem, even considering the flat rate many of us have on their smartphones...

Thanks a lot

Bruno
[Android Apps and Games] an0n981:
You could automate the GPX uploading using

am startservice -a eu.faircode.backpacktrack2.UPLOAD_GPX

See here for more info.
[Android Apps and Games] M66B:
I have just setup one of my servers to send a Google Cloud Message (GCM) to update the weather every other hour. This message will be subscribed to when the option 'Weather', 'Subscribe to weather push messages' is being enabled (to be exact the topic '/topics/weather', with action 'update'). The message will be sent as a high priority GCM message and should wake-up devices running Android Marshmallow. The time-to-live of the GCM message is set to zero, so if the device isn't connected to the internet at the moment the message is being distributed, the message will get lost. This is intentional to let the weather update close to the whole hour or not at all.

For the privacy-aware people: the GCM messages are being subscribed to by topic only and BackPackTrack II doesn't not register the device to an external server (other than the Google servers).
[Android Apps and Games] M66B:
I have just released

stable

version 1.26

Changelog/download:

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

This version will be available in the Play store after Google's approval.
[Android Apps and Games] an0n981:
Privacy Feature Request: An option to force all requsts to forecast.io to always send a selectable waypoint
[Android Apps and Games] M66B:
I guess for the weather history?

The problem I have is that I don't want a second drop down to select a waypoint, because there is already one and it will also take up valuable screen space.

The weather history is meant to register the weather at your current location.

Would an option to disable weather updating temporarily do as well?
[Android Apps and Games] M66B:
[MENTION=5367731]an0n981[/MENTION]

I have added a privacy mode, which will enable/disable location and weather updates:

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

There is also an intent for automation.
[Android Apps and Games] mva1985:
So the proximity alert should just work in app? No need for tasker, right?
[Android Apps and Games] an0n981:
You still need an app like Tasker to actually do anything with the intent
[Android Apps and Games] M66B:
[MENTION=1456824]mva1985[/MENTION]

If you use Automate, which is simpler than Tasker, then you can use this flow, which just displays notifications, as a starting point.
[Android Apps and Games] M66B:
I have just released

beta

version 1.27

Changelog/download:

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

This version will be available in the Play store after Google's approval.
[Android Apps and Games] mva1985:
Feature request: Sunrise / Sunset
[Android Apps and Games] M66B:
For sun/moon rise/set you can better use a specialized application like this one:

https://play.google.com/store/apps/details?id=com.lunafaqt

I have been using this application for years, it works well and it is being maintained.
[Android Apps and Games] mva1985:
I like the refresh / forecast option in the notification drop down
[Android Apps and Games] M66B:
I have just released

beta

version 1.28

Changelog/download:

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

This version will be available in the Play store after Google's approval.
[Android Apps and Games] mva1985:
Can the step count be added to the lock screen?
[Android Apps and Games] M66B:
If you mean lock screen widgets: these are deprecated.

On Lollipop and later the ongoing notification showing also the step count is visible on the lock screen.
[Android Apps and Games] mva1985:
guess I need read up on lollipop
[Android Apps and Games] M66B:
I have just released

beta

version 1.29

Changelog/download:

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

This version will be available in the Play store after Google's approval.
[Android Apps and Games] an0n981:
I noticed a littke bug. It is currently 0° here and the weather notification is displayed as a question mark instead of the temp
[Android Apps and Games] M66B:
What is the bug, that is is 0° or that a question mark is being display? ;)

The question mark means: "what are you still doing here?" ;)

I will look into it.
[Android Apps and Games] an0n981:
Also worth noting, after a reboot the temp (still 0) was displayed properly. On a more positive note. BPT2 worked beautifully during my recent travels.