开发者

BlackBerry. How do you know that the application is launched for the first time after installation?

开发者 https://www.devze.com 2023-03-29 23:49 出处:网络
How do you know that the application is launched for the first time after installation? And how to 开发者_开发百科do what the code for the application uninstall?You have to store a value in the Persi

How do you know that the application is launched for the first time after installation?

And how to 开发者_开发百科do what the code for the application uninstall?


You have to store a value in the PersistentStore. When getting the value for the first time from it you will obtain a null value, meaning that the application is launched for the first time. So you do your work and then save a value into the persistentObject to avoid getting null again. And that's it

0

精彩评论

暂无评论...
验证码 换一张
取 消