On Aug 13, 4:40 am, Thomas Hirsch <
thomas.hir...@gmail.com> wrote:
> Sending messages anonymously is possible (you might just have
> downloaded the app, never registered in the wiki, and go on an
> expedition), and will issue a warning. I should make that an "Are you
> sure?" dialog, giving you more time to cancel the action.
> Sending pictures anonymously is prohibited by the wiki. I will replace
> the option with an explanatory message while no user name is entered.
Ah, right, good point. Forgot about anonymous posting. But yeah, an
"Are you sure?" dialog would most likely be best in that case.
> I haven't looked into that option yet. But it shouldn't be difficult
> to run the gallery off a different cursor or a single Image source
> instead of the main MediaStore.
> I had in mind that the user might either want to keep a copy of the
> picture on the phone - or not. Given that possibility, there are
> different possible user interaction flows:
> 1) Select "Send Picture" menu -> Press button "Take Picture" -> Take
> picture -> Confirm & Return to input form -> Fill form, check box
> "Save picture on disk" -> Submit
> or
> 2) Select "Send Picture" menu -> Press button "Open Camera app" ->
> Take Picture -> Save & Return to input form -> Auto-select newest
> picture in gallery -> Fill & Submit.
> (or etc.)
>
> I'm tempted to suggest the second option, as uploading pictures to the
> wiki is unreliable and might eventually fail (when the user realizes
> he just left the GPRS zone...).
Well, I was thinking to store the pictures to disk in any case,
whether it be taken from the camera app or within Geohash Droid
itself. That way, even if the data connection fails for whatever
reason, the picture is still available to send (maybe without any
message the user was intending to send, though). But, you did give me
another idea: Make the picture-sending activity react to the picture-
sharing intent from the picture gallery, such that when someone
presses "Share" from there, it would prompt to share it via Geohash
Droid.
Granted, that would take a lot more work, especially when trying to
determine what expedition was used to take that picture (i.e. what
graticule, what date, etc), so that might take a lot more
consideration than I thought.
>
> > It also looks like it's fairly separated from the rest of the program,
> > so it should be pretty easy to integrate in, once it's done, which is
> > good.
>
> Yes, it all runs in separate Activities.
Excellent, excellent. That should make it easy.
> Thank you for your feedback!
> If you like, I could check in my code in a separate branch of the svn.
> Merging shouldn't be a trouble, but that would allow you (and others?)
> to test it early. More users = more bugs discovered. Also, I'm just
> getting the hang of this SDK and might not have followed all the
> guidelines correctly. ;)
I'll get the SVN part going (or just branch it in myself) and check
over what you've got when I can (I might be a bit slow in this, as
I've got realworld work stuff and other projects and such to deal
with). But once it's in, I'll try to make sure everything you've got
fits the SDK properly, as well as whatever coding standards I seem to
have come up with for the project. :-)
Thanks!
--
Nicholas Killewald