真机调试时报错,提示application api 21,device api 10Automatic Target Mode: Unable to detect device compatibility. Please select a target device.打开真机调试时没有设备,而DDM...
2014.8.24
k860i的cm11的移植在中断了近两三个月之后又开始继续了,进度记录的日志上一篇已经没什么写的了,就完结掉它吧,重新开一篇日志做下篇好了。最近的战况是,在scue同学的努力之下,device部分已经可以通过编译,而且也拿到了官方给的一些源码(目前有没有用还不知道,不过可以编译通过),不过呢,坏消息是scue同学由于工作比较忙,已经全面放弃对k860i的努力。
现在遇到了一些问题,使用官方的源码,编译上cm11,刷入之后会出现开机第二屏黑屏的问题,抓了logcat,发现应该是surfac...
分类:
移动开发 时间:
2014-08-25 11:56:14
阅读次数:
395
一.允许网页宽度自动调整: "自适应网页设计"到底是怎么做到的?其实并不难。 首先,在网页代码的头部,加入一行viewport元标签。viewport是网页默认的宽度和高度,上面这行代码的意思是,网页宽度默认等于屏幕宽度(width=device-width),原始缩放比例(initial-scal...
分类:
移动开发 时间:
2014-08-24 15:19:42
阅读次数:
236
2014-08-23今天开始学习Node.js,在写一个文件上传的功能时候,调用fs.renameSync方法错误出错代码所在如下: 1 function upload(response,request){ 2 console.log("upload called"); 3 va...
分类:
Web程序 时间:
2014-08-24 00:17:21
阅读次数:
376
Android adb setup for ubuntu connect the device to ubuntu, use command $sudo lsusb will display like: mean: Spreadtrum device idVendor 1782 ?idProduct 5d24 1, touch the file: ~/.android/adb_usb.in...
分类:
移动开发 时间:
2014-08-23 03:36:20
阅读次数:
249
以下各值常见于所有的基本配置文件中:* DEVICE=name,这里name是物理设备的名字(动态分配的PPP设备应当除外,它的名字是“逻辑名”。* IPADDR=addr, 这里addr是IP地址。* NETMASK=mask, 这里mask是网络掩码。* NETWORK=addr, 这里addr...
分类:
Web程序 时间:
2014-08-22 23:42:49
阅读次数:
469
#include "cuda_runtime.h"#include "device_launch_parameters.h"#include "cublas_v2.h"#include "math.h"#include #include #include #include #include #if....
分类:
其他好文 时间:
2014-08-22 19:21:19
阅读次数:
294
有几个概念以及相关公式先理解下:1、dp:device independent pixels(设备独立像素),是像素和密度的比dp = px / density2、dpi(dot per inch每英寸的点数)和ppi相等,是屏幕对角线的像素数和屏幕尺寸的比例dpi = ppi = (√(scree...
分类:
移动开发 时间:
2014-08-22 16:06:58
阅读次数:
250
net_device->feature| NETIF_F_NO_CSUM: No need to use L4 checksum, it used for loopback device.| NETIF_F_IP_CSUM: the device can compute L4 checksum in...
分类:
系统相关 时间:
2014-08-22 14:26:59
阅读次数:
260
问题1:ifconfig 只看到了lo未看到eth0ifconfig命令查看网络设置,只看到了lo,并未看到eth0说明网卡设置出现了问题。尝试使用ifconfig eth0,提示找不到device设备。通过lspci查看网卡设备,发现了Ethernet controller网卡设备。该问题为:网卡...
分类:
其他好文 时间:
2014-08-22 14:14:48
阅读次数:
319