EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Solfs for android

Posted: 11/30/2012 01:57:41
by swapna nyathani (Basic support level)
Joined: 11/29/2012
Posts: 8

Hi Sir,

I am trying to use SOLFS(application edition) for an android application(Android 4.2 and eclipse). I installed SOLFS (evaluation).
I need to create a storage which can store some files documents,audio and video.

Am able to create instance of SOLFSStorage Class and set the registration key.

but i am stuck in opening the storage like what exactly to pass in setFileName,
is this an encoded string value or folder path in local file system.

setFileName(String value);

or guide me if i am going wrong.

And also let me know if there is any link or reference in net to go through which can help me in this project, as there are no related links i can go through with this combination of work environ.

Thanks in advance.

Posted: 11/30/2012 05:00:52
by swapna nyathani (Basic support level)
Joined: 11/29/2012
Posts: 8


This is my code
SolFSStorage m_Storage = new SolFSStorage();
int pagesize = 512;
StorageOpenMode mode = StorageOpenMode.CreateNew;

I got an exception for this code saying

"eldos.solfs.SolFSException: Read-only file system".

how can i clear this and move further in creating storage...

please help

Thanks in Advance,

Posted: 11/30/2012 05:46:26
by Alexander Plas (Team)


You have to set fully qualified file name in the filesystem. I suppose the OS treats passed "myAndroidStorage" filename as filename somewhere where your application has no write rights.
Posted: 12/01/2012 06:40:28
by swapna nyathani (Basic support level)
Joined: 11/29/2012
Posts: 8

Hi Plas,

Thanks for your reply.
I think i have to pass a file from external Storage of Android Device.
I am working on it ..
thanks for your quick response.




Topic viewed 3250 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!