Subsurface for Android

Dirk Hohndel dirk at hohndel.org
Wed Oct 3 08:18:17 PDT 2012


Pierre-Yves Chibon <pingou at pingoured.fr> writes:

> On Tue, 2012-10-02 at 20:51 -0700, Dirk Hohndel wrote:
>> Aurélien PRALONG <aurelien.pralong at gmail.com> writes:
>> 
>> > Hello Dirk,
>> >
>> > I've developped the Android app you requested on Google+ (see attached
>> > zip). I have ran out of time, so I could not test on device, but I think it
>> > should do the trick. Please let me know if it works or not, so I can do
>> > fixes. Especially, the app needs Android V2.3 to work correctly.
>
> Awesome, thanks Aurélien!
>
>> One other note - the files you sent me had no copyright and no license
>> in them. I assume you intend this to be open source and will at some
>> point make this available under a reasonable license of your choice and
>> with your Copyright attached? The rest of Subsurface is under GPLv2, as
>> is the POC server implementation that Pierre has contributed...
>
> Actually, I put a GPLv3+ on the webapp, I can change that to GPLv2+ if
> we prefer.

For an application like the web service provider I think there is
nothing in GPL3 that I would object to, so pick whatever you are
comfortable with.

>> Pierre - I assume the changes I suggested to transfer the date/time
>> would be easy enough to add on the server side. Should we just agree on
>> a URL format like this:
>> 
>> http://host/api/dive/<loginID>/<lat>/<long>/<UTC date>/<UTC time>/<location name>
>
> Updated and push in the git. You will have to regenerate the database
> though.

No problem as so far I have only done test connections (obviously) :-)

> Speaking of which, should we move the two projects into the git of
> http://git.hohndel.org/ ?

My pleasure. I'll set up repositories and give you access to them.
Can both of you please send me ssh public keys so I can give you write
access to them?

I will have you commit your own code (the Subsurface project requests
Signed-off-by: lines for all commits in order to track copyright for all
contributions) - let me know if you have questions about that.

>> One reason I tried to get this kicked off once I had the idea is that
>> Linus and I will be on a dive trip starting next weekend (we'll spend
>> Thursday flying to Japan) and we'll both have Android phones with us -
>> so I'd love to get this far enough along that we can try the proof of
>> concept app and server - even if I will delay the integration into the
>> Subsurface desktop application until after the pending 2.0 release...
>> 
>> So maybe we can get these parts to work together tomorrow and have
>> something "testable" before the weekend?
>
> Sounds very nice :)
> Just beware that only you and Linus can upload things in the db and not
> anyone else.

Well, since this proof of concept doesn't provide any authentication,
anyone who can grab our login ids could upload entries... in a
production version of this service we will need to add a bit more than
that, I guess, but for now I'm perfectly happy with the much simpler
approach that we have taken so far.

The key challenge will be to make sure that the app and the server talk
to each other - which is what I'm trying to get resolved today if
possible.

/D


More information about the subsurface mailing list