I've followed the directions on "How to - Protect persistent objects from access by unauthorized applications
" in rims knowledge base and it all works when I build my .cod with Eclipse and the Blackberry developer tools for eclipse.
I'm not allowed to post links to the doc
In my code I have the following as documented at the url above
int moduleHandle = ApplicationDescriptor.currentApplicationDescriptor().getModuleHandle();
CodeSigningKey codeSigningKey = CodeSigningKey.get( moduleHandle, "MDW" );
When i run my eclipse builds i get a valid codeSigningKey but when i run the bb ant builds the codeSigningKey is NULL.
Has anyone ran into this problem ?
As far as i can tell eclipse and RAPC are doing some magic when they see the .key file in my src directory.
thanks for any help