Android CodeMash app

13 views
Skip to first unread message

jmaag

unread,
Jan 3, 2010, 11:55:04 PM1/3/10
to CodeMash
For any Android phone users attending CodeMash, I've published a free
app called CodeMash Schedule to the Android Marketplace. It's my
first attempt at an Android app so I'd appreciate any feedback or
better ways of doing things.

I'm using the published REST data from the CodeMash site. I've found
a few problems with the data.
- The "Convention over Configuration Applied to .Net" and "Five Ways
to Cure the Java Blues with JRuby" sessions are listed in the REST
data with a date and time of "0001-01-01T00:00:00".
- Various session abstracts have HTML tags in the raw text.

As a result, I show an extra tab for the phantom 0001-01-01 day.

The beauty of having the schedule published in the REST format (which
was also something new to me) is that the app should work for the
future years as long as they keep publishing it the same. Thanks
CodeMash organizers!

I enjoyed creating this app and plan on continuing to improve it when
I have time.

John J. Maag

Tim Reynolds

unread,
Jan 4, 2010, 9:18:19 AM1/4/10
to code...@googlegroups.com
Cool. Tested it on my G1 running Cyanogen's latest rom. I started the app in landscape mode, after a bit it loaded. However, when I switched to portrait mode the app didn't come back and required a force-close. Keep up the good work!

Which android phone do you have btw?

Tim


--

You received this message because you are subscribed to the Google Groups "CodeMash" group.
To post to this group, send email to code...@googlegroups.com.
To unsubscribe from this group, send email to codemash+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/codemash?hl=en.





--
Tim Reynolds

Michael Letterle

unread,
Jan 4, 2010, 10:02:07 AM1/4/10
to code...@googlegroups.com
I was able to flip between portrait and landscape, though the app did take a bit to "come back"...
Michael Letterle
IronRuby MVP
http://blog.prokrams.com


Tim Reynolds

unread,
Jan 4, 2010, 10:03:09 AM1/4/10
to code...@googlegroups.com
To be fair, with the latest Cyanogen my G1 has been particularly sluggish. It gave me the "app not responding" error dialog. It may have come back eventually.

Tim

Jason Follas

unread,
Jan 4, 2010, 10:04:27 AM1/4/10
to code...@googlegroups.com
No problems on the Moto Droid. :-)

Roger Heim

unread,
Jan 4, 2010, 11:25:15 AM1/4/10
to CodeMash
OK on a Samsung Moment. Are you going to make the source available?

I've just started playing with the Android SDK and I like it a lot.
How about setting an Open Spaces type meeting for people interested in
Android dev?
Roger

Gayle

unread,
Jan 4, 2010, 11:26:01 AM1/4/10
to CodeMash
Thanks for doing this, John!

I like the 3 tabs at the top. But on the Droid Eris, the 1st tab
shows the date as 0001-01-01, and all the times listed are 00:00:00.
The 2nd and 3rd tab are 2010-01-14 and 2010-01-15, respectively, so
they are fine, and all the times listed are non-zero. (See http://twitpic.com/wngez
to see what the 0001-01-01 page looks like. There's 4 items listed on
it, and not sure whether those are the 4 correct items, or not.)

When I click through for the description of various sessions, some of
the markup, specifically <br> and &quot; show up literally as that,
not rendered as a line break or quote. Not that big a deal, I get the
idea and it's so convenient to have the descriptions right there like
that.

I had no problems switching between portrait and landscape.

The only other comment I have (and this is purely personal preference)
is I'd rather see the afternoon times as 02:00 PM rather than 14:00,
or at least have an option to switch. My brain doesn't deal with
converting military very well. But that's probably just me :) Not a
big deal.

Thanks again,
Gayle Craig

Larry Siden

unread,
Jan 4, 2010, 11:29:42 AM1/4/10
to code...@googlegroups.com
Could we also get the schedule into Google Calendar?

Larry Siden
http://umich.edu/~lsiden
734-926-9614
skype: lsiden


On Mon, Jan 4, 2010 at 11:26 AM, Gayle <gayl...@yahoo.com> wrote:
Thanks for doing this, John!

I like the 3 tabs at the top.  But on the Droid Eris, the 1st tab
shows the date as 0001-01-01, and all the times listed are 00:00:00.
The 2nd and 3rd tab are 2010-01-14 and 2010-01-15, respectively, so
they are fine, and all the times listed are non-zero. (See http://twitpic.com/wngez
to see what the 0001-01-01 page looks like. There's 4 items listed on
it, and not sure whether those are the 4 correct items, or not.)

When I click through for the description of various sessions, some of
the markup, specifically <br> and " show up literally as that,

not rendered as a line break or quote.  Not that big a deal, I get the
idea and it's so convenient to have the descriptions right there like
that.

I had no problems switching between portrait and landscape.

The only other comment I have (and this is purely personal preference)
is I'd rather see the afternoon times as 02:00 PM rather than 14:00,
or at least have an option to switch.  My brain doesn't deal with
converting military very well.  But that's probably just me :)  Not a
big deal.

Thanks again,
Gayle Craig

Phil Hamlin

unread,
Jan 4, 2010, 12:11:23 PM1/4/10
to code...@googlegroups.com
I put the whole schedule into a google calendar a while back -- for those interested, here it is:
http://bit.ly/6wnokk

Enjoy,
Phil

Larry Siden

unread,
Jan 4, 2010, 12:29:47 PM1/4/10
to code...@googlegroups.com
Thanks.  Is there a link to it in the Codemash site?


Larry Siden
http://umich.edu/~lsiden
734-926-9614
skype: lsiden


Phil Hamlin

unread,
Jan 4, 2010, 12:50:41 PM1/4/10
to code...@googlegroups.com

I don't believe there's a link to it there. Probably a good idea to have one added though, eh?

On Jan 4, 2010 12:30 PM, "Larry Siden" <lsi...@gmail.com> wrote:

Thanks.  Is there a link to it in the Codemash site?

Larry Siden http://umich.edu/~lsiden 734-926-9614 skype: lsiden

On Mon, Jan 4, 2010 at 12:11 PM, Phil Hamlin <philh...@gmail.com> wrote: > > I put the whole sched...

Tim Reynolds

unread,
Jan 4, 2010, 4:54:29 PM1/4/10
to code...@googlegroups.com
Just updated Cyanogen to 4.2.12.2 (released today) and turned off Wifi (which was slowing things down a bit) and it rotates fine for me. A little slow, but no hanging.
:)


--

You received this message because you are subscribed to the Google Groups "CodeMash" group.
To post to this group, send email to code...@googlegroups.com.
To unsubscribe from this group, send email to codemash+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/codemash?hl=en.



--
Tim Reynolds

jmaag

unread,
Jan 5, 2010, 9:20:05 AM1/5/10
to CodeMash
Sorry for not getting back sooner, I was indisposed yesterday and I
need to switch out of digest mode so I see these sooner.

Tim - I've got the Motorola Droid. If I understand the way the event
cycle works, I think when you switch between portrait and landscape or
vice versa, it effectively suspends and then reactivates the app. So
I think the way I have it, it's basically starting from scratch and
querying the REST data again. I know there's a better way to handle
that, so I'll have to look into it. I don't see it happen on mine,
but it might be that I've got a fast connection where I'm at?

Gayle - The phantom date and HTML tags are coming from the REST data
that I'm reading. Check out www.codemash.org/rest/sessions in a
browser that formats XML and you can see the date and tag issues. I'm
hoping those issues will be corrected at some point by the CodeMash
team, who I've been meaning to email about them. I like the idea for
viewing the times. It'll give me a chance to add a menu and figure
out saving preferences. I'll add it to my list.

Roger - I've yet to hit an OpenSpace session, but I'd be interested if
it doesn't conflict with one of the regular sessions that I'm really
interested in. I'd like to blog about my experience creating it and
release the source that way. Of course, it's usually funner tinkering
with the code than writing about it. At some point, I'll probably
just zip it up and make it available, or it might be fun to throw it
up on google-code.

I'll try to keep a list of known issues available here (http://
www.floydwing.com/musings/android-apps/). I don't know how much time
I'll have between now and next Wednesday but I'll see what I can do.

John

Mike Kvintus

unread,
Jan 5, 2010, 3:17:35 PM1/5/10
to code...@googlegroups.com
John,

I'm just getting started with Android dev and found the Android developer pages has a page that defines how to do the orientation switching without re-querying all the data at http://developer.android.com/resources/articles/faster-screen-orientation-change.html

Mike

jmaag

unread,
Jan 5, 2010, 3:31:59 PM1/5/10
to CodeMash
Mike,
Thanks a ton! That looks like exactly what I need.
John

Bill Heitzeg

unread,
Jan 4, 2010, 12:15:07 PM1/4/10
to code...@googlegroups.com
Phil, nice work on the Google Calendar.  I really appreciate this and I imagine a lot of others do as well!

Bill Heitzeg

On Mon, Jan 4, 2010 at 12:11 PM, Phil Hamlin <philh...@gmail.com> wrote:



--
Bill Heitzeg

Technical Services Consultant, Stout Systems

734-657-0267

www.stoutsystems.com

“Fueled by the most powerful technology available: Human Intelligence." ®

Larry Siden

unread,
Jan 5, 2010, 10:49:29 PM1/5/10
to code...@googlegroups.com
ditto! :)


Larry Siden
http://umich.edu/~lsiden
734-926-9614
skype: lsiden


Phil Hamlin

unread,
Jan 5, 2010, 11:03:04 PM1/5/10
to code...@googlegroups.com

great, no problem, glad it'll be useful to you! it's admittedly not as sexy as the iphone or android apps being published, but it does come in handy with my droid's  google calendar.  I'm looking forward to having all of them available next week.  Really getting excited about CodeMash 2010!  Hope to see / meet everyone next week.

Phil

On Jan 5, 2010 10:49 PM, "Larry Siden" <lsi...@gmail.com> wrote:

ditto! :)

Larry Siden http://umich.edu/~lsiden 734-926-9614 skype: lsiden

On Mon, Jan 4, 2010 at 12:15 PM, Bill Heitzeg <bill.h...@gmail.com> wrote:

> > Phil, nice work on the Google Calendar.  I really appreciate this and I imagine a lot of others ...

--

> You received this message because you are subscribed to the Google Groups "CodeMash" group. > To p...

jmaag

unread,
Jan 5, 2010, 11:48:26 PM1/5/10
to CodeMash
Uploaded multiple versions tonight, latest v2010.1.3.

Filtered the phantom day and html tags.
Fixed the orientation change slowness.
Fixed the session detail scrolling issue.

Last thing I need to figure out before new enhancements is a loading
message on initial startup.

Phil Hamlin

unread,
Jan 5, 2010, 11:54:14 PM1/5/10
to code...@googlegroups.com

awesome, switching portrait & landscape is fantastic on my droid now with todays updates!

kromozom

unread,
Jan 5, 2010, 10:21:16 PM1/5/10
to CodeMash
@jmaag I am using it on HTC Magic and it is running without problem at
all thanks for the app, but I prefer the google calendar way.

@Roger I am also interested in Android development, I am definitely in
if there will be a custom meeting for Android developers.
(Please let it be after the conference sessions.)

Phil Hamlin

unread,
Jan 6, 2010, 8:05:35 AM1/6/10
to code...@googlegroups.com

Count me in as interested in android development...

On Jan 6, 2010 6:10 AM, "kromozom" <saco...@gmail.com> wrote:

@jmaag I am using it on HTC Magic and it is running without problem at
all thanks for the app, but I prefer the google calendar way.

@Roger I am also interested in Android development, I am definitely in
if there will be a custom meeting for Android developers.
(Please let it be after the conference sessions.)

On Jan 4, 11:25 am, Roger Heim <roger.h...@gmail.com> wrote: > OK on a Samsung Moment. Are you goi...

Mike Kvintus

unread,
Jan 6, 2010, 8:27:19 AM1/6/10
to code...@googlegroups.com
Count me in for android development too!

Roger Heim

unread,
Jan 6, 2010, 9:51:06 AM1/6/10
to CodeMash
Just upgraded on the Samsung Moment. Orientation switch is now almost
instantaneous. Very nice!

A little constructive criticism: When you touch a session to pull up
the details, the display could be, well, a little 'sexier'. It's kind
of plain looking.

Gayle

unread,
Jan 6, 2010, 10:40:16 AM1/6/10
to CodeMash
Just got the updated version. Looks great to me, John!

And I'm definitely +1 on being interested in Android development if
there's an Open Space or other get together about it at CodeMash, too.

Gayle

Peter Smith

unread,
Jan 6, 2010, 5:57:18 PM1/6/10
to code...@googlegroups.com
So I see THREE apps on the Market now (in my 1.6 ADP machine):

 CodeMash Schedule by our initial poster,  jmagg,
   - pretty tabs
   - current data fetched from REST (cached? I haven't looked)
   - updating the code as we QQ and blink :)

 CodeMash Sessions 2010 by Mark Haskamp,
   - no pretty tabs, but grouped by time and day, tree like
   - written under Appcelerator Titanium (http://www.appcelerator.com/) (so perhaps there's an iPhone version too?)
   - source on github
   - Actually lets you PICK one per timeslot, and remember your picks...unless you exit the app.

MobiMash by dhibbitss
   - Just popped up today as I was composing this.
   - Still trying to start download after 30 minutes (yeah, I'm on WiFi right now)
   - http://www.MobiMash.org - looks slick, but, still waiting to start download.


Now, yes, these are both nice fetches of information, but so is the Google Calendar. :) I at LEAST want to pick which session I want to go to, in a given time period, and have that BE THERE FOR ME when I open the app up next week at 9am on Thursday! Is there a reason nobody's even mentioned this idea? I'd love to see the first two apps combined: Pretty date tabs, take me down to pretty Time tabs, take me to my selected event (if any) and a touch to open up the rest of the list, and a touch to open up the information about that list item. And a quick little file that's keeping track of my selections, that gets loaded when I start up the app. Guess I'll work on the Titanium one, though it'll be missing the pretty tabs.

Oh, yes, and a 'meToo' for an AOS open space. I thought there was an Android session or two in the first list I read; can't find any in these apps. Maybe I'm just not looking hard enough...

-- Peter Smith

Jonathan Penn

unread,
Jan 6, 2010, 6:17:17 PM1/6/10
to code...@googlegroups.com
Peter, my iPhone webkit app does what you want if you wan to try it. Corey Hanes said it works fine on he droid so it may work on other android phones too.

You can browse the sessions and mark the ones you are interested in. And it will show the upcoming session timeslot.


It's neat to see all these apps and their different interpretations of the session data. I might just pop in to the open space to watch the android development if you'll permit an iPhone guy. :)

Sent from my iPhone
--
Reply all
Reply to author
Forward
0 new messages