Monday, October 24, 2011

Places Demo & The Graphics Designer BoF

With the uncertainty of travel arrangements to JavaOne we didn't prepare anything for the Graphics Designer BoF & just intended to review our existing demos.
A day before the BoF Martin created this Graphic PSD, he and Chen worked quite allot to get it into a working demo state. I initially dismissed the attempt to do this when I glanced at the graphic he prepared, there are several "mistakes" you can see in the graphics if you have any experience in building UI's to scale to multiple resolutions/devices.

The first and obvious "mistake" is the background, its a texture. If we will scale it, it would look "odd" and when a device is rotated we won't have an option. Not to mention supporting multiple device resolutions.
Sure we can add a version for every resolution but once you start going down that path you enter the maintenance hell that is the true cost of software development.

The second mistake isn't quite as obvious, the icons for the 4 options are round and perfectly aligned to the content. This might not seem like a problem but it is quite a big one. The font will have different sizes on different devices (due to device density variation) but the icons have a fixed size that doesn't depend on the font size. Due to the box that surrounds the font the text effectively becomes dependent on the icon size. So the text might appear grotesquely small or freakishly large in comparison to the icon and the box that surrounds it.
Martin "solved" this by using a bitmap font, however that's a poor solution since it might look good on one device and awful on a higher/lower DPI device.

The last major issue isn't as obvious, the map on the bottom wouldn't have enough space in landscape mode due to the large amounts of whitespace distributed all around.
This might actually be the easiest issue to resolve by moving the map graphic to the side in landscape mode.

Its unclear from the graphic but Martin intended to have the map animate and the cities in the bottom to be swipeable, Chen and Martin actually implemented this full demo with a few additional screens not shown here. In the next few weeks I will try to go over the process of creating a demo like this from a PSD deliverable and adapting that demo to partially resolve these various issues I raised.

Wednesday, October 19, 2011

Interview and HOL


Here is a LWUIT interview I did at J1. I was sick and after a long flight, normally I'm more eloquent...

The hands on lab that Daniel Green submitted and I wrote was refined by his team and is now an easier to follow PDF which you can download from the Java One content catalog by searching for 24682 and clicking the small PDF icon that appears next to the session details. Thanks to Terrence for that tip.

Monday, October 10, 2011

Back From J1 2011

JavaOne 2011 is finally over, its been a hectic week for us both because of the cramped timeline (we had to hurry back home due to complex holiday logistics) and because of the huge distance between my hotel and the venue.

By all accounts this years J1 was bigger & better than last years although it wasn't the same as the old J1 in moscone. Hopefully the trend of improvement will persist to next year and the conference will be restored to its former glory.

Despite the relatively weak attendance in the the mobility track and our own session (which had problematic scheduling) the BoF I had with Martin (in the picture above you see from left to right, Martin, myself & Chen) was pretty full. The hands on lab was also full although it was mired by an admin choosing to randomly reboot peoples PC's while they were working and problematic lab setup. Since we arranged this lab as a sort of last minute thing its amazing  that we got it off the ground and even had a decent attendance.

Martin & Chen created a pretty cool demo for our BoF, when I get the time I will clean it up and create something more robust based on it. Right now my desk is full with so many tasks postponed to "after" JavaOne.