无风子

2015年8月3日

JWPlayer第一个例子

摘要: JW Player研究 loading the palyer... 注意:如果发现有License Key的错误提示或者missing信息,说明你的key写错了. 在官网下载JWPlayer压缩包的位置,就可以看见你的key 阅读全文

posted @ 2015-08-03 11:51 无风子 阅读(413) 评论(0) 推荐(0) 编辑

2015年7月24日

1.1使用内置的Camara应用程序捕捉图像

摘要: 一: Camara应用程序包含的意图过滤器 通过意图利用Camara应用程序 Intent it = new Intent("android.media.action.IMAGE_CAPTURE"); startActivity(it); 注意:建议使用下面的方式... 阅读全文

posted @ 2015-07-24 00:33 无风子 阅读(240) 评论(0) 推荐(0) 编辑

2015年7月23日

Android框架之AndroidAnnotations详细讲解

摘要: 一:(1)一个activity如过使用AndroidAnnotions注入时,那么它在AndroidManifest.xml注册时,应该加入_ 比如:MainActivity的注册时 (2) 使用AndroidAnnotations不能注入私有变量 (3) 如果不加变量... 阅读全文

posted @ 2015-07-23 21:48 无风子 阅读(295) 评论(0) 推荐(0) 编辑

Android框架之AndroidAnnotations实战

摘要: 方案一: 下载androidannotations-bundle-3.3.2.zip 方案二: 楼主选用开发环境:android studio 新建项目 修改app 下的build.gradle 对应的是Gradle选项 apply plugin: 'c... 阅读全文

posted @ 2015-07-23 00:19 无风子 阅读(332) 评论(0) 推荐(0) 编辑

2015年7月22日

Android框架之AndroidAnnotations基础

摘要: 一:开源网址 https://github.com/excilys/androidannotations/wiki 二:AndroidAnnotation特点 (1)依赖注入 可以注入 views, extras, system services, resources ... 阅读全文

posted @ 2015-07-22 22:53 无风子 阅读(157) 评论(0) 推荐(0) 编辑

2015年7月17日

android之ViewFlipper

摘要: xml文件 activity-main.xml view1.xml MainActivitypackage com.viewflipperdemo;import android.app.Activity;import androi... 阅读全文

posted @ 2015-07-17 15:17 无风子 阅读(242) 评论(0) 推荐(0) 编辑

Android 动画

摘要: translate 移动动画 android:fromXDelta="0"android:toXDelta="-100%p"往左邊消失 android:fromXDelta="-100%p"android:toXDelta="0"從左邊進 android:fromXDelta=... 阅读全文

posted @ 2015-07-17 15:07 无风子 阅读(196) 评论(0) 推荐(0) 编辑

Android之GridView

摘要: 然后写适配器 阅读全文

posted @ 2015-07-17 11:17 无风子 阅读(155) 评论(0) 推荐(0) 编辑

Android之ProgressBar

摘要: 设置水平ProgressBar的背景 在drawable 建xml文件 ' 层次关系如上,顺序很重要 在控件中添加以下属性 android:progressDrawable="@drawable/bar... 阅读全文

posted @ 2015-07-17 08:33 无风子 阅读(255) 评论(0) 推荐(1) 编辑

2015年7月16日

Android之ImageSwitcher

摘要: 要点: (查看Api总结) 1:ImageSwitcher 继承 ViewSwitcher, (ViewSwitcher有继承FrameLayout ) 2: 要实现切图必须实现ViewSwitcher.ViewFactory接口中的makeView() 易错点: 1:... 阅读全文

posted @ 2015-07-16 22:21 无风子 阅读(379) 评论(0) 推荐(0) 编辑

导航