aalto-trafficsense / regular-routes-client

"Learning Regular Routes" -client
MIT License
0 stars 0 forks source link

Show activity in notification icon using colors #34

Closed ktkarhu closed 9 years ago

ktkarhu commented 9 years ago

User's current activity should be shown using corresponding notificication icon and coloring it according to activity's energy efficiency as below. energy_efficiency_label

ktkarhu commented 9 years ago

Janne, I sent the icons to you as zip file. Add them to github as you take into use.

ktkarhu commented 9 years ago

Color codes in HEX format.

A++: Cycling [00a652ff] A+: Walking [50b849ff] A: Running [c0d731ff] B: Public transport (train, tram, bus) [fef200ff] C: Kutsuplus [fcb913ff] D: Taxi [f37020ff] E: Private car [ed1b24ff]

ktkarhu commented 9 years ago

Since we are currently unable to detect different vehicles used, just use car icon for IN_VEHICLE and as a color code use the Kutsuplus color as in the illustration above.

finnlander commented 9 years ago

btw, as I understood, the flat icons' license you included in the package kind of prevents offering the files for download on sources other than the origin without written agreement (probably including public GitHub repositories as well).

Should we respect that?

ktkarhu commented 9 years ago

Sure. Good point. I will think about it tomorrow.

finnlander commented 9 years ago

Additional color codes for not defined types:

Tilting, Unknown, Still: A0A0A0 (gray)

finnlander commented 9 years ago

Now notification icon is changed based on best activity (if available) with fallback to default application icon in case no activity is detected.

All the unused icons are also colored and included into the package just for future use. "IN_VECHILE" uses now Kutsuplus -color as background.

-> Done.

New version 1.2.2 is now added to builds -repository.