Crash when using Bluetooth

Lauri Laanmets lauri.laanmets at proekspert.ee
Mon Oct 29 21:28:03 UTC 2012


Hi

Yes, indeed, it must happen while starting the process, though I don't 
understand how can it happen without any decent debug output.

Give me a few days do set up my environment....

Lauri

On 29.10.2012 22:59, Micke Prag wrote:
> Hi,
>
> It only happens after I call start(). Only creating the object works fine.
> Thank you for looking into this.
>
> Regards
> Micke
>
> On Monday 29 October 2012 at 21:54, Lauri Laanmets wrote:
>
>> Hi
>>
>> I guess that is addressed to me :). Crash is definitely a bug, 
>> regardless of Android permissions or missing Java files. Can you 
>> verify if it crashes on creating the DiscoveryAgent object or when 
>> starting the discovery?
>>
>> I have lost my old devel set-up, It takes me a few days to get on 
>> that issue.
>>
>> Regards
>> Lauri
>>
>>
>> On 29.10.2012 22:31, Micke Prag wrote:
>>> Hello,
>>>
>>> I know that the Bluetooth support in Necessitas is not complete but 
>>> I wanted to try it out anyway. I am only trying to discover 
>>> bluetooth devices but my application crashes. I don't know if I am 
>>> doing something wrong or if it is not supported yet?
>>>
>>> The output from logcat can be found here: http://pastebin.com/khcj28Xy
>>> This is what I am doing:
>>> QtMobility::QBluetoothDeviceDiscoveryAgent agent;
>>> agent.start();
>>>
>>> libs.xml:
>>> <?xml version='1.0' encoding='utf-8'?>
>>>  <resources>
>>>    <array name="qt_libs">
>>>      <item>QtCore</item>
>>>      <item>QtGui</item>
>>>      <item>QtNetwork</item>
>>>      <item>QtDeclarative</item>
>>>      <item>QtXml</item>
>>>      <item>QtOpenGL</item>
>>>      <item>QtSystemInfo</item>
>>>      <item>QtConnectivity</item>
>>>    </array>
>>>   <array name="bundled_libs"/>
>>> </resources>
>>>
>>> I also have this in AndroidManifest.xml:
>>> <uses-permission android:name="android.permission.BLUETOOTH" />
>>>
>>> Bluetooth is activated on the device.
>>>
>>> The device is a Cube U30GT-H running Android 4.1.1
>>>
>>> -- 
>>> Micke Prag
>>>
>>>
>>> _______________________________________________
>>> Necessitas-devel mailing list
>>> Necessitas-devel at kde.org  <mailto:Necessitas-devel at kde.org>
>>> https://mail.kde.org/mailman/listinfo/necessitas-devel
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/necessitas-devel/attachments/20121029/f02638a0/attachment-0001.html>


More information about the Necessitas-devel mailing list