随笔分类 -  android

Android Experience
Andfix使用
摘要:生成 .apatch 文件: ? 1 2 3 4 5 6 7 8 9 usage: apkpatch -f <new> -t <old> -o <output> -k <keystore> -p <***> -a <alias> -e <***> -a,--alias <alias> alias. 阅读全文

posted @ 2016-02-24 14:09 caryt

android 简易显示web浏览,嵌入自己的应用中
摘要:android 简易显示web浏览,嵌入自己的应用中使用android 自带的webView即可实现package com.example.tanhuohui;import android.os.Bundle;import android.annotation.SuppressLint;import... 阅读全文

posted @ 2014-04-17 16:54 caryt 阅读(514) 评论(0) 推荐(0)

android 程序中打开手机浏览器 Intent.ACTION_VIEW
摘要:使用Intent.ACTION_VIEW 打开手机浏览器String android.intent.action.VIEWaction.view会根据用户的数据类型打开相应的Activity。Uri uri = Uri.parse("http://www.baidu.com"); //浏览器 Uri uri =Uri.parse("tel:13838383838"); //拨号程序 Uri uri=Uri.parse("geo:38.383838,383.383838"); //打开地图定位 Intent intent = new I 阅读全文

posted @ 2014-04-12 10:29 caryt 阅读(6577) 评论(0) 推荐(0)

android ImageView 设置圆形头像
摘要:public class CircleImageView extends ImageView { private static final ScaleType SCALE_TYPE = ScaleType.CENTER_CROP; private static final Bitmap.Config BITMAP_CONFIG = Bitmap.Config.ARGB_8888; private static final int COLORDRAWABLE_DIMENSION = 1; private static final int DEFAULT_BORDER_WI... 阅读全文

posted @ 2014-04-11 22:27 caryt 阅读(1887) 评论(0) 推荐(0)

导航