I have tested your code and it works fine, at least in debug mode.
PD: I'm using FB for windows in an XP.
Thanks for trying this out. What I ended up doing is I restored the XP system to factory shipped state :) After that the EncryptedLocalStore worked fine. I was using a previously used XP system. Previous owner might have removed some thing that affected ELS when he cleaned up the machine.
I am trying to store credentials on my linux box using the ELS. I am getting a ELS database access error.But when I checked the Disk the directory is created with the AIR/ELS/<application id>
// My Code to write to ELS.
air.EncryptedLocalStore.setItem("passwd", (new air.ByteArray()).writeUTFBytes(passwd));
Is it something I need to initialize before I write to the ELS.
Any help would be appreciated.
TIA - dsmrk