2019年9月12日
摘要: 先看下 ActivityThread 中的这段代码: 而 loop() 方法中,存在一个死循环: public static void loop() { ... ... ... for (;;) { Message msg = queue.next(); // might block if (msg 阅读全文
posted @ 2019-09-12 17:26 激流勇进1 阅读(569) 评论(0) 推荐(0) 编辑
摘要: 服务端: 1. 创建要传递的实体类 Person,并实现 Parcelable 接口。 package cn.zzw.aidl; import android.os.Parcel;import android.os.Parcelable; public class PersonInfo implem 阅读全文
posted @ 2019-09-12 17:26 激流勇进1 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 当创建AIDL文件并Clean Project 代码后,会生成相应的Java文件: 先来一段伪代码:类整体结构 /* * This file is auto-generated. DO NOT MODIFY. * Original file: D:\\AndroidProject\\AIDLServ 阅读全文
posted @ 2019-09-12 17:26 激流勇进1 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 参数详解TextField同时也使用Text 的部分属性: 属性 作用controller 控制器,如同 Android View iddecoration 输入器装饰keyboardType 输入的类型 - TextInputType.text(普通完整键盘) - TextInputType.nu 阅读全文
posted @ 2019-09-12 17:26 激流勇进1 阅读(2369) 评论(0) 推荐(0) 编辑
摘要: /* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil 阅读全文
posted @ 2019-09-12 17:25 激流勇进1 阅读(279) 评论(0) 推荐(0) 编辑