在用户计算机上应用时保存信息 [英] saving info when application on user computer

查看:77
本文介绍了在用户计算机上应用时保存信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,所以,当我创建一个用于销售目的的应用程序(例如游戏)时,我如何在他们的计算机上存储信息而无需安装像sqlite或紧凑版等的东西。



例如,假设我创建了一个基于文本的游戏,它使用用户名来定义不同的用户。我如何保存当前用户的进度,以及我在哪里存储用户名?

我宁愿不使用SQL Compact Edition等,因为安装有点麻烦(即我必须将所有sql dll文件附加到程序文件夹等)

OK, so, when i create an application for sale purposes (e.g. a game) how can i store info on their computer without having to install things like sqlite or compact edition etc.

For example, say i created a text based game and it used a user name to define different users. How would i save the current users progress, and where would i store the user names?
I'd rather not use SQL Compact Edition etc, as it gets a bit messy with installation (i.e. i have to attach all the sql dll files to the programs folder etc)

推荐答案

我不知道手机访问本地存储但是可用。您没有理由将数据存储在本地文本文件中,可能是它的数量很小。
I don't know about phone access to the local storage but is is available. There is no reason you can store you data in local text files, presumably it is small in volume.


这篇关于在用户计算机上应用时保存信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆