
Android
文章平均质量分 59
普通网友
这个作者很懒,什么都没留下…
展开
-
Android 在menu中同时显示Icon和Text
在menu中如何实现同时显示Icon和Text,比如原创 2014-06-30 21:40:15 · 1648 阅读 · 0 评论 -
Android AIDL原理
AIDL: Android Interface Define Language,Android接口定义语言原创 2014-07-02 23:20:50 · 1250 阅读 · 0 评论 -
双线程互相等待
双线程互相等待原创 2015-01-03 22:31:27 · 807 阅读 · 0 评论 -
访客模式(Guest Mode)
有些手机以及平板中有一种访客模式,打开访客模式,我们将无法拖动Launcher上的图标,也无法打开adb主要操作就是在打开开关的地方执行如下操作GuestModeUtil guestModeUtil = GuestModeUtil.getInstance(getActivity());guestModeUtil.save(pin);// 保存PIN码SystemProperties原创 2014-11-14 23:33:46 · 2592 阅读 · 0 评论 -
Android Launcher3(一) -- 启动过程
本文将以代码走读的形式讲解Launcher3原创 2014-11-13 21:31:28 · 1275 阅读 · 0 评论 -
UML类图符号
实现(Realize) 聚合(Ag 组合关系原创 2014-07-07 22:13:22 · 681 阅读 · 0 评论 -
Android View事件分发机制
每个View的子类都有三个与 TouchEvent m原创 2014-07-03 23:30:01 · 596 阅读 · 0 评论 -
Handler MessageQueue Message Looper关系浅析
/** * A Handler allows you to send and process {@link Message} and Runnable * objects associated with a thread's {@link MessageQueue}. Each Handler * instance is associated with a single thread an原创 2014-07-01 23:08:26 · 578 阅读 · 0 评论 -
Android分享功能
Intent intent = new Intent(Intent.ACTION_SEND);intent.setType("video/*");File file = new File(“/mnt/sdcard/test.3gp”);intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file));startActivity(Int原创 2014-06-30 21:42:02 · 547 阅读 · 0 评论 -
ScrollView充满屏幕
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/holo_gree原创 2014-06-30 23:17:15 · 612 阅读 · 0 评论 -
Android Studio找不到org.apache.http中的类
使用Android Studio时,如下类一直无法import进来 import org.apache.http.HttpEntity; import org.apache.http.HttpResponse;解决方法就是在build.gradle中增加如下内容并clean一下即可: android{ useLibrary 'org.apache.http原创 2016-04-14 14:49:10 · 736 阅读 · 0 评论