08 2014 档案

摘要:Button btn1;btn1.setId(1001);int width; // layout width;int btnWidth; // btn width;int btnHeight; // btn height;…….RelativeLayout.LayoutParams p = ne... 阅读全文
posted @ 2014-08-29 13:56 feitianlee 阅读(1828) 评论(0) 推荐(0)
摘要:如下代码是否能被编译通过?private class Firework { private double weight = 0; private boolean compare(Firework work) { return weight == work.weight; ... 阅读全文
posted @ 2014-08-14 08:44 feitianlee 阅读(230) 评论(0) 推荐(0)
摘要:public static Bitmap getCircleBitmap( Bitmap sourceBitmap) { if(null == sourceBitmap) { return null; } Bitmap output = Bitmap.createB... 阅读全文
posted @ 2014-08-07 16:03 feitianlee 阅读(508) 评论(0) 推荐(0)
摘要:动态注册BroadcastReceiver时有时候会遇到这个异常:android.content.ReceiverCallNotAllowedException: BroadcastReceiver components are not allowed to register to receive ... 阅读全文
posted @ 2014-08-04 14:55 feitianlee 阅读(2542) 评论(0) 推荐(0)