Flex AIR unzip - apache-flex

I am a newbie to Flex AIR. I am trying to create an application that will unzip the contents of a zip file & place them in a particular directory.
How can I achieve this? Is there any unzip library available for flex? Pls help me.
Thanks in advance.

How can I achieve this?
Read the ZIP specification. Implementing it is easy.
Is there any unzip library available for flex?
Is Google down again? The first link takes me here.

For AIR projects I used airxzip from coltware (google it). It has the capability to extract single file from archive, not loading it entire archive into memory.

Related

What to do if Processing won't find a library?

No matter what I do, Processing just won't find this library. No matter where I put it or how many renames I do, Processing can't find it and I can't find an alternative anywhere. I basically only need it for the "Descriptive" class. And I know its in the correct spot because I have the library "minim" and Processing can find that. The DL link.
Anyone want to give it a shot and then give a solution (or walkthrough of what/how they did) if they find whats wrong? Or know of another library where this class is at?
The simplest way to load a non-standard library into a Processing sketch is to drag the .jar file onto the Processing editor.
You don't have to install the library in the libraries directory. Just find a file like YourLibrary.jar and drag it directly onto your sketch in the Processing editor.
This will automatically put the library jar file in the correct place, and you'll be able to use the jar in your sketch.
Shameless self-promotion: here is a guide on using libraries in Processing.
It is possible that you are putting the library in the wrong folder, click Preferences in Processing and look for Sketchbook Location (which is where you should copy the downloaded folder in) to make sure you are putting it in the right place. I have checked the download link and the site says you have to copy the entire unzipped folder into your libraries folder (which is located in your sketchbook folder) in order for it to work.
If you have checked what I suggested above and still cannot find a problem, refer to https://github.com/processing/processing/wiki/How-to-Install-a-Contributed-Library which will hopefully help you.

Is there any way to convert a "bundled" MeteorJs source code to a normal source code?

I have a .tar.gz file of a MeteorJS application. This file was created using this command "meteor build --architecture=os.linux.x86_64 ./". I don't have original source code of this app because the author dev disappeared totally. Now I want to convert the .tar.gz file to a normal MeteorJS source code to add some changes (add third-party packages ...). So is there any way to do this? If not, is there any way to add new third-party packages to the app? Thank you in advance!
I think you probably can reconstruct it.
Looking at one of my projects, under
bundle/programs/server/app/app.js
This file is a concatenation of my source files. You could probably write a script to unpack this into separate files. I don't know if anyone has done it before, but it might be useful to post the tool when you have built it.

Creating Documentation Using QtHelp Module

Qt provides two kinds of help files: Qt Compressed Help (.qch) and Qt Help Collection (.qhc).
The first one actually contains compressed help data (html pages, images etc). The second one contains references to different compressed help files.
Both Qt Assistant and QHelpEngine are using collection files to display help. So I need at least two files to provide documentation for my application: .qch and .qhc.
I want to have a single help file to be used by Qt Help API (e.g. like a .chm help file in Windows).
Is it possible?
I don't think it is possible to create a chm file using QtHelp module since chm files are Microsoft specific and not an independent format.
But all the chm files are opened by the hh.exe application that belongs to HTML Help workshop. I have accessed chm files for opening a specified html page using hh application.
You can have a look over here in my answer.
If there are command line options provided by Microsoft to compile chm files either by hh or through HTML Help workshop command line (if any), you can do that by running the command in QProcess. You have to probe more into that.
Or you can create chm files manually using HTML Help workshop and integrate the chm files into the application.
Hope that helps in giving you a start.
I have not tried this but have a look at chm2qch, Tool for converting Windows CHM files to Qt Help format.

Creating help files in Qt

I have been looking at QHelpEngine and QHelpEngineCore, and I was wondering if there is a nice guide on how to start making a help file.
QAssistant was theviewer for html help files.
The new QHelp framework uses a single compiled help file and includes a set of classes to implement a viewer in your app and some standalone tools to build the help file
Ironically I find it difficult to locate this information in the Qt manual. It's under QAssistant.

Documentation of Qt in CHM format

Is it possible to find some information about Qt? I need chm file with all documentation of all classes (https://doc.qt.io/qt-5/classes.html). Does somebody knows where can I find it?
If you have installed Qt in your machine, use Qt Assistant. The help available are pretty much the same as that in the online.
Qt Assistant is just an application which requires no internet connection and useful for offline help..
You can use the script from this site: http://www.interclasse.com/scripts/chm.php in order to generate chm file from an online tutorial you find anywhere in the web. Like this one: http://doc.qt.nokia.com/nokia-qtsdk-1.0/index.html
I haven't tried it myself, but seems rather promising.
Good luck!
I've made a little script that will automatically build a CHM file out of the latest available documentation for QT. All credits to char101 for the main script that actually converts HTML docs into the CHM project, my part was only a little automation.
https://github.com/vzhd1701/qt-documentation-chm-autoupdated

Resources