Originally Posted by RLord321
When trying to read/save to a store, you have to call getPersistentObject on the PersistentStore class. My question is where do you get this key? There are many sample applications that has a key already in place but don't explain where they got it...
Do I get this key when I pay $100 to sign my application? If not, what key do I pass to this function? In the simulator I put some random number in there and it works fine, but I know after I sign my cod file, I can just use a random number on the device.
As stated by RLord321 the persisitence key is what that is created by the user during the creation of persistence store..
It is nothing but a long value of a string.. Which can be created from the JDE ..
Steps : type a string select it and right click from the JDE which shows convert string to long. Then you will get the value.
This key is essential to store a object in the persistence store and retrieve the object.