上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页

2021年11月8日

ArcGIS Runtime API For Android Kotlin 版入门

摘要: 创建项目和去arcgis官网(https://developers.arcgis.com/)注册申请key就省略了。。。 先配置setting.gradle maven { url 'https://esri.jfrog.io/artifactory/arcgis' } build.gradle中 阅读全文

posted @ 2021-11-08 10:24 Just丶随心 阅读(200) 评论(0) 推荐(0) 编辑

2021年10月12日

uniapp判断第三方应用是否存在并打开应用

摘要: //pname是包名 if(plus.runtime.isApplicationExist({pname:'com.tencent.mm',action:'weixin://'})){ console.log("应用已安装"); if ( plus.os.name == "Android" ) { 阅读全文

posted @ 2021-10-12 09:44 Just丶随心 阅读(756) 评论(0) 推荐(0) 编辑

2021年8月26日

安卓开启GPS,native.js

摘要: if(plus.os.name == "Android"){var context = plus.android.importClass("android.content.Context");var locationManager=plus.android.importClass("android. 阅读全文

posted @ 2021-08-26 16:14 Just丶随心 阅读(223) 评论(0) 推荐(0) 编辑

native.js,安卓判断APP是否在电池优化白名单

摘要: 配置权限" <uses-permission android:name=\"android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS\"/>",// 白名单 var main = plus.android.runtimeMainActivity( 阅读全文

posted @ 2021-08-26 14:55 Just丶随心 阅读(541) 评论(0) 推荐(0) 编辑

2021年8月19日

flex上下左右居中

摘要: 父元素CSS box-sizing: border-box; padding-left: 10px; padding-right: 10px; display: flex; align-items: center; -webkit-box-pack: justify; justify-content 阅读全文

posted @ 2021-08-19 15:27 Just丶随心 阅读(155) 评论(0) 推荐(0) 编辑

2021年7月21日

视频截帧

摘要: 在视频路径后添加 ?x-oss-process=video/snapshot,t_1000 只支持阿里云 //在1秒截帧 https://help.aliyun.com/document_detail/64555.html?spm=a2c4g.11186623.6.766.2e3331cdACSJx 阅读全文

posted @ 2021-07-21 12:01 Just丶随心 阅读(66) 评论(0) 推荐(0) 编辑

2021年7月19日

unicloud云函数url化,外部访问,云函数接收参数

摘要: 'use strict';exports.main = async (event, context) => { //event.body为客户端上传的参数 console.log('event : ', event.body)var res=event.bodyvar obg={}; var arr 阅读全文

posted @ 2021-07-19 14:17 Just丶随心 阅读(2466) 评论(0) 推荐(0) 编辑

2021年7月16日

jre获取证书sha1码等

摘要: 把证书keystore文件放到jre的bin 里 cmd执行 keytool -list -v -keystore uni.keystore 其中uni.keystore为证书名字 jre下载地址https://ask.dcloud.net.cn/article/38778 阅读全文

posted @ 2021-07-16 16:45 Just丶随心 阅读(65) 评论(0) 推荐(0) 编辑

2021年7月1日

uniapp 低功耗蓝牙使用(经典蓝牙用native.js)

摘要: <template> <view> <view class="jfh" :style="{ height: iStatusBarHeight + dh + 'px' }"> <view class="jfh0" @tap="fanhui"> </view> <view class="jfh2"> < 阅读全文

posted @ 2021-07-01 11:57 Just丶随心 阅读(2420) 评论(0) 推荐(0) 编辑

2021年6月29日

uniapp截屏

摘要: var ws=null; ws=this.$mp.page.$getAppWebview(); var bitmap=null; bitmap = new plus.nativeObj.Bitmap('test'); // 将webview内容绘制到Bitmap对象中 uni.showLoading 阅读全文

posted @ 2021-06-29 14:55 Just丶随心 阅读(2484) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页

导航