Subsurface app for iOS

Dirk Hohndel dirk at hohndel.org
Thu Nov 26 10:30:38 PST 2015


Step 1: join the development mailing list :-)
Step 2: clone the git repository (which OS are you building on? warning, warning, building on Windows is not supported)

git clone git://subsurface-divelog.org/subsurface <git://subsurface-divelog.org/subsurface>

Step 3: read the README and INSTALL instructions (hint, those are all for the desktop version... but they give you an idea)
Step 4: after running build.sh (which hopefully creates a working desktop app for you) go into the build directory subsurface/build and run

ccmake .

This will give you a text-UI that allows you to modify build system settings. There you can enable SUBSURFACE_MOBILE - then [c]onfigure and [g]enerate
Run make again and you should have a subsurface-mobile app

If you want to work on Qt/QML I strongly recommend installing QtCreator and using that to edit / build / test.

This is a somewhat terse set of instructions, simply because I don't know how much experience you have, what platform you are going to build on, etc. Please ask questions either on the mailing list or on IRC (freenode - subsurface channel).

Many of the developers are in European time zones, Tomaz is in Brazil, I'm on the West Coast of the US... you can get answers more or less around the clock, but especially with the holiday weekend in the US I'm not sure how prompt I'll be to respond. Just out of curiosity, where are you based? Email headers seem to imply EST time zone...

/D

> On Nov 26, 2015, at 9:53 AM, Zai Gezundt <zai.gezundt at gmail.com> wrote:
> 
> I am familiar with Qt in general but always thought that multiplatform toolkits are lacking "feel and act" of native applications. Anyhow, send me the git so I can dabble (randomly or otherwise) and see what I can do about 1 & 2.
> 
> Regards,
> Z.
> 
> 
> On Thu, Nov 26, 2015 at 12:25 PM, Dirk Hohndel <dirk at hohndel.org <mailto:dirk at hohndel.org>> wrote:
> Adding back the mailing list so people see what we are discussing
> 
> There are two directions that are quite important right now
> a) Tomaz is working on getting Subsurface-mobile built on iOS; this work isn't complete, yet, and until that is finished there isn't much we can do that iOS specific. But I'm sure this will only be a few more days
> b) You should look at QML to get a feeling for how this works and how the pieces work together. As experienced iOS developer my hope is that you can help us make sure that our app is reasonably iOS compliant, i.e. it feels and acts like an iOS app (and gets approved for the iTunes store). If you want something specific to work on (so instead of randomly dabbling around with QML you'll have something to contribute), here are two really simple extensions of the UI (you can play with it on your desktop - it builds fine on Linux and Mac): 
> (1) once a user enters their cloud credentials, change the first button on the start screen from "enter cloud credentials" to "view dive list"
> (2) on the dive list view, add a way to get back to the start screen
> 
> Makes sense?
> 
> /D
> 
>> On Nov 26, 2015, at 5:57 AM, Zai Gezundt <zai.gezundt at gmail.com <mailto:zai.gezundt at gmail.com>> wrote:
>> 
>> Got it. What would you like me to do?
>> 
>> Regards,
>> Z.
>> 
>> On Sat, Nov 21, 2015 at 9:52 PM, Dirk Hohndel <dirk at hohndel.org <mailto:dirk at hohndel.org>> wrote:
>> 
>> All of us have day jobs. Many of us disappear for days (or weeks) at a time. I'd much rather have more people looking at the code, fixing something here or there, providing input and testing, even if that may not happen on a strict schedule. Frankly, very few things here happen on a schedule :-)
>> 
>> /D
>> 
>>> On Nov 21, 2015, at 12:01 PM, Zai Gezundt <zai.gezundt at gmail.com <mailto:zai.gezundt at gmail.com>> wrote:
>>> 
>>> Hi,
>>> 
>>> Sorry for the delayed reply. I was extremely busy for the last couple of days and this is exactly kind of unexpected workload that makes me reluctant to become an active contributor to Subsurface-mobile app. I think that failing to deliver whatever was promised would be worse than not contributing at all. Also I have to admit that I am not familiar with Qt/QML. I am experienced native iOS developer but mastering Qt/QML would require some time.
>>> 
>>> Please consider aforementioned limitations and let me know if I can help. And being a diver I do want to help as much as I can.
>>> 
>>> Regards,
>>> Z.
>>> 
>>> 
>>> On Sat, Nov 14, 2015 at 10:23 AM, Dirk Hohndel <dirk at hohndel.org <mailto:dirk at hohndel.org>> wrote:
>>> 
>>>> On Nov 14, 2015, at 4:34 AM, Zai Gezundt <zai.gezundt at gmail.com <mailto:zai.gezundt at gmail.com>> wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> Thanks for the reply.
>>>> 
>>>> "Fairly full features Subsurface mobile app" is an excellent goal and it surely will supersede primitive companion app. Yet it will take considerable time and resources do achieve. In the meanwhile, as mentioned in the original post, I could fix minor "as is" issues of the companion app. That is unless becoming "active contributor" is too convoluted.
>>> 
>>> It's really easy to get involved and of course your contributions would be extremely welcome.
>>> 
>>> But even then, I'd prefer to have that involvement on the Subsurface-mobile app. The Android version of that is pretty much at the point where it can replace the companion app - and of course it can do a ton more things. Tomaz is working on getting the same app built on iOS - we used Qt/QML to build the Android app as that should allow us fairly easily to have the same app both on Android and iOS. So if you have experience with iOS I'd love your help to make this happen.
>>> 
>>> But of course, if you'd rather work on the Subsurface companion app, simply get involved here: https://github.com/zdanovs/subsurface-companion-ios <https://github.com/zdanovs/subsurface-companion-ios>
>>> 
>>> /D
>>> 
>>> 
>>>> On Fri, Nov 13, 2015 at 6:50 PM, Dirk Hohndel <dirk at hohndel.org <mailto:dirk at hohndel.org>> wrote:
>>>> 
>>>> Well, at least it didn't get a reply.
>>>> 
>>>> The iOS companion app was done by a GSoC student who is no longer an active contributor to Subsurface, and none of the active developers really have taken on maintaining it. It mostly works and appears good enough, so I guess it's one of those "as is" applications.
>>>> Your comments below seem valid - but I don't think this is likely to get fixed.
>>>> 
>>>> Our focus now is not on the companion apps, anyway, we have more interesting goals: a fairly full featured Subsurface mobile app.
>>>> 
>>>> /D
>>>> 
>>>>> On Nov 13, 2015, at 2:52 PM, Zai Gezundt <zai.gezundt at gmail.com <mailto:zai.gezundt at gmail.com>> wrote:
>>>>> 
>>>>> Not worth reply?
>>>>> 
>>>>> On Thursday, October 22, 2015 at 5:14:32 AM UTC-4, Zai Gezundt wrote:
>>>>> Subsurface companion app for iOS is great idea but it can be improved by allowing to specify site name even when dive is created automatically. Consider situation when diver goes on a boat to make 2 dives and turns on location tracking before each dive to capture site coordinates. The stream will contain multiple entries that can be roughly grouped by coordinates and time. However the name for both groups will be default one, taken from settings. One can circumvent this by changing the settings before each dive but it is rather inconvenient. I've downloaded Subsurface sources hoping to find companion app for iOS and tweak it but found only sources for Android. If you consider my proposal as worth implementing but have limited development capacity - let me know if I can help.
>>>>> 
>>>>> Also there are two issues with companion app for iOS:
>>>>> Subsurface manual states that red bar will appear at the bottom of the screen. On my iPhone 6 it is at the top, covering status bar.
>>>>> Subsurface manual states that one can add manual dive while location service is running. However the app does not respond to anything but stop button on the red bar. Could be related to 1.
>>>>> 
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-divelog+unsubscribe at googlegroups.com <mailto:subsurface-divelog+unsubscribe at googlegroups.com>.
>>>>> To post to this group, send email to subsurface-divelog at googlegroups.com <mailto:subsurface-divelog at googlegroups.com>.
>>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/441bdd05-586b-478c-a5b3-2f08af0885a4%40googlegroups.com <https://groups.google.com/d/msgid/subsurface-divelog/441bdd05-586b-478c-a5b3-2f08af0885a4%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>>> For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
>>>> 
>>>> 
>>>> -- 
>>>> You received this message because you are subscribed to a topic in the Google Groups "Subsurface Divelog" group.
>>>> To unsubscribe from this topic, visit https://groups.google.com/d/topic/subsurface-divelog/qg0lzNP2CiY/unsubscribe <https://groups.google.com/d/topic/subsurface-divelog/qg0lzNP2CiY/unsubscribe>.
>>>> To unsubscribe from this group and all its topics, send an email to subsurface-divelog+unsubscribe at googlegroups.com <mailto:subsurface-divelog+unsubscribe at googlegroups.com>.
>>>> To post to this group, send email to subsurface-divelog at googlegroups.com <mailto:subsurface-divelog at googlegroups.com>.
>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/30B14B0C-CC88-47AE-A885-7505F0846DD0%40hohndel.org <https://groups.google.com/d/msgid/subsurface-divelog/30B14B0C-CC88-47AE-A885-7505F0846DD0%40hohndel.org?utm_medium=email&utm_source=footer>.
>>>> For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
>>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151126/f25ecaf3/attachment-0001.html>


More information about the subsurface mailing list