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
/**
* * Title: selectAllPhone *Description:查询所有的Phone对象 * @return * @see
* com.sms.ntlm.dao.PhoneDao#selectAllPhone()
*/
@SuppressLint("SimpleDateFormat")
@SuppressWarnings("deprecation"...
分类:
数据库 时间:
2015-05-15 17:56:32
阅读次数:
227
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
最近看了慕课网一老师的视频,关于手势密码的研究,挺不错的,不过没上传源码,还有就是旋转角度的计算个人感觉不太好,于是整理出源代码如下:
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
首先自定义FloatsWindowView,用于显示动画小人。import android.annotation.SuppressLint;import android.content.Context;import android.content.Intent;import android.grap...
分类:
移动开发 时间:
2015-05-11 17:32:04
阅读次数:
166
android 实现http请求很多种,和服务器对接需要了解
在 Android 下,Android SDK 已经为我们封装好了整个与 JSON 有关的操作,使用非常方便
直接上代码
/**
* 发送 http 请求
*
* @param url
*/
@SuppressLint("DefaultLocale")
public int httpResponseCodeJson...
分类:
移动开发 时间:
2015-05-07 12:35:30
阅读次数:
193
最近看了hyman的博客:http://blog.csdn.net/lmj623565791/article/details/23692439 ,由于个人技术还比较薄弱,就在这个自定义控件的基础上做了个拓展,支持水平和垂直的
下面是主要代码;
GuideView:
import android.annotation.SuppressLint;
import andro...
分类:
移动开发 时间:
2015-05-04 22:21:35
阅读次数:
162
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
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
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