(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
.....)