码迷,mamicode.com
首页 >  
搜索关键字:navigationview andro    ( 654个结果
Android---16---EditText中输入特定的字符
activity_main.xml: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" andro...
分类:移动开发   时间:2015-04-15 21:34:20    阅读次数:164
Android安全机制--权限
android的权限persion也是细粒度特权管理。 分类: Normal  Dangerous(安装时有提示的) Signature(用于厂商定义的权限,厂商开发的几个app能用,其他第三方不能用,用的的是厂商的private key来签名) SignatureOrSystem(厂商或是在system自带的能用的权限) 在frameworks/base/core/res/Andro...
分类:移动开发   时间:2015-04-15 13:36:43    阅读次数:156
Android MedieCodec硬解码mp3,wma
1MedieCodec支持4.1以上系统使用,是谷歌SDK的一个类。 2能够对mp3,wma格式音频文件解码 3解码前,需要MediaExactor提取文件信息,包括文件类型,采样率, package com.dawin.mediacodec; import java.io.IOException; import java.nio.ByteBuffer; import andro...
分类:移动开发   时间:2015-04-14 08:33:41    阅读次数:240
android-cardview简单使用
cardview是5.0以上版本的控件,是一个卡片式布局,继承framlayout,但是可以使用兼容包老兼容4.0以上的设备。 测试环境是android studio 1.加入依赖: compile 'com.android.support:cardview-v7:21.0.3' 2.写布局: <android.support.v7.widget.CardView xmlns:andro...
分类:移动开发   时间:2015-04-13 19:02:21    阅读次数:135
圆形progresbar
package com.example.circleprogressbar;import android.content.Context;import android.content.res.TypedArray;import android.graphics.Canvas;import andro...
分类:其他好文   时间:2015-04-11 17:37:48    阅读次数:269
JS - 移动设备终端的touch事件
移动设备的大部分交互都是通过触摸touch来实现的,是因为移动设备通常会有一个电容式触摸屏(capacitive touch-sensitive screen),以捕捉用户的手指所做的交互。对于触屏的交互式网站、游戏,触摸事件是相当重要的。Apple在IOS 2.0中引入了触摸事件API,Andro...
分类:移动开发   时间:2015-04-09 19:36:01    阅读次数:173
ViewPager控件实现欢迎页
1 package com.owen.welcomeviewpage; 2 3 import java.util.ArrayList; 4 import java.util.List; 5 6 import android.app.Activity; 7 import andro...
分类:其他好文   时间:2015-04-09 16:57:33    阅读次数:236
EditText的几个小点
1.EditText 由 TextView 继承而来2.android中inputType属性在EditText输入值时启动的虚拟键盘的风格有着重要的作用。这也大大的方便的操作。有时需要虚拟键盘只为字符或只为数字。所以inputType尤为重要。//文本类型,多为大写、小写和数字符号。 andro....
分类:其他好文   时间:2015-04-09 15:00:03    阅读次数:115
如何处理线程池的并发?
【前言】我们从事Android开发以来,都自始自终被灌输着处理耗时的任务时要在非UI线程做。于是我们有了各种处理并发的编程手段,无论是自己用new Thread(Runnable)新起工作线程(Worker thread),还是利用Andro...
分类:编程语言   时间:2015-04-07 21:53:41    阅读次数:448
android 开发:使用SwipeRefreshLayout实现下拉刷新
SwipeRefreshLayout google官方的下拉刷新控件,我是使用在ListView上的。定义布局文件: 1 LinearLayout 2 xmlns:android="http://schemas.android.com/apk/res/android" 3 andro...
分类:移动开发   时间:2015-04-03 10:58:57    阅读次数:156
654条   上一页 1 ... 46 47 48 49 50 ... 66 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!