摘要: public class DownloadServiceAbility extends Ability implements IDownloadListener { private static final String TAG = "idmxm"; private List<DownloadSes 阅读全文
posted @ 2021-07-21 21:48 枫艺 阅读(49) 评论(0) 推荐(0)
摘要: Java API参考-OrmPredicates (harmonyos.com) Method Summary Modifier and Type Method Description OrmPredicates and​() 加一个条件 OrmPredicates beginsWith​(Stri 阅读全文
posted @ 2021-07-20 12:31 枫艺 阅读(71) 评论(0) 推荐(0)
摘要: compileOptions{annotationEnabled true}db/DataBase @Database(entities = {Table.class},version = 1)public abstract class DataBase extends OrmDatabase {} 阅读全文
posted @ 2021-07-20 12:07 枫艺 阅读(55) 评论(0) 推荐(0)
摘要: build.gradle里添加 compileOptions{annotationEnabled true}daodao/dao public interface NodeDao { boolean insert(NodeEntity entity); boolean update(NodeEnti 阅读全文
posted @ 2021-07-19 08:08 枫艺 阅读(190) 评论(0) 推荐(0)
摘要: 鸿蒙应用开发实战 张荣超老师 新建项目 项目参数 调出previewer 放上一张图片 <image src="../../common/images/plantpot.png" /> image{ width: 100px; height: 100px;} 两个页面的转跳和传参 index.hml 阅读全文
posted @ 2021-07-06 22:43 枫艺 阅读(223) 评论(0) 推荐(0)
摘要: 1.i18n目录是可以删除的,只要不是做多语言开发2.JS UI 框架以 720px(px指逻辑像素,非物理像素)为基准宽度,根据实际屏幕宽度进行缩放,例如当 width 设为 100px 时,在 1440px 宽度屏幕上,实际显示的宽度为 200px。3.APP的名字,可以更改main\resou 阅读全文
posted @ 2021-07-04 23:25 枫艺 阅读(66) 评论(0) 推荐(0)