转自:http://blog.csdn.net/offbye/article/details/6689322
1 使用 SystemProperties
详见SystemProperties相关的介绍。
2 使用 Settings.System.putInt
这种方式会保存变量到Settings 数据库中,飞行模式等的开关就是用这种方式实现的。
转自:http://blog.csdn.net/offbye/article/details/6689322
1 使用 SystemProperties
详见SystemProperties相关的介绍。
2 使用 Settings.System.putInt
这种方式会保存变量到Settings 数据库中,飞行模式等的开关就是用这种方式实现的。