码迷,mamicode.com
首页 >  
搜索关键字:@suppresslint    ( 119个结果
安卓中級教程(6):annotation的基本用法
1 package com.example.ele_me.activity; 2 3 import android.annotation.SuppressLint; 4 import android.app.Activity; 5 import android.content.Intent; 6.....
分类:移动开发   时间:2015-05-18 20:14:44    阅读次数:132
sqlite数据库中第一条数据查不出来!
/** *  * Title: selectAllPhone  *Description:查询所有的Phone对象  * @return  * @see * com.sms.ntlm.dao.PhoneDao#selectAllPhone()      */ @SuppressLint("SimpleDateFormat") @SuppressWarnings("deprecation"...
分类:数据库   时间:2015-05-15 17:56:32    阅读次数:227
安卓中級教程(1):@InjectView
1 package com.mycompany.hungry; 2 3 import android.annotation.SuppressLint; 4 import android.app.Activity; 5 import android.content.Intent; 6 import.....
分类:移动开发   时间:2015-05-14 11:35:06    阅读次数:199
Android 手势密码
最近看了慕课网一老师的视频,关于手势密码的研究,挺不错的,不过没上传源码,还有就是旋转角度的计算个人感觉不太好,于是整理出源代码如下: import java.util.ArrayList; import java.util.List; import mg.lanyan.ui.R; import android.annotation.SuppressLint; import android.c...
分类:移动开发   时间:2015-05-12 13:43:51    阅读次数:135
Android 仿360桌面小人
首先自定义FloatsWindowView,用于显示动画小人。import android.annotation.SuppressLint;import android.content.Context;import android.content.Intent;import android.grap...
分类:移动开发   时间:2015-05-11 17:32:04    阅读次数:166
android json实现网络请求 和普通的http请求 还有https请求安全认证
android 实现http请求很多种,和服务器对接需要了解  在 Android 下,Android SDK 已经为我们封装好了整个与 JSON 有关的操作,使用非常方便 直接上代码 /** * 发送 http 请求 *  * @param url */ @SuppressLint("DefaultLocale") public int httpResponseCodeJson...
分类:移动开发   时间:2015-05-07 12:35:30    阅读次数:193
Android 自定义控件 GuideView 引导界面
最近看了hyman的博客:http://blog.csdn.net/lmj623565791/article/details/23692439 ,由于个人技术还比较薄弱,就在这个自定义控件的基础上做了个拓展,支持水平和垂直的 下面是主要代码;     GuideView:     import android.annotation.SuppressLint; import andro...
分类:移动开发   时间:2015-05-04 22:21:35    阅读次数:162
Android 图片的放大缩小拖拉
package com.example.ImageView;import android.annotation.SuppressLint;import android.content.Context;import android.graphics.*;import android.graphics....
分类:移动开发   时间:2015-04-28 11:33:57    阅读次数:157
android AES加密工具类(实测兼容所有版本,靠谱)
import android.annotation.SuppressLint; import java.security.SecureRandom; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; import javax.crypto.spec.IvPara...
分类:移动开发   时间:2015-04-24 09:20:07    阅读次数:192
自定义VIew——漂亮的圆形进度条
package com.example.firstapp;import java.text.DecimalFormat;import android.annotation.SuppressLint;import android.content.Context;import android.graph...
分类:其他好文   时间:2015-04-15 16:57:08    阅读次数:182
119条   上一页 1 ... 5 6 7 8 9 ... 12 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!