-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add more activity type icons #152
Comments
Good point! In addition, I would like to propose some sort of "public transport" icon in addition to the airplane. A train, perhaps? |
We should add more icons to identify additional track types. Unfortunately there is no way to estimate these kind of activities without internet connection and a method related to terrain analysis, thus you should add them only as manually selectable icons. Could I rename the issue with a mor generic title, in order to use this issue to collect proposals and ideas for additional activity icons? We could use it also for post graphical mockups, in order to think and discuss the implementation. |
Sounds very sensible. In the context of canoeing I was also thinking only about a manual assignment.
Sure, go on. |
Another option would be to (optionally) completely drop the guesswork and leave it up to the user. Eg. I bike to the station, take a train into town, and walk the last mile to the office. GPS-Logger's guess is that I drove all the way, door to door. I don't need no guesswork from the software here! Keep it simple and stupid. Actually, the way I use GPS-Logger is to get more accurate timeline results in Google Maps because my phone only updates the timeline once every so-many minutes. Nothing I can do about that, but GPS-Logger helps improve the resolution. (Btw, my phone is an Android 9, Motorola G6, in case anybody has suggestions how to improve my experience.) |
I'm not sure I should post here but anyway: I'd like to export the activity in the gpx file. I didn't find the dedicated tag in the gpx specifications, but dropping it as a keyword in the metadata section would work for me. It could be parsed down the road by receiving system. |
@TVEgit In effect unfortunately there is no dedicated tag for it. |
Here is an example. There is already a metadata section. It should be simple to add the keywords tag then use it for passing activity type (or other useful keywords).
Alternatively, a keywords field where users could just type in whatever keywords they wish to pass into the appropriate GPX section could be added to GPS Logger. |
In effect, basing on what is written into the GPX 1.1 Manual:
the <keywords>walking</keywords> Obviously the activity type should always be expressed in English, in order to keep the keywords homogeneous across the languages. Since we can freely choose a convention, we could copy the activity definitions from Garmin:
Both GPX standards have the GPX 1.0<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.0"
creator="BasicAirData GPS Logger 3.1.3-dev.20220205"
xmlns="http://www.topografix.com/GPX/1/0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
<name>GPS Logger 20220205-173623</name>
<desc>First small outdoor activity with Iris</desc>
<time>2022-02-06T13:18:36Z</time>
<keywords>walking</keywords>
... GPX 1.1<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1"
creator="BasicAirData GPS Logger 3.1.3-dev.20220205"
xmlns="http://www.topografix.com/GPX/1/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<metadata>
<name>GPS Logger 20220205-173623</name>
<desc>First small outdoor activity with Iris</desc>
<time>2022-02-06T20:23:26Z</time>
<keywords>walking</keywords>
</metadata>
... Both the examples here above passed the Xerces validation test, and could be implemented. SAXCount -v=always -n -s -f file_to_validate.gpx @TVEgit I opened the issue #163 to track, discuss, and implement this topic. |
As a note, some people requested to add water related activity types, for example boat and canoe. |
I pushed a first commit that starts the implementation of a new dialog that allows the user to choose among a good number of activity types. As first implementation, I chosen the following approach: I tried to subdivide the activities in categories (Fitness, Water & Snow, Wheel, Air, and Other); Time for suggestions... |
That should be good to propose all these activities' icons but ideally, each user should be able to create his/her own set of icons. |
I agree, it is not practical for the user to choose the activity type using the dialog that I posted yesterday all the time. |
I kinda like the approach taken on my Android9 phone:
1. swipe down from the top of the screen: one line of options appears
2. swipe down again: a full page of options appears
3. swipe right: more pages of options appear
Not saying it should be exactly like this, but it may help find a direction
to go on this issue. Maybe a "more" and "next" button.
…On Mon, Oct 24, 2022 at 9:40 AM Cat ***@***.***> wrote:
I agree, it is not practical for the user to choose the activity type
using the dialog that I posted yesterday all the time.
I was thinking to keep a subset of icons on the details screen
(graphically where we currently show the activity icons) where we could
simply show the last 5 - 6 used icons, with the possibility to open the big
chooser (at this purpose I temporarily placed a right arrow on the *edit
details* dialog, as shown here below) when the activity is not listed on
the subset.
[image: Details_20221024]
<https://user-images.githubusercontent.com/6907566/197470310-f8582490-86c8-4bbc-a96d-5d4322b09f10.jpg>
—
Reply to this email directly, view it on GitHub
<#152 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEOZBCIN4DM32HQP7ALPIVLWEY4N5ANCNFSM5C7SIF7Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
TimeOfDay | timeofday.nl | +31 (0)68 198 6848
|
Here below a list of tasks to be done to implement this feature, in order to keep track of the implementation status:
|
@h2ad2 - We are going in this direction (that is the most used in the Android apps): we placed a "More" button on the right of the icons subset (something like an arrow, or 3 horizontal dots); clicking it will open the big dialog. I thought to adapt the 6 icons of the subset to contain the estimated (1) and the latest used (5) icons, but maybe I'll try to add a second line of icons to have an idea of the visual appeal of the interface. |
The complete list of the activity names (that are written into
|
Note for developersWe are using the standard icons available as vector asset in Android Studio (the Google Material icons). When the icon was not present into that standard library, we used the icons published on https://materialdesignicons.com/. |
The implementation of the feature is finished, it needs only some tests that I'll do in the next days. At this time we could add additionally activities and polish the visual appearance of the interface. |
The feature has been merged into develop branch, and it will be included into the next release of the app. |
Thanks @GrazianoCapelli for you work! |
I really like the simplicity of your logger and a possibility to visualize the track offline. Using it on canoeing, I would propose to add that icon to a set of already provided (to easier distinguish that kind of trips on the track list).
I don't know if there are rules to help automatically detect that kind (an alignment with rives could be hard to determine), however, just having an icon for a manual selection would be completely useful.
The text was updated successfully, but these errors were encountered: