How to decompress an AES-256 encrypted Zip file? - iphone

I am looking for a compression library to use in iPhone application supports decompressing AES 256-bit archives built in Winzip compression utility.
Thanks.

zlib is part of the iPhone sdk and is a well established and free option. If you're using Xcode you can add it to your project by:
Right clicking on the Frameworks folder in your project (you can do it elsewhere but that's likely where you want to put it)
Select add file
Select existing frameworks
Select libz.1.2.3.dylib

Thank you very much for the help I finally ened up using ZipArchive library from:
http://www.artpol-software.com
I had couple of obstacles such as compiling the library to armv6/armv7/i386 architectures but finally it worked out for me, I am more than happy to share the compiling process if any body want to use ZipArchive, amazing library.

Related

Lua to be exported as .apk in Eclipse

What I need is to create my .apk file with Eclipse. My application is based on .lua file and other files like sounds and images.
P.S. I was using LuaEclipse but you can recommend me something else if it is also related with Eclipse.
I am trying to create an .apk file. I see a new .apk saved on my desktop, but it is just a file with an extension with no data inside it.
I just recently moved from Corona SDK to LuaEclipse and what I need now is an explanation on how to combine all my files.
I have had a .lua file with other data such as images and sounds in a Project Files folder (when using Corona). Now I want to export these all files as .apk (to export by using Eclipse), but I can't because I don't know where to find the location of Project Files in LuaEclipse in order to put .lua file and other files in it.
I am a beginner so I apologize if the problem is not clear. Let me know about my inaccuracies, please, thanks a lot
Better you get .apk file from corona sdk.
For those who use Corona SDK to code their Native Android and iOS games, working without a proper IDE can be a nightmare at times. This is where CIDER comes in. CIDER hooks up directly to the Corona SDK and acts as it’s local IDE, and will speed up your development time dramatically.
CIDER is available for both Windows and Mac environments and has an array of very appealing features:
Download
and another-one IDE is
One of the very best IDEs for programming in Lua (and Corona SDK) for Windows. It supports auto-completion, code hinting, syntax coloring, all sorts of awesome features. I use other JetBrains software (PhpStorm) as well, so it felt very natural to me. The layout and feature set is very similar to NetBeans or Eclipse. Since the various features and setup is a bit more complex, take some time and read over the tutorial I wrote on Corona SDK development on Windows,
Download

How to build DCMTK library to use in iPhone project?

I'm newbie to iPhone programming.I want to use DCMTK library in my iPhone project to display DICOM image but I don't know how.
I search google to use DCMTK on iPhone project.They tell me use CMake to configure and build on XCode. I have already successfully used CCmake to compile dcmtk3.6 but not build it in ios environment on XCode.It have 69 error of dcmprscp about Apple Mach-O Linker (Id) Error.
Have any idea,Thank you for answer. :)
ps.sorry for my bad english.
We can use DCMTK on iOS. The follow link will help someone who looks for information about this.
http://www.cppblog.com/kesalin/archive/2011/11/10/dcmtk_ios.html
That post is written in Chinese with many screenshots, we still can get enough information to work it out.
This is likely NOT a cmake issue, but rather an issue with trying to use DCMTK for iphone.
The "dcmprscp" module appears to be a command line tool, which I wouldn't expect to work under iOS. Start with building the DCMTK libraries under iOS & skip building the command line tools completely.

iphone - Extracting ZIP files in iPhone App

I am aware of some third party libraries and open source libraries to extract ZIP files within iPhone application.
But I would like to know whether there are any default iPhone frameworks provided in SDK itself?
None that I know of. I have been using Objective-Zip and it seems pretty good for my needs. But I am deflating not inflating.

C Binary/Source Code in an iPhone XCode Project

What's the best practice to include existing C Libraries into an iPhone Project? I searched the Internet and actually found some pieces but nothing that explains the exact way to do it.
I'm trying to include the following Citrix XenServer SDK Library.
Any help is appreciated. Thanks!
You could try to build a static library and link against that.
I didn't try that myself yet, but as far as I could see, libxenserver has libxml2 as its only dependency.
libxml2 is available on the iPhone so you might have a chance.
To get started, create a Cocoa touch static library project and drag the C files into the project.
Now you have to figure out where to place the include files.
This might get a bit tricky and you will start with a lot of compile errors, but to me it seems possible to get it compiled.
The way I did it was to just create an iPhone static library project in Xcode and drop all the library's files in there. Then check if it builds and if the build settings are appropriate for the library you wish to compile. To add the newly-created library to your binary, you should follow the steps explained in the bottom part of the Three20 readme.
Note that you can only add static libraries to iPhone projects if you wish to get them into the App Store. Xcode also doesn't provide means to create dynamic iPhone libraries.

Is there any zip decompression for iPhone?

I found the zlib and gzip decompression algorithms, but I need to compress a whole directory and download it from the server. Would rather not go file at a time.
Thanks.
ziparchive, a Google Code project by "acsolu," provides an iPhone-compatible Objective-C wrapper around minizip. With a little adaptation, I found it useful for doing unzip on the iPhone as you described.
I've had good luck using minizip on iPhone.
I attened a Tacow meeting in Toronto where Karl Kolpanic did a presentation on his ZipKit framework, which he said is also compatible with iPhone development.
It's available over at BitBucket.org: http://bitbucket.org/kolpanic/zipkit/