[PATCH] Bluetooth support for Android

Rick Walsh rickmwalsh at gmail.com
Thu Jul 16 03:29:43 PDT 2015


On 16 Jul 2015 8:16 pm, "Claudiu Olteanu" <
olteanu.vasilica.claudiu at gmail.com> wrote:
>>
>> The scan works, and scrolling across tells me that it knows the Petrel
is paired.  But the save button is greyed out so quit is the only way I can
leave this dialog.
>
>
> I observed that when you select an item the signal is not
> always raised (QListWidget::itemActivated). Probably on
> Android platforms the system is configured to raise the
> event when the user double clicks the item. Maybe it would
> be a good idea to use itemClicked signal instead of itemActivated.
>
> Meanwhile please try to double click the item. Sorry for
> the inconvenience :).
>

That's brilliant. It works! Screenshot attached.

Well nearly. The ok button is off the screen so I can't save them.

>> Now it crashes - presumably because I couldn't select my Petrel.
>
>
> Yes, it crashes because the address of your device wasn't saved and
> it tries to use the native serial implementation.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150716/f49f00b1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_2015-07-16-20-24-55.png
Type: image/png
Size: 379967 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150716/f49f00b1/attachment-0001.png>


More information about the subsurface mailing list