Re: [Interest] Use Qt to zip / unzip files on iOS, Android, OS X, & Windows ?

2016-08-18 Thread Edward Sutton
Andy, thanks for sharing the article. On second thought we do not need ZIP file compatibility. We just need to reduce data size of XML to speed up data transfers over Bluetooth. We are going to try using the QByteArray compress functions. -Ed On Aug 18, 2016, at 4:02 PM, Andy mailto:asmalo..

Re: [Interest] Use Qt to zip / unzip files on iOS, Android, OS X, & Windows ?

2016-08-18 Thread Andy
Ed: I don't know if it's useful or not, but years ago I wrote a little in-memory zip class you might be able to modify or build on. It uses minizip. "In-memory ZIP File Access Using Qt" https://asmaloney.com/2011/12/code/in-memory-zip-file-access-using-qt/ I think I have a more fleshed-out vers

[Interest] Use Qt to zip / unzip files on iOS, Android, OS X, & Windows ?

2016-08-18 Thread Edward Sutton
Is there a solution in Qt 5.6 LTS ? Else maybe a 3rd party lib such as QuaZip is good? http://quazip.sourceforge.net/ -Ed This email and any files transmitted with it from The Charles Machine Works, Inc. are confidential and intended solely for the use of the individual or entity to which they

[Interest] Qt on Android needs improvements

2016-08-18 Thread Jason H
The more I do on Android the more I realize the situation is less than ideal. My issues are thus: 1. I need to call native (Qt) code in MyActivity.onCreate(), but there is no notification that Qt is ready. In fact Qt doesn't finish loading until after onCreate. I need some kind of blocking call

Re: [Interest] Qt Android Service example

2016-08-18 Thread Jason H
Why not just call a function like this via JNI? { PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); cpuLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK|PowerManager.ON_AFTER_RELEASE , ""); Log.d(LOG_TAG, "ploadingLock: " + (cpuLock != null)); cpuLock.acquire();

Re: [Interest] Qt Android Service example

2016-08-18 Thread Nuno Santos
Really simple stuff. I need a background service that injects input events on the system to avoid CPU scaling down. For that I use the instrumentation class. > On 18 Aug 2016, at 16:20, Jason H wrote: > > Let's backup. What are you trying to do with a service? > > Sent: Thursday, August 18, 2

[Interest] Few questions about Qt Data Visualization

2016-08-18 Thread Xavier Bigand
Hi, I need to create a small tool to visualize some 2D or 3D data for debugging our software, actually we are using GeoGebra but it have few issues (can be really slow,...). We mostly need to display points and polygons. It would be great if I can use Qt Data Visualization directly. I need the fo

Re: [Interest] Qt Android Service example

2016-08-18 Thread Jason H
Let's backup. What are you trying to do with a service?   Sent: Thursday, August 18, 2016 at 10:13 AM From: "Nuno Santos" To: "Jason H" Cc: "Qt Project MailingList" Subject: Re: [Interest] Qt Android Service example Can you provide me an example on how to do it?    On 18 Aug 2016, at 15

Re: [Interest] Qt Android Service example

2016-08-18 Thread Nuno Santos
Can you provide me an example on how to do it? > On 18 Aug 2016, at 15:02, Jason H wrote: > > It is kinda jarring how they drop you off into the Android documentation like > that. > > What I have is a Qt app (QtAppplication, QtActivity) with a Android service. > > Sent: Wednesday, August

Re: [Interest] Qt Android Service example

2016-08-18 Thread Jason H
It is kinda jarring how they drop you off into the Android documentation like that.   What I have is a Qt app (QtAppplication, QtActivity) with a Android service.    Sent: Wednesday, August 17, 2016 at 5:41 PM From: "Nuno Santos" To: "Jason H" Cc: "Qt Project MailingList" Subject: Re: [Inte