Today I’m releasing an update (version 1.1.1) to the Virginia Traffic app which fixes a small bug that had been bothering me for a while. Here’s a quick shot of what the bug looked like before:
As you can see, the incident list had moved up to obscure the dropdown and button at the top. Now here’s what the screen is supposed to look like:
If you’re not an Android developer, thanks for dropping by, and you can stop reading here. The bug is fixed, so please continue to enjoy Virginia Traffic. If you want to know the geeky details, keep going…
I have one big LinearLayout
that encompasses the whole screen for the main Activity, and I had previous set the android:clipChildren
property to false
. Ooops. If you look at the documentation
, this means that child objects aren’t being limited to drawing within their bounds. So I had a ListView
that was coloring outside the lines, so to speak. Every time I scrolled the ListView
, I think it had some trouble syncing up between the exact position of the screen and due to some rendering issue was drawing outside of its boundaries in an attempt to have a smoother draw of the ListView
. Setting android:clipChildren
fixed the problem.
I’ve just uploaded a new release. Here are the major changes:
- The application saves your region selection.
- Refresh now works the way you would expect it to. You click refresh, it refreshes.
I just released an upgrade to the app. Here are the two bugs that are fixed:
- Sometimes in the list view, many of the incidents would be displayed twice each.
- For certain incidents, the detailed description would be either incomplete or the wrong description.
Wow, I’m completely surprised by the amount of downloads I’ve had in just one day since releasing the VA Traffic app. Now I’m really encouraged to either (1) expand to more states or (2) make a clone of the app for the iPhone.
And at some point I’ll have to move the server-side stuff to something a little more robust than my desktop.
Ever been stuck in traffic, but the 511 voice prompts think that “The Midtown Tunnel” really means “Burke, Virginia”? Been there.
Now, as long as you’ve got a data connection, you can view all current 511 traffic alerts, by region. There’s two main screens to the app. First, there’s the list of current alerts. Use the dropdown at the top to select your region. The refresh button is, I hope, self-explanatory.
If you click on of the events, you can see all of the details on it, including a more detailed description, as provided by the 511virginia.org website. Hit your back button to return to the main screen.
That’s all for now. It’s no-frills, text only. Here’s the link to download it.
Feedback is welcome. Enjoy!