资料整理
文章平均质量分 69
我是一个码农
这个作者很懒,什么都没留下…
展开
-
android 的一种存储数据的方法
public static void saveRMS(){ SharedPreferences.Editor sharedata = MeteoroidActivity.instance. getSharedPreferences("jifei_dian", 0).edit(); sharedata.putBoolean("jihuo", jihuo); sharedata.put原创 2013-07-12 08:56:47 · 313 阅读 · 0 评论 -
关于一大段英语单词字符输出按指定屏幕长度和换行输出在屏幕上的方法,且换行时如果是一个单词没有展示完,会在最后处加上“—”字符。在第二行继续展示的方法。
1。定义一个字符,来放你要输出的文字 String strAbout="My father was a self-taught mandolin player. He\n"+" was one of the best string instrument players in\n"+" our town. He could not read music"; 2.再定义一个字符数组,把你要原创 2013-07-15 20:16:26 · 416 阅读 · 0 评论