在android中有五种保存数据的方法,分别是
Shared Preferences
Store private primitive data in key-value pairs.
对应属性的键值对属性文件存储
Internal Storage
Store private data on the device memory.
设备内存存储
External Storage
Store public data on the shared external storage.
外部存储器存储,如内存卡
SQLi...
                            
                            
                                分类:
移动开发   时间:
2014-08-27 23:31:38   
                                阅读次数:
447
                             
                    
                        
                            
                            
                                自己记着当笔记,水平有限,仅供参考## Audio policy configuration for generic device builds (goldfish audio HAL - emulator)#这是模拟器的Audio policy配置## Global configuration s...
                            
                            
                                分类:
其他好文   时间:
2014-08-27 18:21:28   
                                阅读次数:
227
                             
                    
                        
                            
                            
                                一、网页手机wap2.0网页的head里加入下面这条元标签,在iPhone的浏览器中页面将以原始大小显示,并不允许缩放。 <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, max...
                            
                            
                                分类:
Web程序   时间:
2014-08-26 20:02:47   
                                阅读次数:
263
                             
                    
                        
                            
                            
                                关于ios BLE在后台自动重连的问题? 找到一个国外网站是这么描述的 Re: How to make the BTLE APP to auto connect with BTLE device when iPhone4S power on?沿途见识[2] When backgrounding, you can still s...
                            
                            
                                分类:
其他好文   时间:
2014-08-26 15:41:36   
                                阅读次数:
511
                             
                    
                        
                            
                            
                                最近一段时间都在用A31评估几颗5M的摄像头,包括ov5640、MT9P001、ov2710。A31下移植不同的摄像头驱动的好处在于,驱动结构规范化,采用video_device下的suddev的架构方式来处理sensor。A31下的移植主要关注几个配置文件+对硬件驱动的初始化配置即可。调试的目的是先跑起来后优化。以下面的COMS为列,我们需要主要摄像头的以下几个电压值:典型5M摄像头的芯片电压配...
                            
                            
                                分类:
其他好文   时间:
2014-08-26 15:29:36   
                                阅读次数:
445
                             
                    
                        
                            
                            
                                Run-time PM.每个device或者bus都会向run-time PM core注册3个callbackstruct dev_pm_ops {...int (*runtime_suspend)(struct device *dev);int (*runtime_resume)(struct ...
                            
                            
                                分类:
系统相关   时间:
2014-08-25 22:37:35   
                                阅读次数:
425
                             
                    
                        
                            
                            
                                新版linux系统设备架构中关于电源管理方式的变更 based on linux-2.6.32一、设备模型各数据结构中电源管理的部分linux的设备模型通过诸多结构体来联合描述,如struct device,struct device_type,struct class, struct device...
                            
                            
                                分类:
系统相关   时间:
2014-08-25 22:34:14   
                                阅读次数:
392
                             
                    
                        
                            
                            
                                在ext2read中读取ext4文件系统的代码中,读取硬盘中的信息时,定义了以下的宏,那么这个宏是什么意思呢?
#define DEVICE    "\\\\.\\PhysicalDrive0"是什么意思?
由于"\"是C/C+中转义符, "\\\\.\\"就相当于\\.\,那么以上的宏定义中的“\\\.\\PhysicalDrive0”就等价于“\\.\PhysicalDrive0”
...
                            
                            
                                分类:
其他好文   时间:
2014-08-25 21:16:04   
                                阅读次数:
236
                             
                    
                        
                            
                            
                                参考:http://www.codeproject.com/Articles/43586/File-System-Filter-Driver-Tutorial关键点:To perform attaching, we create a new device object with the device...
                            
                            
                         
                    
                        
                            
                            
                                1. Program -- > execute in background ---- >2. output device: MAIL ---- > PRINT OUT immediately3. setup the datetime schedule
                            
                            
                                分类:
其他好文   时间:
2014-08-25 16:20:04   
                                阅读次数:
178