Windows store apps - detect first launch of the app

筅森魡賤 提交于 2019-12-11 02:28:01

问题


I need to show a "welcome screen" (something like a license) when the user had first launched the application. This screen should be shown only once per user. Could someone guide me with this since I'm a beginner in windows development?


回答1:


You can use local storage or settings to store data on whether the "welcome screen" has been shown or not and use that to determine if the screen has to be shown on startup.




回答2:


I don't know if there is something like LicenceInfo().
But for sure you can do it with IsolatedStorageSettings:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj714090(v=vs.105).aspx



来源:https://stackoverflow.com/questions/19838126/windows-store-apps-detect-first-launch-of-the-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!