![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
沈阳--志强
这个作者很懒,什么都没留下…
展开
-
Android项目源码混淆问题解决方法
解决方法也很简单,以下是我的解决方案。1、SDK2.2以上的直接在default.properties文件中加上proguard.config=proguard.cfg即可2、SDK2.2以下除了上面的设置外还需要做以下配置: 首先从其他SDK2.2以上项目中拷出proguard.cfg文件到项目中; 其次如果项目中没有其他 外部jar包引用的话只需在加一行-dontwarn去掉警原创 2012-04-09 15:35:21 · 2858 阅读 · 0 评论 -
密码框显示和隐藏
import android.app.Activity; import android.graphics.Rect; import android.os.Bundle; import android.text.method.HideReturnsTransformationMethod; import android.text.method.PasswordTransfor转载 2012-04-17 11:20:59 · 484 阅读 · 0 评论 -
判断是2G网络还是3G网络
public static boolean isConnectionFast(int type, int subType){ if(type==ConnectivityManager.TYPE_WIFI){ System.out.println("CONNECTED VIA WIFI"); return true;转载 2012-06-11 17:02:50 · 1322 阅读 · 1 评论 -
再按一次退出程序
private long exitTime =0; public boolean onKeyDown(int keyCode, KeyEvent event) { if(keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_DOWN){ if((System.curr原创 2012-05-25 10:54:05 · 434 阅读 · 0 评论 -
找了很久,终于让我找到了,登陆界面登陆按钮随着输入法键盘的弹出而动态改变
android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@color/white" > android:id="@+id/layout_header" android:layout_widt翻译 2012-08-24 14:28:09 · 1664 阅读 · 4 评论 -
Android中实现左右滑动的指引效果
连接:http://www.cnblogs.com/hanyonglu/archive/2012/04/07/2435589.html写得不错,收藏这个地址;转载 2012-09-05 13:38:26 · 528 阅读 · 0 评论 -
中国气象局所有城市代码
北京:101010100朝阳:101010300顺义:101010400怀柔:101010500通州:101010600昌平:101010700延庆:101010800丰台:101010900石景山:101011000大兴:101011100房山:101011200密云:101011300门头沟:101011400平谷:101011500八达岭:101011600佛爷顶:101011700汤河口:原创 2012-04-01 14:53:58 · 41994 阅读 · 0 评论