Page 59 of 172

Update on my work this summer: Chicago Bike Guide now on Android

Yesterday I released the first version of my app for the Android operating system. The Chicago Bike Guide (born the Chicago Offline Bike Map) had been available for iOS since April 2012 and the most frequent question I heard was, “When will you have an Android version?” At first I was probably joking when I said it was coming soon as I had no interest in it. But things change: more people kept asking, I was slowly learning how to publish an app for Android, I bought a tablet myself on which to test it, and Android eclipsing iOS as the most dominant mobile OS had some effect.

I use PhoneGap software to compile the Chicago Bike Guide for iOS. My app is actually an HTML5 compliant website using jQueryMobile and PhoneGap allows this website to interact with some of the hardware on the iPhone (like the GPS components) and software (native notification buttons). PhoneGap compiles for Android and other operating systems, but my experience using the Android emulator put a damper on my progress.

I would install Google’s software development kit (SDK), including Eclipse, and load the app (er, website) into the emulator and it would be terribly slow. It didn’t emulate the Android experience very well. I did this twice; I don’t remember making any additional progress the second time but I probably made different progress, slightly expanding my understanding of how to make Android apps.

PhoneGap 3.0.0 came around, and its use requires focusing on the command line to build apps. In prior versions, for iOS, you would add “helper software” to Xcode but now it creates the Xcode project for you. It was easier to use this time around, as the process in this version was simpler to understand, use, and the documentation had improved. I felt it was time to try again to make an Android version so I “made the plunge” and bought the Asus MeMO Pad HD 7″ tablet from my local Micro Center.

At first I used the tablet to test my app (website) as a website, loading it over the network from my Mac’s web server. After fixing a lot of the display bugs I moved into native app testing. One command, “cordova build android”, and an APK I can email to my tablet appears 30 seconds later. This is one of the few areas where Android has iOS beat in terms of testing.

The iOS development environment requires so much setting up with developer profiles, team profiles, and other gunk I forget the names of. With Android, you simply email the ChicagoBikeGuide-debug.apk file to your device and open it in the Gmail app. Voilá.

After getting this far I stopped progress on developing for Android as I wanted to issue a new version for iOS with features and bug fixes I’d been working on since the last release in July (version 0.8.2). With that out of the way last week, and the new version waiting for Apple’s review, I worked on the Android version on Sunday and finished it today.

Did you catch that? I uploaded version 0.8.3 for iOS on October 3 and it’s been in review since then while in less than 24 hours I set up my Google Play Developer Console ($25 per year), merchant account, store listing, and started selling the Android version.

N.B. Google Play doesn’t allow you to switch the app between free and not free like the iTunes App Store does, so I cannot release it for free during a short promotional period like I did for the iOS platform.

After a sufficient period (a few days, perhaps) of no reports of it crashing, I will promote the Android version heavily.

Berlin day 2 itinerary during my 2012 trip

Olympic stadium, as seen from the entry plaza. View all 88 photos in this set.

A Chicago friend designed my two-day Berlin itinerary, whether he knew it or not. He visited Berlin in March 2012 and sent me an email a week before I left for Europe describing in detail the various facets of the city, including transportation, I should visit. This itinerary is a mesh of his suggestions and what I actually did on Friday, August 31, 2012.

Take the S-Bahn to Olympiastadion. Make sure you note all the unused, but remarkably nice platforms. On exiting the station (toward the east) you get some great views of S-Bahn tracks and covered third rail heading into the city. Walk around the east side of the stadium (and think about how this is a place where Adolf Hitler opened the Olympics and the first television broadcast was done of, making a major plot point in the movie Contact).

Olympiastadion S-Bahn station platforms. The U2 line continues, but some trains may terminate at these platforms for events. 

I walked into the Olympic Stadium, walked 80% of its circumference, and noted all of the statues, some of the stelae, and read most of the historical information stanchions. I saw the swimming arena, which is still in use today (it seems to be a membership club, although not exclusive). The diving platform’s stair design has changed noticeably. The stands haven’t changed: they are covered in what looks like moss.

Disqus throwers statue by Karl Albiker. The accompanying sign said it was sculpted to show how powerful and masculine German male athletes (and Germans in general) were.

I then made a long walk to the north and west, past a Berlin football club and equestrian areas, towards the bell tower and Langemarckhalle (which is partly a memorial to the Langemarck battle in WWI, but now an exhibition about how that memorial was a myth and propaganda to encourage students to join the military). The ticket to get into Olympiapark also gets you on the elevator to the top of the bell tower (Glockenturm), giving you splendid views of the city in all directions. In the Maifield between the bell tower and the stadium, men were playing cricket. This humungous grassy area was used for youth rallies during the Nationalist Socialist (Nazi) era. From Wikipedia: “Maifeld (Mayfield) was created as a huge lawn (112,000 square metres, 28 acres) for gymnastic demonstrations, specifically annual May Day celebrations by Hitler’s government.”

Playing cricket in Maifield.

After another long walk, I exited the park and made my way to the U2 Olympia-Stadion station (note how the S- and U-bahn stations have slightly different names). This is where the U-Bahn museum is (it has weird hours, don’t expect it to be open), but before you enter, you can walk around the station house and get some INCREDIBLE views of an U-Bahn rail yard and shops facility.

The dreary-looking Olympia-Stadion station east of the Olympic Park.

Next, my friend told me, ride the U2 inbound to Eberswalder Straße (toward Pankow from Olympia-Stadion on the U2 line), and walk under the tracks a half-block south to the little stand with the tables outside. He wrote to me, “Have a spicy currywurst and a beer. You won’t regret it.” I ate it and drank a Berliner Pilsner and I didn’t regret it.

That spicy currywurst and beer under the U2 tracks. 

Next, walk back up to Danziger Strasse. Get on the eastbound/southeastbound M10 tram toward Warschauer Strasse U+S-Bahn stations. But get off at Frankfurter Tor, not the terminal.

Then, do this walk:

View recommended walk in a larger map

You’ll get a good view of some Soviet architecture on Frankfurter Allee, a cute walk through a gentrifying neighborhood with tons of lovely little shops, then see the massive, gritty S-Bahn station, the M10 Tram terminal, and the U-Bahn elevated terminal. (You’ll also walk past the hipster hotel my friend stayed in, Hotel Michelberger.) Then, you’ll end up seeing the Berlin Wall and East Side Gallery just before you cross the water from East Berlin into West Berlin – a profound act, to my friend, considering that it was not possible when we were born – and have a nice walk under the U1 el tracks up to a great elevated station.

Soviet architecture.

The beautiful Oberbaum Bridge taken from the north bank of the River Spree, near the Berlin Wall East Side Gallery. 

I didn’t walk under the U1 el tracks, but instead walked west along the East Side Gallery and then north on Andreasstraße. I stopped at a grocery store to get some grub and then boarded the U5 at Strausberger Platz, changing at Alexanderplatz U+S Bahnhof to the U8, getting off at Pankstraße and walking a block to the apartment I was staying in.

Artwork on the Berlin Wall. 

The name “Pankstrasse” written in a cool typeface.

N.B. I bought a day pass to use all transit minus Regio, IC, ICE intercity train service. I could use buses, trams, U-bahn, and S-bahn. I never waited more than 9 minutes for a train or tram. The average wait was probably 3-4 minutes. The day pass cost me $8.20. I was given access to a bicycle, which I rode on Thursday night with my hosts, but after walking around and taking transit all day, I declined to get it. I felt that I would be able to get around the city just as fast (or faster) by taking transit (yes, shocking, I know). I also wanted to ride lots of trains. Here’s the full gallery of photos from the day.

Happy birthday Gas Tax, it’s time to retire

Descending

Traffic congestion (right) won’t change until we give transit infrastructure (left) a better footing on which to compete.

Today’s apparently the birthday of the Yosemite National Park, NASA, and also the 18.4 cents per gallon federal gas tax.

It’s time to go. Peter Rogoff, the administrator of the Federal Transit Administration said as much yesterday at the American Public Transportation Association annual meeting.

A meeting attendee asked Rogoff, during the Q&A session following his speech, about the insolvency of the Highway Trust Fund, where gas tax revenues go, and from which payments for road, transit, and bike projects are drawn. Rogoff replied,

We see a lot of governors taking this on. Wyoming raised its gas tax 15 cents. And on any given weekend there are more Democrats drinking beer in my backyard than in the entire Wyoming legislature. All options are being considered. Gas tax has diminishing returns. We can’t simultaneously lower independence on foreign oil and fund transportation systems dependent on the consumption of oil.

Here’s why the per-gallon gas tax is unsustainable: it loses purchasing power because of inflation. If it were sales tax based on the total cost of your fillup, this would be a completely different story, by decreasing driving instead of decreasing gas use (and yes, they are different because as cars become more fuel efficient, driving can remain the same or go up while gas use can remain the same or go down).

So “goodbye gas tax, hello mileage tax?”

Cross-posted to the Center for Permaculture and Appropriate Technology.

I think Chicagohenge came early this year

This was my bike scare of the week. I was in the Madison Street bike lane between two buses and the sun was staring down at us, blocking our vision.

Or at least my vision. Bus drivers tend to have visors. I had my hand. Adler Planetarium describes it:

This phenomena occurs as the Sun sets right in the middle of Chicago’s East-West streets – which only occurs during the vernal and autumnal equinox. If you are viewing the sunrise or sunset downtown, it will be framed by Chicago’s beautiful architecture along these streets – hence, “Chicagohenge.”

Chicagohenge should occur on September 25, 2013.

Desplaines Street bike lane design facilitates right hooks for bicyclists

Photo 1 of 2: At Randolph Street I approach the “mixing zone” and position my bicycle to ride from the bike lane to the left side of the drivers waiting to turn right. 

In some of my social circles where bicycling is frequently discussed (with fellow transportation planners, advocates, or just people who bike commute frequently) we talk about Chicago’s new protected bike lanes, which started appearing in 2011.

The subject of their design is brought forth: they exacerbate turning conflicts between bicyclists going straight and drivers turning right (and to a lesser extent, left). Participants in these discussions usually express appreciation for the protected bike lanes, largely because of their ability to  reduce injuries overall and influence in bringing new people to bicycling, but are hard pressed to ignore this issue.

The issue is created in some instances when bicyclists are removed from sight of drivers because the bike lane is separated from the travel lanes by a vision-blocking lane of parked cars. However, the Chicago Department of Transportation has attempted to mitigate the turning issue by creating “mixing zones” where turning cars are and through-bicycles are mixed into the same, very wide lane prior to the intersection. When there is a green light, drivers typically merge into the mixing zone without much deceleration and then make the turn regardless of the bicyclist’s position.

Allowing turning cars and through-bicycles to go through these movements in the same place at the same time is a situation of incompatible demands.

Photo 2 of 2: I apparently didn’t position myself far enough to the left because the driver of this black Toyota turned right across my path. 

It’s highly unclear where the bicyclist is supposed to go and how they’re supposed to maneuver themselves in the mixing zone. If the bicyclist follows the lane and then the sharrows, they will be stuck behind cars. One of the pavement markings shows a small arrow above a bicycle symbol possible indicating that bicyclists must turn here (even though a sign says bicyclists and buses don’t have to turn from the lane).

The mixing zones on Desplaines Street are the worst at this, possibly because of the street’s nature as one that moves drivers exiting the city onto streets that lead into the Kennedy Expressway. People are gunning for the highway to get home and people bicycling tend to be in the way.

Additionally, the mixing zones on Desplaines Street differ from other protected bike lane installations (like the first one on Kinzie and subsequent ones on Elston, 18th, and Milwaukee) in that they lack the green lanes that CDOT has been using to highlight where car traffic crosses bike lane traffic.

Desplaines Street has another issue that arises when the signal is red and a bicyclist and a driver are both waiting for a green light. The bicyclist is between the car and the curb. The driver then makes a right turn on red (disregard whether or not a sign control makes this illegal) across the path of the stopped bicyclist. No harm done, right? Maybe, but there are a couple possibilities where this could be dangerous: the driver makes this movement as the light turns green and the bicyclist is attempting to move straight. Or there’s the possibility that the bicyclist also wants to turn right and the driver and bicyclist do so simultaneously without accommodating what the other may be doing. Both situations could lead to the dreaded “right hook”.

The driver of this white Hyundai makes a legal right turn from a “mixing zone” to Madison Street. However, what if the bicyclist wanted to also turn right, or the driver made this as the light was turning green?

The solution to the incompatible desire for one group of roadway users to turn and for the other group to go straight is to separate their movements with traffic signals, which CDOT has done on Dearborn Street.

With these situations in mind, it’s not unexpected to see a bicyclist move through the intersection on a red light to avoid a potential incident at the intersection, the site of most bike-car crashes. CDOT has reported that the red light compliance of people bicycling on Dearborn Street – the only street with bike-only signals – “has increased from only 31 percent of cyclists stopping for reds before the lanes and bike-specific traffic signals were installed, to 81 percent afterwards”.

I don’t think there’s not a problem with protected bike lanes but their precarious design in Chicago as well as the variations within Chicago and across the United States.