知乎:https://www.zhihu.com/people/monkey.d.luffy Android高级开发交流群2: 752871516
全部博文(315)
发布时间:2014-01-05 21:55:11
/*** 启动Service前,做个判断,否则容易引起崩溃* @param mContext* @param className* @return*/public boolean isServiceRunning(Context mContext, String className) {int i; ActivityManager activityManager = (ActivityManager) mContext.ge.........【阅读全文】
发布时间:2014-01-05 20:16:56
点击(此处)折叠或打开Android does not allow UI events like Toasts from outside the main thread. The run is getting called, but the Toast is being ignored.To create the Toast on the UI thread, you can use a Handler and an empty .........【阅读全文】
发布时间:2014-01-05 11:27:27
http://www.cnblogs.com/newcj/archive/2011/05/30/2061370.html按运行地点分类:类别区别 优点缺点 应用.........【阅读全文】
发布时间:2014-01-04 23:33:31
RelativeLayout(相对布局)时间:2012-02-08 19:32来源:SJF0115 作者:android安卓 点击: 263 次android:layout_above 将该控件的底部至于给定ID的控件之上 android:layout_below 将该控件的顶部至于给定ID的控件之下 android:layout_toLeftOf 将该控件的右边缘和给定ID的控件的左边缘对齐 android:layout_toRightOf 将该.........【阅读全文】