bitdream / loon-simple

Automatically exported from code.google.com/p/loon-simple
0 stars 0 forks source link

老大!求教数据存储类的用法!!!!!!! #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Android下想用store包下的RecordStore类存储游戏数据.但是实在不��
�用啊!
心想数据不多,就用Android的文件读写来存储吧,可是screen里�
��得不到Context,根本没法读写文件啊。。。。。。。。郁闷��
�!!!!! 教教我RecordStore吧!

Original issue reported on code.google.com by GandL...@gmail.com on 23 Dec 2011 at 9:06

GoogleCodeExporter commented 9 years ago
你可以在activity里面新建一个全局的数据库处理对象嘛,然后
在screen中调用啊

Original comment by wuyinqiu...@gmail.com on 23 Dec 2011 at 9:17

GoogleCodeExporter commented 9 years ago
在Activity类里定义的变量,在Screen类里怎么获得? 
又不是sington

Original comment by GandL...@gmail.com on 26 Dec 2011 at 1:59