flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fréderic Cox <coxfrede...@gmail.com>
Subject Re: Unzip ANE for Flex\AIR Desktop App
Date Thu, 20 Oct 2016 13:23:23 GMT
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 <megharajdeepak@gmail.com>
wrote:

> 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
> native way of unzipping the file.
>
> For iOS, I have used ANEZipFile library :
> https://github.com/xperiments/ANEZipFile
>
> It works flawlessly and takes just 5 - 6 seconds to unzip a 500MB zip file.
> That is just for iOS though.
>
> There is another library:
> http://airnativeextensions.com/extension/com.distriqt.ZipUtils which works
> on both iOS and Android, but it's not free.
>
> -Deepak
>
>
> On Thu, Oct 20, 2016 at 1:49 PM, Hans Nuecke <hnuecke@vservu.de> wrote:
>
> > 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 you using? I'm considering going the other way:
> > convert my desktop APP (or better: parts of it) to an iOS/Android app
> >
> > Regards
> >
> > Hans
> >
> >
> >
> >
> > Am 20.10.2016 um 06:48 schrieb 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 minizip. I tried creating ANE
> myself (
> >> http://easynativeextensions.com/windows-tutorial-the-
> native-dll-project/
> >>   ), but I end up getting many errors. I'm not good at C coding.
> >>
> >> Or if anyone is interested to take this up as a project, company is
> happy
> >> to outsource this piece of work at a cost.
> >>
> >> Kindly let me know about it.
> >>
> >> Cheers!
> >> Deepak
> >>
> >>
> > --
> >
> > ___________________________________________________________________
> >
> > *Hans J. Nuecke* / Gorch-Fock-Str. 6 • 81827 Muenchen • Germany / *VservU
> > GmbH*
> > Home:                           +49 (89) 45344858              office:
> >        +49 (89) 43906 707
> > mobile:                        +49 (176) 56529048
> > private: hans@nuecke.de <mailto:hans@nuecke.de>
>  business:
> > hnuecke@vservu.de <mailto:hnuecke@vservu.de>
> > website: www.vservu.de <http://vservu.de> www.megazine3.de <
> > http://megazine3.de>
> > Munich HRB 181251    Geschäftsführer:      Hans J. Nücke      USt-Id:
> >  DE266694113
> > ___________________________________________________________________
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message