Re: Unzip ANE for Flex\AIR Desktop App

2016-10-25 Thread Fréderic Cox
Glad I could help! On Tue, Oct 25, 2016 at 8:46 AM, Deepak MS wrote: > Thank you thank you thank you so much Fréderic. It worked flawlessly. 500MB > zip file gets unzipped in just 5 - 6 seconds. I had been cracking my head > on how to get this working. You made my

Re: Unzip ANE for Flex\AIR Desktop App

2016-10-23 Thread Fréderic Cox
You can use File.applicationDirectory and put the 7za.exe in your project folder. I placed it in /native_bin/win/7za.exe. Make sure the file has "execute" permissions (right-click for properties of the file in Flash Builder). I have defined it as NativeProgramsSettings.UNZIP =

Re: Unzip ANE for Flex\AIR Desktop App

2016-10-21 Thread Deepak MS
Interesting. I never knew about that. Doesn't that mean user needs to have 7za installed on their systems? If so, what if users don't have it installed. Can we package the 7za.exe within our AIR app and use it? I looked into some of the examples. But not quite getting it to work: Same code with

Re: Unzip ANE for Flex\AIR Desktop App

2016-10-20 Thread Fréderic Cox
I successfully used 7za for both Mac and Windows. You don't need a native extension for desktop but you can just use the NativeProcess API with the extendedDesktop profile. On Thu, Oct 20, 2016 at 10:48 AM, Deepak MS wrote: > Hi Hans, > Yes, I did try that. It works

Re: Unzip ANE for Flex\AIR Desktop App

2016-10-20 Thread Deepak MS
Hi Hans, Yes, I did try that. It works fine for smaller files. But unfortunately, unzipping process crashes if we use it for bigger files. My zip file size is around 500MB. It fails at ByteArray.uncompress() as it tries to uncompress entire file at a time. That is the reason I was looking out for

Re: Unzip ANE for Flex\AIR Desktop App

2016-10-20 Thread Hans Nuecke
Hi, I use an openSource Library for that: http://flex.coltware.com/2010/05/01/as3-zip-unzip-lib-airxzip/ Search for keywords "coltware airxzip" and you'll find some nice posts at stackoverflow with links to the sources or a swc file. And also hints how to use it. BTW: What unzipt ANE are

Unzip ANE for Flex\AIR Desktop App

2016-10-19 Thread Deepak MS
Hi there, I have converted an iPad app to Desktop App ( to make it work on surface pro, touch based desktop). iPad App was using an unzip ANE. But it cannot be used for desktop app. I tried searching unzip ANEs for windows, but I couldn't come across any. There are C libraries like zlib and