So I forked the repository tonight and my work eventually became
something like a complete reboot. My forked repo is here:
http://github.com/klondike/We-Have-We-Need-Android
I've made the home activity a tabbed set of lists, of the latest
Haves, and the latest Needs. They load in from the network each time
you boot up the app, straight from JSON, and put up a loading dialog
while it downloads. The activities are robust and you can flip the
screen as much as you like while it loads. It parses out most of the
interesting data (I still haven't done timestamps) from each post and
displays them in a custom list view.
It's just the two tabs, and tapping the list items doesn't do
anything. I figure that could be a good spot for you guys to pick up
from?
I put up an APK you can download to quickly test it out and see what I
mean if you want, it's at the following URL. I also attached a QRCode
to this email that is also the link to the APK, for quick scanning.
It's signed using the Android debug key, so it *should* just install
on top of your existing one. If you have problems, uninstall your
current one first.
http://cloud.github.com/downloads/klondike/We-Have-We-Need-Android/wehaveweneed.apk
I'm more than happy to explain any of the things in there - it's
pretty much my boilerplate for custom list activities with a network
backing, forged and evolved through long struggle. :) I tried to keep
the code clean and the object separation intuitive.
Let me know if you guys would like to work off of this foundation.
-- Eric
-- Eric
On Jan 26, 1:21 am, Eric Mill <kproject...@gmail.com> wrote:
> Hey guys,
>
> So I forked the repository tonight and my work eventually became
> something like a complete reboot. My forked repo is here:http://github.com/klondike/We-Have-We-Need-Android
>
> I've made the home activity a tabbed set of lists, of the latest
> Haves, and the latest Needs. They load in from the network each time
> you boot up the app, straight from JSON, and put up a loading dialog
> while it downloads. The activities are robust and you can flip the
> screen as much as you like while it loads. It parses out most of the
> interesting data (I still haven't done timestamps) from each post and
> displays them in a custom list view.
>
> It's just the two tabs, and tapping the list items doesn't do
> anything. I figure that could be a good spot for you guys to pick up
> from?
>
> I put up an APK you can download to quickly test it out and see what I
> mean if you want, it's at the following URL. I also attached a QRCode
> to this email that is also the link to the APK, for quick scanning.
> It's signed using the Android debug key, so it *should* just install
> on top of your existing one. If you have problems, uninstall your
> current one first.http://cloud.github.com/downloads/klondike/We-Have-We-Need-Android/we...
>
> I'm more than happy to explain any of the things in there - it's
> pretty much my boilerplate for custom list activities with a network
> backing, forged and evolved through long struggle. :) I tried to keep
> the code clean and the object separation intuitive.
>
> Let me know if you guys would like to work off of this foundation.
>
> -- Eric
>
> qrcode.png
> 1KViewDownload
Thanks,
Jeremy
Also, we've got to unify our repos somehow. My changes are broad
enough that they're not going to merge cleanly if you try to just
bring it into yours. Any ideas on how you'd like to handle that?
-- Eric
It looks like they've solved a lot of the problems for capturing form
data at the mobile phone and uploading it already. But I don't know
how easy it would be to integrate into WHWN.
Also for the Boston people, do you think you'd all want to meet up in
person this weekend? I'll find out later tonight, but I don't think
there's going to be another CrisisCamp here.