logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

学习路之Cesium--离线环境下使用 cesium

本质上,token 并不是用来限制我们使用 cesium 这个框架的,因为 cesium 代码是开源的,开源的代码,并没有必要在技术上作这个限制。这固然是一个可行的方式,但是,由于网络环境的原因,我们很难随时随地畅快的访问 cesium 的官网,更别说,每次都要下载一个几十兆的文件了。所以,到这里,我们大概就会明白了,为什么我们明明在官网下载的 cesium 包,过一段时间,示例就没法运行了。追根

文章图片
#学习#java#javascript
android--获取资源文件 r.drawable中的图片转换为drawable、bitmap

1、Resources resources = mContext.getResources();Drawable drawable = resources.getDrawable(R.drawable.a);imageview.setBackground(drawable);2、Resources r = this.getContext().getResources();Inpu...

#android
React Native---Error: Unable to resolve module `./index.android` from ``:None of these file

一、问题:新建一个工程后,在执行react-native start 后访问:http://localhost:8081/index.android.bundle?platform=android报错:Error: Unable to resolve module `./index.android` from `D:\DevelopTools\ReactNativeProjects\FirstPr

#react native
React-native学习-49--AndroidManifest.xml:12:7-34 Error:Attribute application@allowBackup value=(false)

D:\workspace\Demo\RN_tanhuajiaoyou\tanhuajiaoyou\android\app\src\debug\AndroidManifest.xml:12:7-34 Error:Attribute application@allowBackup value=(false) from AndroidManifest.xml:12:7-34is also present

学习路之uniapp-获取manifest.json中的版本号信息

做版本更新(app升级)时 要使用 manifest.json中的版本号信息 "versionName" : "1.0.1",onLoad() {// 获取本地应用资源版本号plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {this.innerVer = wgtinfo.version;this.versionCode =

#学习#json#html
学习路之uniapp---调试时的跨域解决方案

前端工程师调试时,运行起来的前端代码在uni-app自带的web服务器中,而不是部署在后台业务服务器上,此时就会遇到跨域。除了协调后端配置允许跨域,其实也可以自己解决跨域问题。共3种方案可选。...

#学习#uni-app#webpack
学习路之uniapp--app禁止横屏

需要配置两个地方第一在onLaunch中写下如下代码plus.screen.lockOrientation("portrait-primary");第二在manifest.json中配置"app-plus" : {"distribute" : {"distribute" : {"orientation" : [ "portrait-primary"]//重力感应、横竖屏配置

#javascript
学习路之uniapp---Websocket使用

配合服务端: https://blog.csdn.net/hopetomorrow/article/details/122134862<template><view class="websockets"><button type="primary" @tap="clickRequest">点击发送请求</button><button type=

#websocket#vue.js#网络协议
学习路之html--a标签传递参数

a标签传递参数a标签传递参数单个参数:参数名称前面跟 ?<a href="localhost:8080/arguments?id=1">单个参数</a>多个参数:参数与参数之间使用连接符 &<a href="localhost:8080/arguments?id=1&name='name'">多个参数</a><a href="j

#linq#webview#elementui
学习路之Vue--vue引入axios

import axios from ‘axios’ //引入axios。

#vue.js#学习#javascript
暂无文章信息