一、简介 二、代码1.java (1)MainActivity.java 1 import android.app.Activity; 2 import android.content.Context; 3 import android.hardware.Sensor; 4 import andro
分类:
移动开发 时间:
2016-02-22 17:35:44
阅读次数:
183
Spring事务管理什么是事务回滚?举个例子:比如转账操作,甲先成功汇给乙现金,若乙没能取款成功,那么甲的现金就应该自动退还Spring提供了很好的事务管理体系Spring要进行事务管理,首先需要导入以下jar包:cglib-nodep-2.1_3.jarorg.springframework.transaction-3.1.1.RELEA..
分类:
编程语言 时间:
2016-02-21 06:40:42
阅读次数:
179
android.hardware.Camera类及其标准接口介绍,API level 19 http://developer.android.com/reference/android/hardware/Camera.html
分类:
移动开发 时间:
2016-02-20 17:28:52
阅读次数:
132
很多时候我们需要从 HAL 层(Hardware Abstract Layer)传一个标志给 kernel 层。一般这种传递是不能直接通过定义全局变量来实现的。 此时可以通过读写文件来实现该标志。 譬如我们有这样一个需求,在录像过程中去掉持续对焦功能,而录像预览时开启持续对焦功能。 在 HAL 层中
分类:
其他好文 时间:
2016-02-20 17:23:50
阅读次数:
236
如何修改 zoomRatio 修改过程: 1, 先找到 gZoomRatio 数组序列的值 Location: V:\project_code\project_name\ALPS.JB.MP.V1_W_20120919\mediatek\platform\mt6577\hardware\camera
分类:
移动开发 时间:
2016-02-20 15:58:14
阅读次数:
210
用eclipse创建android虚拟机右侧home键盘、返回键等不可用的解决方法:打开AndroidVirtualDeviceManager,查看虚拟机详情:打开图片中的Path路径,打开config文件;把图中所示的参数改为yes保存,重新启动eclipse即可;
分类:
移动开发 时间:
2016-02-19 14:35:36
阅读次数:
263
问题描述: 上一篇讲到解决Appcompat_V7问题要降低adt版本,于是就换旧版本22.3.0啊,重新打开Eclipse,立马弹出: This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Curr
分类:
移动开发 时间:
2016-02-17 19:11:43
阅读次数:
171
问题: ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking support requires these orientations: 'UI Interface Orientation Portrait, UI Interface Orienta
分类:
Web程序 时间:
2016-02-17 12:46:07
阅读次数:
1525
@requires_authorization @author johnsondu @create_time 2015.7.10 10:35 @url https://leetcode.com/problems/zigzag-conversion/ /** * 对于此题,仅仅须要找出相应的字母所在的
分类:
其他好文 时间:
2016-02-16 16:45:28
阅读次数:
134
WM_DEVICECHANGE消息 查阅MSDN得知: The framework calls this member function to notify an application or device driver of a change to the hardware configurati
分类:
编程语言 时间:
2016-02-16 11:43:04
阅读次数:
564