?

Log in

No account? Create an account
taking joy in fixing a badly broken LJ app - Greg [entries|archive|friends|userinfo]
Greg

[ website | gregstoll.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| * Homepage * Mobile apps (Windows Phone, Win8, Android, webOS) * Pictures * LJBackup * Same-sex marriage map * iTunesAnalysis * Where's lunch? ]

taking joy in fixing a badly broken LJ app [Dec. 29th, 2011|05:10 pm]
Greg
[Tags|, , , , ]
[Current Mood |cheerfulcheerful]

After the latest LJ release, I got a few emails saying LJ for WebOS was badly broken, and lo and behold they were right.

I was not excited about fixing the app, since I knew the code for parsing posts, which is most of what broke, was pretty brittle and terrible. (c.f. "don't parse HTML pages with hand-written state machines") And I don't even use the app much anymore, and it's certainly not going to sell many more copies since it only works on webOS phones, which are not exactly flying off the shelves, and new ones might not exist. So I toyed with the idea of dropping support entirely, but that just felt wrong, even though I'd rather be working on new shiny apps for Windows Phone 7.

Last night I took the first serious stab at fixing things, and it turned out to be much more fun than I had hoped. The app was so nonfunctional it felt like writing a whole new one, and it turns out the new page format is a bit nicer to parse to boot. So I've fixed maybe 60% of the issues already, and hopefully I can fix the rest by next week sometime (pending New Year's festivities) and get back to WP7.
LinkReply

Comments:
[User Picture]From: andrewhime
2011-12-30 06:51 am (UTC)
Any chance of sizing it up for the TouchPad?
(Reply) (Thread)
[User Picture]From: gregstoll
2011-12-30 04:53 pm (UTC)
Sigh. It's something I would like to do eventually, but it would take a lot of work. I'm also not totally convinced that it's that much better than just using the TouchPad's web browser. (except for remembering username/password)
(Reply) (Parent) (Thread)