My next attempt to master the Android platform from the point of view of a developer this time was a success. Its fruit has become quite simple, but at the same time, a useful widget: the Yandex.Probka widget.
If one of its names is enough for you - you can immediately proceed to the Market and download it. Or use the convenient picture on the left.
')
And for inquisitive minds I will attach a short description.
Widget can:
choose a city:
Moscow
St. Petersburg
Yekaterinburg
Kiev
display traffic points for the selected city and the corresponding traffic light color
display the time of the sample data
adjust the frequency of your update
run the Yandex Maps app for tapu at traffic lights, if installed
Suggestions / bug reports / comments are welcome.
UPDATE: An updated version is available.
Corrections:
incorrect display at high resolutions
minimum SDK version downgraded to 3 (Android 1.5)
Known issues:
On Android 2.1 and higher, the launch of Yandex Maps works only after the phone is rebooted (the devil knows why)