![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
移动开发
文章平均质量分 65
zhanganan--
这个作者很懒,什么都没留下…
展开
-
Android判断应用程序处于前台还后台
Android判断当前应用程序处于前台还是后台的两种方法原创 2014-09-19 15:22:05 · 1069 阅读 · 0 评论 -
android-async-http AsyncHttpClient介绍
阅读原文:http://www.2cto.com/kf/201408/326552.html前一阵子刚搬了家,加上公司要发新版本,所以一直比较忙,文章也好几周没更新了。难得这个周末有空,正好周内偶然间闲逛 发现这个很不错的第三方开源类库,针对Android开发中发送http请求的。 在Android开发中,发送、处理http请求简直太常见了,以至于我转载 2015-06-30 11:21:20 · 452 阅读 · 0 评论 -
Android常用的工具类(转)
一、检查网络是否可用import android.app.AlertDialog;import android.content.Context;import android.content.DialogInterface;import android.net.ConnectivityManager;import android.net.NetworkInfo; public c转载 2014-12-02 09:57:57 · 426 阅读 · 0 评论 -
android 日历组件(CalendarView)
布局文件 main_calendar.xml:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientat原创 2014-11-07 14:04:09 · 1636 阅读 · 0 评论 -
自动完成文本框 AutoCompleteTextView和MultiAutoCompleteTextView(demo)
布局文件\res\layout\main.xml原创 2014-11-05 14:52:14 · 528 阅读 · 0 评论 -
Eclipse怎样设置字体和文字大小
先打开eclipse,然后一次点击:Window -> Preferences -> General -> Appearance -> Colors and Fonts -> Basic -> Text font原创 2014-10-21 09:19:52 · 494 阅读 · 0 评论 -
Android4.0设计规范(文档分享),图
pdf 下载地址:http://download.csdn.net/detail/zansl/7936841原创 2014-10-09 14:45:18 · 515 阅读 · 0 评论 -
Android官方API文档完整版(分享)
http://download.csdn.net/detail/zansl/7974027转载 2014-10-09 08:55:28 · 5424 阅读 · 5 评论 -
Android最佳学习路线图 pdf分享
下载链接:http://download.csdn.net/detail/zansl/8012173原创 2014-10-08 13:46:29 · 1077 阅读 · 0 评论 -
android 从data目录拷贝图片到sdcard, Bitmap 转成 image
android 从data目录拷贝图片到sdcard, Bitmap 转成 image原创 2014-09-17 13:23:08 · 773 阅读 · 1 评论 -
android实现home键效果、将当前app推到后台
Intent intent = new Intent(Intent.ACTION_MAIN); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // 如果是服务里调用,必须加入new // task标识 intent.addCategory(Intent.CATEGORY_HOME); start转载 2014-09-19 16:15:27 · 921 阅读 · 0 评论 -
Android 获取AndroidManifest 文件 versionCode和versionName属性
/** * 获取APP版本名称 * * @param mContext * @return */ public static String getVersionName(Context mContext) { try { PackageManager pm = mContext.getPackageManager(); Pa转载 2015-07-13 18:37:36 · 1052 阅读 · 0 评论