jetpack_compose android jetpack compose

图文并茂手把手教你在MAC配置Android,nodejs环境,配置安卓真机支持投屏以及测试

先说nodejs和npm 这个很简单,只需要点击下面链接,安装node.js环境即可 https://nodejs.org/zh-cn/ Android Android Studio 下载地址及版本说明 Android 开发者官网:https://developer.android.com/inde ......
图文并茂 Android 图文 环境 nodejs

label-studio docker-compose 运行试用

label-studio 是一个支持多格式的数据标注工具,以下是基于docker-compose 运行的试用 环境准备 docker-compose version: "3.9" services: nginx: image: heartexlabs/label-studio:latest port ......

Android input系统

1.Input相关服务启动的起点在SystemServer.startOtherServices: /** * Starts a miscellaneous grab bag of stuff that has yet to be refactored and organized. */ priva ......
Android 系统 input

VMware Workstation安装安卓Android-X86

原文:VMware Workstation安装安卓Android-X86 最新版 - ..Summer - 博客园 (cnblogs.com) 进到这个页面的人想毕已经知道 Android-X86 是什么东东,有什么用了,这里就不浪费时间啦,不知道的自己百度吧 一、准备工作 官网下载地址:https ......
Workstation Android-X Android VMware 86

android studio配置 compileOnly、implementation、api使用

implementation:作用是编译同时打包,且当前mudule打包的aar或jar, 不能被引用当前module 的模块引用。api:作用是编译同时打包,且当前mudule打包的aar或jar, 能被引用当前module 的模块引用。compileOnly:作用是只编译不打包。比如项目中要引用 ......

Android WebRTC 编译注意事项

Android WebRTC 编译注意事项 说明 文主要适用于需要从外部C++文件调用WebRTC C++接口的场景 本文对应的源码基于m111分支,高版本的也可以参考 Android平台用默认参数编译Android WebRTC存在的主要问题 RTTI 默认未开启 C++库默认使用了webrtc内 ......
注意事项 事项 Android WebRTC

Android开发 Jetpack_Compose_7 文字

前言 此篇博客主要讲解Compose里的文字相关的UI功能。文本处理相关的内容与细节较多,此篇博客尽量涵盖完整,所以博客较长需要耐心看完。 官网文档:https://developer.android.google.cn/jetpack/compose/text?hl=zh-cn Text 文本 全 ......

Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools

(base) cloud@Robot bin % flutter doctor --android-licenses Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline- ......
Android cmdline-tools sdkmanager the cmdline

Android 外置存储卡无法使用FileProvider问题

解决办法: <?xml version="1.0" encoding="utf-8"?> <paths> <external-files-path name="my_images" path="." /> </paths> 修改为 <?xml version="1.0" encoding="utf- ......
存储卡 FileProvider Android 问题

docker php80 安装composer

首先进入php容器 docker exec -ti php80 /bin/sh php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');" php composer-setup.php #All ......
composer docker php 80

Android项目获取git最新代码后,部分文件显示引用找不到问题解决方式

1)问题描述:今天android项目获取git最新代码后,部分文件引用显示找不到问题(文件是有的),这里做下记录,问题如下 2)分析原因:可能是项目缓存问题导致的 3)解决方法: 路径: File-->Invalidate Caches/Restart.. ,点击Invalidate Caches/ ......
Android 代码 部分 方式 文件

Android 设置任意View的背景为圆形或圆角

原文地址: Android 设置任意View的背景为圆形或圆角 - Stars-One的杂货小窝 我的需求主要还是在SurfaceView需要设置为圆形背景,在网上找了下,发现一个可行方法,做个记录 import android.graphics.Outline; import android.gr ......
圆角 圆形 背景 Android View

安装 Android x86 并开启 arm 兼容

安装 Android x86 并开启 arm 兼容 尝试了各种安卓模拟器,要么不能设置代理(BlueStacks),要么/system目录没办法设置。 获取 Android x86 这里使用的是 Android 7 版本, 在本次操作时 houdini 对 Android 8 / Android 9 ......
Android x86 arm 86

android利用try catch异常捕获

android程序中对可能出现崩溃的语句做try和catch的处理后,就不会崩溃了写法如下: try { //这里写可能出现异常的语句 } catch(Exception e)// 捕获异常,如果要捕获Json数据异常,写catch(JSONException e) { //这里写对异常的处理,对于 ......
android catch try

关于linux:Android的/ storage / emulated / 0和/ data / media / 0的不同权限

Android /storage/emulated/0 and /data/media/0 different permissions 我有LG G3智能手机。在文件系统探索期间,我发现 / storage / emulated / 0 / ...目录(从系统接收到我的本地用户)具有不允许chmod ......
emulated 权限 Android storage linux

android 13 指纹整理

android 13 指纹整理 术语 缩略语 英文全名 中文解释 TEE Trusted Execution Environment 可信执行环境,存在于主 CPU 中的一块安 全运行环境。 CA Client Application 客户端应用,通常指运行在 REE 的应用 TA Trusted ......
指纹 android 13

docker-compose安装

1.从github上下载docker-compose二进制文件安装 下载最新版的docker-compose文件 sudo curl -L https://github.com/docker/compose/releases/download/v2.21.0/docker-compose-`unam ......
docker-compose compose docker

Android 多个选项的弹出框的简单实现

在布局页面添加一个fab按钮(fab_user_Add),可以简单的Button按钮就可以 <cc.trity.floatingactionbutton.FloatingActionButton android:id="@+id/fab_user_add" android:layout_width= ......
多个 Android

Flutter module集成到Android原生项目报错

使用AAR方案集成遇到两个诡异错误 环境: Flutter (Channel stable, 3.3.10, on macOS 13.5.2 22G91 darwin-x64, locale zh-Hans-CN) Android Studio (version 2022.3) Android to ......
Flutter Android 项目 module

Android Studio可以编译但Flutter提示无法定位java runtime

Android Studio可以编译但Flutter提示无法定位java runtime 下面我们重点讲一下“Unable to find bundled Java version”报错问题 到AndroidStudio安装目录下 注意:有些Android Studio可能是“jbr”文件,不用管j ......
Android Flutter runtime Studio java

Android设置spinner字体

弹出下拉菜单可以直接设置,但是显示字体需要使用自定义适配器来生效 你尝试在 Spinner 上应用了自定义的样式,但似乎字体大小未更改。在 Spinner 控件中更改字体大小可能需要使用自定义适配器来生效。尽管你在样式 setting_spinner 中设置了 android:textSize,但这 ......
字体 Android spinner

Android 普通提示弹窗和带输入框弹窗简单实现

在布局页面添加一个fab按钮(fab_user_Add),可以简单的Button按钮就可以 <cc.trity.floatingactionbutton.FloatingActionButton android:id="@+id/fab_user_add" android:layout_width= ......
Android

app直播源代码,android中几种常用的弹框

app直播源代码,android中几种常用的弹框 一、SweetAlertDialog弹框 使用该控件需要添加依赖: implementation 'com.github.f0ris.sweetalert:library:1.5.1' ​ 下面是具体用法: new SweetAlertDialog( ......
源代码 常用 android app

Android Activity的玩法

TODO 基本的使用 Intent TODO 基础的使用方法 Intent传输数据 //添加 Intent intent = new Intent(activity,TargetActivity.class); intent.putExtra(String name,Object data); st ......
玩法 Activity Android

android 系列第一篇 apk打包-运行初略图

Apk打包流程图 安装及运行答题流程 ......
略图 android apk

android 代码禁用某个应用的方法

注意需要android.uid.system权限设置包可用+ PackageManager pm = getPackageManager();+ pm.setApplicationEnabledSetting(this.getPackageName(), PackageManager.COMPONE ......
android 代码 方法

composer

进入到具体的工程目录下, composer require xxxxxx 如 composer require tencentcloud/tencentcloud-sdk-php 包找不到的时候,可以更新镜像 composer 镜像更新composer config -g repo.packagis ......
composer

Android 定时器简单使用及学习

本文,介绍常用定时器实现方式: 1)Handler+Sleep方式 2)Handler+PostDelayed方式 3)Handler+Timer方式 Handler的主要作用就是用来处理接收到的信息,用Handler消息传递机制是为了多个线程 并发 更新U的同时,保证线程安全 1)Handler+ ......
定时器 Android

android: 通过Intent筛选多种类型文件

一般使用setType()方法来实现文件过滤,如:只显示PDF文件: int requestCode = 100; Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("application/pdf"); in ......
多种 android 类型 文件 Intent

使用 docker-compose 搭建 Prometheus+Grafana 监控系统

目录使用 docker-compose 搭建 Prometheus+Grafana 监控系统Prometheus 架构介绍环境准备角色分配安装 Docker安装 Docker-Compose部署 Prometheus 和 Grafana新增 Prometheus 配置文件 (docker01)创建服 ......