PFlores81 Active Member Licensed User Longtime User Jul 15, 2012 #1 Not sure if anyone has asked this, but how can I implement the encryption library to encrypt specific folders on the SD card ? I've read through just about every thread about encryption but the only one that comes close is encrypting jpegs with the RAF library.
Not sure if anyone has asked this, but how can I implement the encryption library to encrypt specific folders on the SD card ? I've read through just about every thread about encryption but the only one that comes close is encrypting jpegs with the RAF library.
Erel B4X founder Staff member Licensed User Longtime User Jul 15, 2012 #2 There is no automatic way to do it. You will need to read each file and then store it again encrypted. Upvote 0
There is no automatic way to do it. You will need to read each file and then store it again encrypted.
PFlores81 Active Member Licensed User Longtime User Jul 15, 2012 #3 Damn, OK. I could force the android encryption however I need to be able to truly encrypt certain files. Thanks Erel. HTC = Hate The Consumer Last edited: Jul 15, 2012 Upvote 0
Damn, OK. I could force the android encryption however I need to be able to truly encrypt certain files. Thanks Erel. HTC = Hate The Consumer
PFlores81 Active Member Licensed User Longtime User Jul 15, 2012 #4 Erel, Would it be possible for you to give me a brief example on reading a file or copying then encrypting.. it seems everything I've read there is no tutorial or exact reference given. Thanks again Upvote 0
Erel, Would it be possible for you to give me a brief example on reading a file or copying then encrypting.. it seems everything I've read there is no tutorial or exact reference given. Thanks again
Erel B4X founder Staff member Licensed User Longtime User Jul 16, 2012 #5 You can read a file into a bytes array with the code in this post: http://www.b4x.com/forum/basic4andr...10012-writing-image-byte-array.html#post55567 Then there are several options. The simplest one is to use RandomAccessFile.WriteObject and save the bytes array. Upvote 0
You can read a file into a bytes array with the code in this post: http://www.b4x.com/forum/basic4andr...10012-writing-image-byte-array.html#post55567 Then there are several options. The simplest one is to use RandomAccessFile.WriteObject and save the bytes array.
PFlores81 Active Member Licensed User Longtime User Jul 16, 2012 #6 Erel said: You can read a file into a bytes array with the code in this post: http://www.b4x.com/forum/basic4andr...10012-writing-image-byte-array.html#post55567 Then there are several options. The simplest one is to use RandomAccessFile.WriteObject and save the bytes array. Click to expand... Thanks Erel. Ill test it out with a simple small zip file and text doc.. Upvote 0
Erel said: You can read a file into a bytes array with the code in this post: http://www.b4x.com/forum/basic4andr...10012-writing-image-byte-array.html#post55567 Then there are several options. The simplest one is to use RandomAccessFile.WriteObject and save the bytes array. Click to expand... Thanks Erel. Ill test it out with a simple small zip file and text doc..