找回密码
 立即注册
AlarmDMDemodamingclassMainActivity | android开发 2022-10-27 32 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
最近写了个闹钟的程序,看到SharedPreferences在一个程序中可以共享数据,SharedPreferences是一个轻量级的键值存储机制,只可以存储基本数据类型。我就拿来用用,没想到SharedPreferences太好了,真是轻量级的保存数据的好的工具,比sqlite好用多了!今后我又多了一种编程思想了,哈哈,所以如今共享给大家,格外注意这点:这个无法直接在多个程序间共享Preferences数据。程序关闭再打开时刻依然保存你前次设置的时刻。这即是Preferences的效果!格外声明:想要源码的请在博客的留言版中留下邮箱。转发请标明出处:blog.csdn/wdaming1986/article/details/6705902大家也可以去csdn下载,下载地址:download.csdn/source/3536834
AlarmDMDemo-11-08-21\.settings\org.eclipse.core.resources.prefs
AlarmDMDemo-11-08-21\bin\com\cn\daming\AlarmAlert$1.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\AlarmAlert.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\CallAlarm.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$1$1.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$1.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$10.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$2.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$3$1.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$3.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$4.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$5.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$6.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$7.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$8.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$9.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R$attr.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R$drawable.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R$id.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R$layout.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R$string.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R.class
AlarmDMDemo-11-08-21\bin\AlarmDMDemo-11-08-21.apk
AlarmDMDemo-11-08-21\bin\classes.dex
AlarmDMDemo-11-08-21\bin\resources.ap_
AlarmDMDemo-11-08-21\gen\com\cn\daming\R.java
AlarmDMDemo-11-08-21\res\drawable-hdpi\icon.png
AlarmDMDemo-11-08-21\res\drawable-ldpi\icon.png
AlarmDMDemo-11-08-21\res\drawable-mdpi\clock.png
.....

(Recently I wrote an alarm clock program. I saw that SharedPreferences can share data in a program. SharedPreferences is a lightweight key value storage mechanism that can only store basic data types. I used it. I didn't expect SharedPreferences to be so good. It's really a lightweight tool for saving data. It's much easier to use than sqlite! In the future, I have another programming idea. Ha ha, so now I want to share it with you. Pay special attention to this: you cannot directly share Preferences data among multiple programs. When the program is closed and opened again, the last time you set it will still be saved. This is the effect of Preferences! Special statement: If you want the source code, please leave an email in the message board of your blog. For forwarding, please indicate the source: blog. csdn/wdaming1986/article/details/6705902 You can also go to csdn to download. Download. csdn/source/3536834
AlarmDMDemo-11-08-21\.settings\org.eclipse.core.resources.prefs
AlarmDMDemo-11-08-21\bin\com\cn\daming\AlarmAlert$1.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\AlarmAlert.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\CallAlarm.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$1$1.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$1.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$10.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$2.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$3$1.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$3.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$4.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$5.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$6.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$7.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$8.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity$9.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\MainActivity.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R$attr.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R$drawable.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R$id.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R$layout.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R$string.class
AlarmDMDemo-11-08-21\bin\com\cn\daming\R.class
AlarmDMDemo-11-08-21\bin\AlarmDMDemo-11-08-21.apk
AlarmDMDemo-11-08-21\bin\classes.dex
AlarmDMDemo-11-08-21\bin\resources.ap_
AlarmDMDemo-11-08-21\gen\com\cn\daming\R.java
AlarmDMDemo-11-08-21\res\drawable-hdpi\icon.png
AlarmDMDemo-11-08-21\res\drawable-ldpi\icon.png
AlarmDMDemo-11-08-21\res\drawable-mdpi\clock.png
.....)

[下载]11233729618.rar




上一篇:史上最全的Android中文版API
下一篇:android 反编译教程和工具