先上实例代码: service: public class AidlService extends Service{ @Override public IBinder onBind(Intent arg0) { /*return new AIDLTest.Stub() { @Override pub ...
分类:
其他好文 时间:
2020-06-15 19:28:07
阅读次数:
64
功能分析 效果图 接口定义 代码orders/Order.vue <template> <div> <el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb-item :to="{ path: '/home' }">首页 ...
1 Intent.ACTION_VIEW String android.intent.action.VIEW 用于显示用户的数据。比较通用,会根据用户的数据类型打开相应的Activity。比如 tel:13400010001打开拨号程序,http://www.g.cn则会打开浏览器等。 代码1: U ...
分类:
其他好文 时间:
2020-06-11 15:00:19
阅读次数:
55
写代码时,要写这么一个功能: 将包名中的"."换成路径分隔符("/"或"",视操作系统而定),要求在window或linux下都能正常运行。 分析一下,这明显是个字符串替换的操作,可用使用String提供的replace方法;换成操作系统指定的路径分隔符,可以使用File.separator来完成, ...
分类:
编程语言 时间:
2020-06-09 09:38:58
阅读次数:
86
1.File 类的字段 //是用来分隔同一个路径字符串中的目录的 System.out.println("目录分隔符:"+File.separator);//输出 \ //指的是分隔连续多个路径字符串的分隔符 System.out.println("多个路径分隔符:"+File.pathSepara ...
分类:
编程语言 时间:
2020-06-08 09:18:53
阅读次数:
67
1、面包屑,页面上方使用 1 <el-row style> 2 <el-breadcrumb 3 separator-class="el-icon-arrow-right" 4 style=" 5 margin-left: 2%; 6 vertical-align: middle; 7 height ...
分类:
其他好文 时间:
2020-06-04 10:44:38
阅读次数:
61
动态的发布与展示 动态的展示: DongTaiActivity(上传动态文字及照片) package com.lh.std_everything.ui.home.hometype.dongtai; import android.content.Intent; import android.os.Bu ...
分类:
其他好文 时间:
2020-05-24 00:38:14
阅读次数:
51
在ant的List组件中,使用了其他组件(可以使用其他组件,但要在合适的位置),应该是在List中的List.Item标签中使用其他组件 <List grid={{ gutter: 16, xs: 1, sm: 2, md: 4, lg: 4, xl: 6, xxl: 3, }} // itemLa ...
分类:
其他好文 时间:
2020-05-23 20:20:52
阅读次数:
103
https://blog.csdn.net/weixin_30664051/article/details/96270296?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.none ...
分类:
其他好文 时间:
2020-05-23 11:15:01
阅读次数:
43
Intent(意图)主要是解决Android应用的各项组件之间的通讯。 对于intent主要的分类主要包括隐式意图和显式意图。显式意图通常主要是启动本应用中的Activity之间的数据,而隐式意图则常见于启动系统中的某些特定的动作,比如打电话,或者是跨应用的Activity启动。通常来说:显式意图: ...
分类:
移动开发 时间:
2020-05-21 19:23:58
阅读次数:
72