03-02-2013 03:37 AM
I am storing some data using RMS store in my application. But after deletion of the Application from the phone and restarting the phone, the RMS Store is not deleted. When again i am install the application, i am able to see the old datas. In this link it is mentioned that:
" Since MIDP record stores can only be accessed by the application that owns them (there is no data sharing), you do not need to keep the data once the application is removed. The only exception to this rule is if the application is being replaced as part of an upgrade using the Application Loader tool, a wireless download, or the application is pushed out from the BlackBerry® Enterprise Server."
But i am not upgrading the application or not changing any thing in the application. I am just downloading the same application using OTA.
So is there any way to delete the RMS store while uninstalling the application??
03-04-2013 09:45 AM
Please make sure your persistence object should be user define. Do not store predefine object like (String,Vector etc)
Create class implement persistable than store the object of this class.
03-04-2013 01:19 PM
I don't use RMS, but my impressions was that it did get deleted when your application is deleted.
Just to confirm, you delete the app, reboot, and then reinstall - and the old data is still there?
03-05-2013 12:30 AM
Yes. Sometimes the old data is still there. And Some times it will not ask for reboot after deletion the application. In that case, after reinstall the app, i am able to see the old data in the list.
03-05-2013 05:39 AM
@ arindamhit Have you tried my way??
03-05-2013 06:50 AM
@kamal_nigam: The OP is talking about RMS - not PersistentStore. Are you familar with RMS.
In addition, could you please re-read your original post and perhaps expain it another way, it did not make much sense to me sorry.
@OP: sorry, I have no experience of your problem and don't use RMS myself. So I can't help further. I just wanted to clarify the situation for someone else who could perhaps help.
03-05-2013 12:45 PM
Actually speaking i did not get what do you mean by string or object. Actually speaking, the RMS store is implemented in the library which wr are writing. In the application, we are extending the class and storing the images or data.
03-05-2013 02:00 PM - edited 03-06-2013 04:09 AM
What I think kamal was trying to suggest was that instead of using RMS, you could use PersistentStore. I use PersistentStore, but in fact in your environment, where I presume the library will be used by a number of client applications, use of PersistentStore is a bit more complicated.
This explains other options you might consider.
03-06-2013 01:46 AM