Version 0.7.1-pre1 (soon)

2 views
Skip to first unread message

CaptainSpam

unread,
Dec 21, 2009, 2:48:53 PM12/21/09
to Geohash Droid Discussions
When I get back home today, I'm going to put 0.7.1-pre1 on the Google
Code website (not to the Market yet). I'm making this thread partly
to remind me to do this and to not keep fiddling with 0.7.1 until I've
done so.

As promised, the major change in 0.7.1 is Thomas Hirsch's wiki
features. That is, viewing the expedition's page on the Geohashing
wiki, adding messages to the expedition page, and uploading images to
add to a gallery on said expedition page. As per what I'm going to
upload later, I've got a good amount of it debugged and cleaned up,
but only for the message-posting and wiki-viewing parts.

For the picture-uploading, there's still a few issues I'm trying to
work out, mostly in how it displays the pictures on your phone. For
Thomas: The major problem is that when I tried it on my phone (loaded
with pics), the picture that got uploaded to my test site didn't match
what I selected. That much I think I've got fixed (minor difference
between the ID of the pic and the order in which the Cursor selected
them), but I'm also trying to make sure it sorts out the camera pics
first. If there's any other image files on the SD card (i.e.
downloads or installing Google's My Maps Editor, which dumps a couple
hundred icons in), it'll put those in with the stuff from the camera,
so I'm trying to ensure that the camera takes precedence. I think
I've almost got that.

Once 0.7.1 is done, 0.7.2 will be an Android 1.6 app, meaning it
should properly change the way the display is laid out on larger/
smaller screens. Since I don't have an Android 2.0 phone (and it
seems T-Mobile and/or HTC are in no hurry to get that update out to
me... I'm looking at the Nexus One soon), I won't be able to take
advantage of any 2.0 features, but I don't think there's anything
there I need yet.

So, 0.7.1-pre1 is coming later tonight, is what I'm saying. Don't try
the picture uploading yet. :-)

CaptainSpam

unread,
Dec 21, 2009, 9:44:37 PM12/21/09
to Geohash Droid Discussions
There we go, it's up now. Enjoy!

Thomas Hirsch

unread,
Dec 27, 2009, 2:57:39 PM12/27/09
to Geohash Droid Discussions
Woo!

I was looking forward to use the official version on tomorrow's
expedition. However I only get a "failed to parse login reply." - I'm
going to have a look at the code to verify it later.
I also noticed that the progress widget should probably stop turning
when an error occurred.

Cheers,
Thomas

Thomas Hirsch

unread,
Dec 27, 2009, 7:04:59 PM12/27/09
to Geohash Droid Discussions
I fixed the login error (the wiki page syntax had changed with the
last mediawiki update) and discovered another: Currently editing a
wiki page does not work. The HTTP post form is quietly ignored, which
is the annoying default behaviour of mediawiki when something is not
quite to its likes.
I assume that there has been some minor syntax change here too, but
I'm still hunting it.

CaptainSpam

unread,
Dec 27, 2009, 8:22:18 PM12/27/09
to Geohash Droid Discussions
Oh, dear. I'm hoping that's not a problem with me changing the URL
slightly with respects to where it logs in. I changed it to be the
"generic" wiki interface (that is, explicitly using the *.php scripts,
not going through auto-redirects), which should work on all MediaWiki
installations, but I could be mistaken (or they could have changed the
syntax). I changed that so that I could move the URL to one central
location so I can easily test uploads and messages using my own
private wiki so I don't keep jamming up the "real" wiki with useless
images I have on my phone and make bogus expedition pages for
them. :-) I'll admit I didn't test it on the "real" wiki (mostly
because I didn't have any real expeditions to mark), so if I got
something wrong with that, it may need fixing. Maybe it's as simple
as a URL change? I'm hoping it's not a major backend change...

As for the progress widget cycling on an error, I can probably fix
that pretty easily (in both WikiMessageEditor and WikiPictureEditor).
So long as that's actually in the API.

CaptainSpam

unread,
Dec 29, 2009, 4:59:00 PM12/29/09
to Geohash Droid Discussions
I did some research, and there might be an easier way to deal with
getting data to and from the wiki, though it might take a good deal of
rewriting to make it work. It looks like there's a machine-friendly
MediaWiki API that takes in POST statements and returns XML for us to
use. That might be the best way to go about this.

There's documentation at http://www.mediawiki.org/wiki/API. I've got
a few XML-reading tools from a previous project which might help, and
I'll port them to GHD once I've got the time.

Thomas Hirsch

unread,
Dec 29, 2009, 5:08:28 PM12/29/09
to geohas...@googlegroups.com
Nice. The documentation is actually available at
http://wiki.xkcd.com/wgh/api.php
for the older mediawiki we use at xkcd.com

CaptainSpam

unread,
Jan 10, 2010, 10:20:35 PM1/10/10
to Geohash Droid Discussions
There we go! Version 0.7.1-pre2 is now out on the Google Code site.
This version fixes the 30W problem for retrohashing before the 30W
Rule was invented, fixes a crash on the Motorola CLIQ, and fixes the
wiki features. If all goes well, this should pretty well be the final
release before 0.7.1 goes to the Marketplace.

Please let me know if anything goes wrong!

Reply all
Reply to author
Forward
0 new messages