重装操作系统后,要重新配置Android开发环境。配置成功后,添加原本项目时却出现了错误!Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fi...
分类:
移动开发 时间:
2015-03-20 16:09:50
阅读次数:
156
实现“摇一摇”功能,其实很简单,就是检测手机的重力感应,具体实现代码如下:一、在 AndroidManifest.xml 中添加操作权限二、实现代码package com.xs.test;import android.app.Activity;import android.hardware.Sens...
分类:
移动开发 时间:
2015-03-19 06:09:21
阅读次数:
177
Intel提供了一个叫HAXM的虚拟硬件加速技术,全称为:Intel Hardware Accelerated Execution Manager.
只要你的CPU是intel的产品并且支持VT(virtualization Technology)就可以使用HAXM技术将你的模拟器的速度提升至真机的水平。目前此技术支持苹果的Mac系统和Windows系统,但Linux平台不在此列。
要知道And...
分类:
移动开发 时间:
2015-03-18 14:06:13
阅读次数:
286
第三章创建对象的基本模式方法一:门户大开型var Book = function(isbn, title, author) { if(isbn == undefined ) throw new Error ('Book constructor requires an isbn.'); this.is...
分类:
编程语言 时间:
2015-03-16 20:59:20
阅读次数:
199
问题:设置完了RTL为true之后mannifest.xml出现Android Call requires API level 21 (current min is 8)的警告原因:minSdkVersion版本过低1 解决方法:更改minSdkVersion版本,higher1
分类:
移动开发 时间:
2015-03-14 16:36:39
阅读次数:
367
yuminstallhttp://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-redhat94-9.4-1.noarch.rpmyuminstallpostgresql-server发现如下问题:Error:Package:postgresql93-contrib-9.3.5-1PGDG.rhel6.i686(pgdg93)Requires:libcrypto.so.10(libcrypto.so.10)supostgresyuminstal..
分类:
数据库 时间:
2015-03-12 15:31:00
阅读次数:
494
android源码目录下的build/envsetup.sh文件,描述编译的命令- m: Makes from the top of the tree.- mm: Builds all of the modules in the current directory.- mmm: Builds all...
分类:
其他好文 时间:
2015-03-11 21:22:50
阅读次数:
140
练习3-7原文Exercise 3.7. Consider the bank account objects created by make-account, with the password modification described in exercise 3.3. Suppose that our banking system requires the ability to make j...
分类:
其他好文 时间:
2015-03-11 19:41:24
阅读次数:
132
在编译VLC时遇到提示: /usr/share/automake-1.14/am/ltlibrary.am: warning: ‘lib/libtiger.la‘: linking libtool libraries using a non-POSIX /usr/share/automake-1.14/am/ltlibrary.am: archiver requires ...
分类:
系统相关 时间:
2015-03-11 13:09:38
阅读次数:
738
1.virtual memory =physical memory + swap2.page fault:a type ofinterrupt, calledtrap, raised by the hardware when a running program accesses amemory pa...
分类:
其他好文 时间:
2015-03-10 21:11:42
阅读次数:
127