TrevorEdwards / bigredapp-android

Informational Android app for Cornell University.
https://play.google.com/store/apps/details?id=is.genki.bigredapp.android&hl=en
MIT License
14 stars 8 forks source link

Use the actual title of the location rather than the regex parse #20

Closed ghost closed 9 years ago

ghost commented 9 years ago

This is probably the least urgent thing ever, as the current regex parse works great for now :) Additionally, it requires a new GetRequest, so it's just not worth it. But eventually it should be done. The same get request gets us the location co-ordinates, so if/when we do stuff with that, we can just kill two birds with one stone.

The actual title of the location can be found at the very bottom of http://redapi-tious.rhcloud.com/dining/:id

Known differences between current parse'd name and actual name: http://redapi-tious.rhcloud.com/dining/104west http://redapi-tious.rhcloud.com/dining/bears_den http://redapi-tious.rhcloud.com/dining/jansens_dining_room_bethe_house (not gonna look through them all, but you get the idea :P).

This nice-title would then be passed into the Location Activity from the main ListView so that we can take full advantage of the effort and use it there too ^_^

ghost commented 9 years ago

this will be closed by the new server endpoint