<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/android-mobile, branch master</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=master</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2021-09-13T18:21:34Z</updated>
<entry>
<title>Android: hardcode permissions and don't ask for features</title>
<updated>2021-09-13T18:21:34Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-09-12T22:13:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2bb88a354ff684693a3f3787ddd99c1b3514684c'/>
<id>urn:sha1:2bb88a354ff684693a3f3787ddd99c1b3514684c</id>
<content type='text'>
That seems to be the way to force it to not request FINE_LOCATION or GPS access.
If I leave this on 'auto' then the dependency on QtPositioning (for showing the
map) appears enough for it to claim access to GPS location. I no longer want
to deal with the Google Play police for that.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>android: update Subsurface-mobile manifest for Qt 5.15</title>
<updated>2020-11-20T01:18:33Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-11-18T20:38:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=fd88058060003b3b82e38becca25ca9905e6efb2'/>
<id>urn:sha1:fd88058060003b3b82e38becca25ca9905e6efb2</id>
<content type='text'>
With the switch to the bundle build (introduced at Qt 5.14) a couple of the
settings in the manifest had to change.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Android: update target SDK version to 29</title>
<updated>2020-08-18T20:22:11Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-08-17T19:12:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cadfec26abcc3b5e4e906cb965e996ed20403493'/>
<id>urn:sha1:cadfec26abcc3b5e4e906cb965e996ed20403493</id>
<content type='text'>
This will be required for Android updates over the next few weeks.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>android/usb: simply restart the download after receiving permission</title>
<updated>2020-03-16T14:58:20Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-03-15T19:27:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0b72495413e8b060b58b96aa6d6a0ce96baa168c'/>
<id>urn:sha1:0b72495413e8b060b58b96aa6d6a0ce96baa168c</id>
<content type='text'>
If the user tries to download from a device that he hasn't given the app
permission to read from, Android will pop up a dialogue asking for that
permission. With this after giving the permission we continue (well,
technically, restart) the download which is likely the expected behavior.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>android/usb: show download page again after USB permission granted</title>
<updated>2020-03-16T14:58:20Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-03-15T01:07:24Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1495aa2dbf5366cc135c1ceb959c6a12abbb3e0b'/>
<id>urn:sha1:1495aa2dbf5366cc135c1ceb959c6a12abbb3e0b</id>
<content type='text'>
If the user hadn't granted USB permissions, yet, we asynchronously get informed
once they did that. This ensures that the user gets taken back to the download
page once they approve.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>android/usb: pass the usbDevice for intent handling</title>
<updated>2020-03-16T14:58:20Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-03-15T00:57:36Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b0eccec8ed330d000e88b01404a30cc610d93ee2'/>
<id>urn:sha1:b0eccec8ed330d000e88b01404a30cc610d93ee2</id>
<content type='text'>
Instead of creating a string with all the object information, simply pass
the actual object to the C++ code.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>usb-serial-for-android: React to usb "permit granted" intent (stub)</title>
<updated>2020-03-16T14:58:20Z</updated>
<author>
<name>Christof Arnosti</name>
<email>charno@charno.ch</email>
</author>
<published>2020-03-14T17:17:05Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=d953c645e96aea092952653adb92280fe4c225f8'/>
<id>urn:sha1:d953c645e96aea092952653adb92280fe4c225f8</id>
<content type='text'>
When a user is downloading from a DC for the first time (without using
the "usb device connected" popup), the user is requested to grant
permission to use the USB device.

This is done asynchronously, thus the download is aborted. To be more
user-friendly, we now react to the intent with the "usb granted" result.
The plan here is to start the download again.

Signed-off-by: Christof Arnosti &lt;charno@charno.ch&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>usb-serial-for-android: Use wakelock</title>
<updated>2020-03-16T14:58:20Z</updated>
<author>
<name>Christof Arnosti</name>
<email>charno@charno.ch</email>
</author>
<published>2020-03-14T16:31:51Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=779b84bfa02b3e11f295263971a693bef19c3f9e'/>
<id>urn:sha1:779b84bfa02b3e11f295263971a693bef19c3f9e</id>
<content type='text'>
Android takes some pretty hard measures to save power, including
shutting down the CPU. Since this can interfer with the download from an
usb serial device, we now use a wakelock to keep the CPU running during
download.

Signed-off-by: Christof Arnosti &lt;charno@charno.ch&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>android usb serial: Prepare device / driver select</title>
<updated>2020-03-16T14:58:20Z</updated>
<author>
<name>Christof Arnosti</name>
<email>charno@charno.ch</email>
</author>
<published>2020-03-11T10:33:52Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a34a81d120fa2c66522bfcd450003e58dae62d3b'/>
<id>urn:sha1:a34a81d120fa2c66522bfcd450003e58dae62d3b</id>
<content type='text'>
This commit contains the serial_android_usb part of the changes proposed
in issue #2657.

What's implemented:
- A data structure that contains all the data that can be used to
  describe an usb device (including user-facing string).
- A function to get a list of all attached usb devices (optionally with
  selectable driver class).
- Changes in the serial_android_usb_open-function and in the Java part
  to use the information about the usb device and optionally selected
  driver when connecting.

This commit keeps compatibility with the current UI-Code in the case
that only one USB-Device is connected. If two devices are connected,
only the first one is tried.

There are still some small things to do:
- Change the user-facing string to something more descriptive.
- Parts which aren't uesd anymore when the UI-Part is implemented are
  simply marked as obsolete (to keep compatibility for now).

But generally it seems to work.

[Dirk Hohndel: some white space / coding style adjustments]

Signed-off-by: Christof Arnosti &lt;charno@charno.ch&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Android: remove USB devices we don't support</title>
<updated>2020-03-10T20:27:43Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-03-09T03:29:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f4589583ef7dd259852069c0d5baad1bddee92a2'/>
<id>urn:sha1:f4589583ef7dd259852069c0d5baad1bddee92a2</id>
<content type='text'>
The HID devices and the Atomics Aquatics Cobalt cannot work on Android
right now. We should claim to support them.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
