语言

Menu
Sites
Language
How to clear AppRegistry

I would like to be able to clear the AppRegistry before I add new values.

However, I could not find a method to do this.

Does anyone have experience with the AppRegistry class and knows if it is possible to clear all values at once? Or is there any good alternative to AppRegistry to save the state of an application that can do this?

Thank you for your help.

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

2 回复
Zoltan Puski
AFAIK now way to clear with one call the Tizen::App::AppRegistry, you have to remove all the keys individually! However, if you use the Tizen::Io::Registry, then you can create a section for all of your data, and then just remove that section
Vandersteene
Thank you. Tizen::Io::Registry is a good alternative and should work for me.