I don't know how to load (decompress) a .7z file (compress by 7-zip) with action script.
Can you give me a demo please?
I think you can't do that simply... the SDK only exists for C/C++/C#/Java languages. By the way it's an open source project so you are free to port the SDK in actioncscript.
Related
I am currently working on a hybrid app for iOS. I am using Ionic/Cordova to make it. It's my first time using it.
I want to be able to read an xlsx file that is currently on my iPad and show that data in my app in a table format. I have read about the ngCordova file plugin at http://ngcordova.com/docs/plugins/file/. I have also read about AlaSQL.js at https://github.com/agershun/alasql. Can I use these together to do my task? Or should I use one over the other?
I find the documentation for the file plugin to be a bit confusing. Can someone give me a pointer or example of accessing the file and outputting it?
Thanks!
try to use file plugin to retrieve directory list and fileOpener2 plugin to open xlsx file.
I'm trying without success to open some local files with the CordovaFileopener2
Can somebody post a sample of code on how generate a local file path?
I need for example to point www/pdf/document1.pdf
Thanks a lot for your help
Alfonso
Hi I have uploaded a sample project for file Transfer in git hub
Please have a look and reply, if you have any queries
while im working on simple animation like text rolling.. in that i created external xml for menus. As im new to flash im learning it from tutorial, but its not clear. I download tweenmax rar file. i dont know how to import that file into my project. guide me
when you want to use a tween class.
either save the FLA file in the same directory of the tweenlibrary so the .com folder(tween library) would be present next to your flash project file or go into the classpath of your document and link it there, your best to look at the documentation for this method through the provider of the tween class.
Seems quite simple to select a file using webworks, what's not so simple is to select a folder, any one managed this?
You would need to zip the folder into a single file and then run webworks on it.
As far as I know you can't run a webworks function on a folder.
I guess your answer is correct - you CANNOT select a folder using websworks, the method I used was to select a file in that folder, get that the location string of the file and remove the file name.
Obviously, if you don't have a file in that folder, it doesn't work.
Sucky, sucky.
It depends on the platform. There is a blackberry.io.dir API that's supported on OS 5/6/7 and PlayBook:
https://developer.blackberry.com/html5/apis/blackberry.io.dir.html
BlackBerry 10 and PlayBook also support the HTML5 FileReader API which can be used to get at directory info:
https://developer.blackberry.com/html5/apis/directoryentry.html
There is another dirty workaround, you can use FilePicker with mode
mode: blackberry.invoke.card.FILEPICKER_MODE_SAVER_MULTIPLE
This will allow you to select even an empty folder. The downside is that the user needs to click the Save button on the top of the card in order to get the folder path.
Sample code:
// filepicker options
var details = {
mode: blackberry.invoke.card.FILEPICKER_MODE_SAVER_MULTIPLE,
};
blackberry.invoke.card.invokeFilePicker(details, function(path) {
alert('' + path);
},
I'm currently writing a mobile app (hopefully iOS or android) using the jquery mobile framework and phonegap.
It'll need to export/send csv files in some way to the users, but I'd be interested to hear ideas or suggestions about the best way of doing so. If this can be done on the js side of the app that'd be ideal as it's what I'm most familiar with. A couple of options I've considered are:
Uploading the file using the google docs api
Writing the file to the file system (then export e.g. via iTunes)
I'm new to this so any suggestions gratefully received! Thanks for your help
There are a few options that you could use depending on how you want it to work.
The main options would be to
Use the File API (http://docs.phonegap.com/phonegap_file_file.md.html#File) to store files on the filesystem of the device.
Upload the file to a server using a standard XMLHttpRequest.
Write a native PhoneGap plugin on each platform that you are interested in that could connect to Google docs.
As Dave pointed out you can write files with the FILE API. I have used the file api on iOs to write custom log files and havent found any yikes so far.