码迷,mamicode.com
首页 >  
搜索关键字:android l ble    ( 123678个结果
Android ImageSwitcher和Gallery的使用
前几天,听说室友的老师要求他们做一个图片效果。其效果如下图所示(可左右滑动切换图片):我当时晃眼一看,第一感觉好高级的样子。我还没做过这种效果呢,但室友说他们同学已经有人做出来了,我觉得既然有人做出来了,那么我也应该做出来,于是上个星期五的时候在教室研究了一下午,最后在网上找到了两个Demo都与这个...
分类:移动开发   时间:2014-04-28 18:30:56    阅读次数:753
onTouch 和onTouchEvent区别
public boolean dispatchTouchEvent(MotionEvent event) { if (mOnTouchListener != null && mOnTouchListener.onTouch(this, event)) { retu...
分类:其他好文   时间:2014-04-28 18:01:29    阅读次数:556
Conceptual blockbusting- chap2 perceptual blocks
Page 30Perceptual blocks are obstacles that prevent the problem-solver from clearly perceiving either the problem itself or the information needed to ...
分类:其他好文   时间:2014-04-28 00:54:37    阅读次数:403
How can I add a new user as sudoer using the command line?
Two ways to use sudo command for a standard user account:First,If you want to use sudo command for a standard user account, then you need to add this ...
分类:其他好文   时间:2014-04-28 00:42:49    阅读次数:616
mini6410-JNI-led
一、编写JNI模块当安装好NDK编译环境后,会在它的目录下找到sample目录,它里面有一些例子,可以参考这些例子来写我们自已的模块。1、在/home/android/文件夹下,新建“ledjni”文件夹。2、/ledjni/jni/目录下,新建“led-jni.c”led-jni.c文件[html...
分类:其他好文   时间:2014-04-28 00:30:59    阅读次数:679
Cellular Traffic Offloading
Reference:[1] Mobile Data Offload for 3G Networks[2] Mobile Data Offloading through Opportunistic Communications and Social Participation[3] Femtocell...
分类:其他好文   时间:2014-04-27 23:49:41    阅读次数:649
Android USB大容量存储时SD卡状态监听(转)
对SD卡状态监听,到现在为止我知道的有两种方式:1.注册StorageEventListener来监听sd卡状态StorageEventListener中有onStorageStateChanged()方法,当sd卡状态改变时,此方法会调用,对各状态的判断一般会用到Environment类,此类中包...
分类:移动开发   时间:2014-04-27 23:45:49    阅读次数:637
JNI文件中命名类与JAVA文件中匹配
jni.c中注册中int register_android_boa(JNIEnv *env){ jclass clazz; static const char* const kClassName = "com/lxl/ledClass"; //命名的类 /* look up the class */...
分类:编程语言   时间:2014-04-27 23:43:52    阅读次数:521
android开发——Eclipse环境下代码编辑最常用快捷键集锦(来了就不能空手而归)
Ctrl+D:删除光标所在行Ctrl+/ :注释选中行 ;Ctrl+\:注销选中行Ctrl+Shift+/:注释选中的java或xml代码块; Ctrl+Shift+\:注销选中的Java或xml代码块。(形式:/* */ 或 )shift + alt + j或/**+Enter(回车键):添加.....
分类:移动开发   时间:2014-04-27 23:06:14    阅读次数:668
一些编程语录
【一些编程语录】1、If debugging is the process of removing software bugs, then programming must be the process of putting them in.– Edsger Dijkstra 如果调试程序是移除臭....
分类:其他好文   时间:2014-04-27 22:56:14    阅读次数:543
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!