FLEX Mobile ANDROID AIR Sandbox
Posted: Fri Jan 10, 2014 12:01 pm
I again,
I'm working on an application for MAC/WINDOWS/ANDROID platform.
The goal of the app is to display many documents (PDF converted in P2F) in a frame inside application screen.
User can choice in differents documents to see. The documents files are downloaded in cryped(AES) mode.
At user demand, the crypted file is decrypted on the fly and written in the AIR application directory . After that , I use the 'source' property of P2F member and the document is visible.
On MAC or WINDOWS application , everything runs well.
My problem appear with ANDROID AIR's security management.
1) I don't know how to load a swf file elsewhere from application directory to P2F (sandbox violation error).
2) I don't know how to write/copy a file in the application directory (readonly directory).
With theses 2 points, I'm stuck !!
Thank you in advance for ideas or advices !
Loïc
PS : For now, I have decided to not include IOS in this development, due to swf loading limitation...
I'm working on an application for MAC/WINDOWS/ANDROID platform.
The goal of the app is to display many documents (PDF converted in P2F) in a frame inside application screen.
User can choice in differents documents to see. The documents files are downloaded in cryped(AES) mode.
At user demand, the crypted file is decrypted on the fly and written in the AIR application directory . After that , I use the 'source' property of P2F member and the document is visible.
On MAC or WINDOWS application , everything runs well.
My problem appear with ANDROID AIR's security management.
1) I don't know how to load a swf file elsewhere from application directory to P2F (sandbox violation error).
2) I don't know how to write/copy a file in the application directory (readonly directory).
With theses 2 points, I'm stuck !!
Thank you in advance for ideas or advices !
Loïc
PS : For now, I have decided to not include IOS in this development, due to swf loading limitation...