navigation android sample tab

Navigation的用法

一.Navigation的诞生 单个Activity嵌套多个Fragment的UI架构模式,已经被大多数的Android工程师所接受和采用。但是,对Fragment的管理一直是一件比较麻烦的事情。我们需要通过FragmentManager和FragmentTransaction来管理Fragment ......
Navigation

视频直播源码,Android自定义Spinner样式

视频直播源码,Android自定义Spinner样式 设置Spinner的背景图,如下代码: <Spinner android:id="@+id/sp_gender" android:layout_width="match_parent" android:layout_height="match_p ......
视频直播 样式 源码 Android Spinner

Android 双击点亮屏幕

1.修改配置: frameworks\base\services\core\java\com\android\server\power\PowerManagerService.java mSupportsDoubleTapWakeConfig = resources.getBoolean(com.a ......
屏幕 Android

Android开发笔记[2]-传统XML方式界面布局

## 摘要 使用传统的XML方式对Android app界面进行布局. ## 平台信息 - Android Studio: Electric Eel | 2022.1.1 Patch 2 - Gradle:distributionUrl=https\://services.gradle.org/di ......
布局 界面 传统 Android 方式

适用于Android手机的Debian GNU/Linux和Windows兼容环境

Github地址:https://github.com/jinshulumengchuang/Debian-Wine-Android 食用方法: 从github下载release 安装得到的apk文件 把tarball放在内部存储的根目录 给termux存储权限 打开termux 输入 : cd.. ......
Android Windows 环境 Debian 手机

UE4构建基础和实践:二、Editor打包Win&Android

**此次打包使用的是5.2版本** # Win包 ## 操作流程 参考 [打包项目 | UE文档](https://docs.unrealengine.com/5.2/zh-CN/packaging-unreal-engine-projects/) 1. 设置默认地图 2. 点击创建打包文件 ## ......
Android 基础 Editor UE4 Win

Android Studio进行APP图标更改的两种方式总结

Android Studio进行APP图标更改的两种方式总结 https://www.yii666.com/blog/229533.html 1. /home/du1/asProjs/sma/app/src/main/res/drawable/ 放入appicon.png 文件名全部小写在Andro ......
图标 Android 方式 Studio APP

解决Android运行出现NDK at /Library/Android/sdk/ndk-bundle did not have a source.properties file

##问题描述 将其他项目导致自己的电脑上运行时,出现以下编译错误。 ``` Execution failed for task ':app:stripDebugDebugSymbols'. > NDK at /Users/ado/Library/Android/sdk/ndk-bundle did ......
Android ndk-bundle properties Library bundle

Android手机用的Windows和Arch Limux兼容环境

https://github.com/jinshulumengchuang/Arch-Wine-Android 此项目可以在安卓设备运行x86 x64 arm arm64 Windows应用以及Arch Linux ARM系统。支持声音输出 OpenGL 3D加速,中文显示和中文输入。基于Arch ......
Android Windows 环境 手机 Limux

windows 11 android 安卓 子系统

启用或关闭windows功能: 1. 需要选好Hyper-V 家庭版开启hyper-v https://www.cnblogs.com/yiminlin/p/17519531.html 2. 虚拟机平台 设置——时间和语音——国家或地区:美国 windows store——amazon appsto ......
子系统 windows android 11

Android Studio 的build窗口 build ouput 显示乱码的解决办法

help窗口 点击 edit 然后在下面添加 -Dfile.encoding=UTF-8 重启android studio即可 ......
build 乱码 Android 办法 Studio

Android实现沉浸式状态栏功能

Android中实现沉浸式状态栏的功能,供大家参考,具体内容如下 1. 先上效果图,实现沉浸式状态栏有两种方式,一种是通过写Theme主题的方式,另一种是写代码的方式。若要使多个页面出现沉浸式状态栏,则使用主题的方式更方便,如果只要使单个页面出现,则使用代码方式更好!当然了,看个人喜好而去。 2. ......
状态 Android 功能

Navigator的push和pop flutter 导航及正反向传值

https://new-developer.aliyun.com/article/1172129 push IconButton(onPressed: () async { // Navigator.push(context, DioTestPage()); print('1234'); var r ......
Navigator flutter push pop

Android自定义弹窗

继承android.app.AlertDialog package com.jay.component; import android.content.Context; import android.graphics.Bitmap; import android.util.Log; import a ......
Android

Android生成二维码

引入jar包 链接:https://pan.baidu.com/s/15bWmBGHR6InqQG_Hi6Ab7A 提取码:1234 utils package com.jay.common; import android.graphics.Bitmap; import android.graphi ......
Android

Batch Sampled Softmax logQ去偏

来自谷歌的论文《Sampling-Bias-Corrected Neural Modeling for Large Corpus Item Recommendations》 参考: - [会议presentation](https://www.youtube.com/watch?v=O4cqDdtf ......
Sampled Softmax Batch logQ

安装 MySQL for Windows 时报错 The configuration for MySQL Server 8.0.34 has failed. You can find more information about the failures in the 'Log' tab. 解决方法

今天在安装 MySQL for Windows 时报错 ```txt The configuration for MySQL Server 8.0.34 has failed. You can find more information about the failures in the 'Log' ......
MySQL configuration information for the

Android程序调用接口http请求不到

经过查询,安卓9.0之后,不允许采用http这种非安全模式,具体参考(48条消息) 关于打包安卓Apk在安卓平板和手机不请求接口问题(underfined/netWork Error)问题解决_app打包后访问不了网络_It_渣渣宇的博客-CSDN博客 如果还不行,则把相关防火墙在关掉 ......
接口 Android 程序 http

关于Android 控件没有动态设置界面效果时,如何处理

#### 关于Android 控件没有动态设置界面效果时,如何处理 ##### 例子:android:scrollbarThumbVertical 动态设置 -->listView 如果控件只有静态xml界面的设置,没有动态设置时,需要去查看安卓控件的源码,看该控件继承了那个父控件的方法,然后利用反 ......
控件 界面 效果 Android 动态

Android使用MD5加密

code package com.jay.common; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; im ......
Android MD5 MD

Visual Studio IDE 2022 - how to disable navigation to decompiled sources

Visual Studio IDE 2022 - how to disable navigation to decompiled sources ......
decompiled navigation disable sources Visual

Android动态加载so库

build.gradle 配置so库的文件目录 src>main>libs,也可以不配置,则放入src>main>jniLibs目录中 android { sourceSets{ main{ jniLibs.srcDirs "libs" } } ... } ......
Android 动态

Android 妙用TextView实现左边文字,右边图片

原文: [Android 妙用TextView实现左边文字,右边图片 - Stars-One的杂货小窝](https://stars-one.site/2023/07/19/android-tv-and-right-img) 有时候,需要文字在左边,右边有个箭头,我个人之前会有两种做法: > 使用线 ......
妙用 右边 TextView Android 文字

Android使用POI操作Excel文件

先说问题: 刚开始的时候 我是在Gradle 构建工具 中添加implementation dependencies { implementation 'org.apache.poi:poi:3.17' implementation 'org.apache.poi:poi-ooxml:3.17' / ......
Android 文件 Excel POI

Android编译报错Caused by: java.lang.RuntimeException: Manifest merger failed with multiple

Android编译报错Caused by: java.lang.RuntimeException: Manifest merger failed with multiple这种异常一般是引用了aar ,如果项目中的manifest application配置和aar中不一样就会报错,比如 andro ......

android13 如何使用httpcanary抓包

1.首先下载httpcanary的专业版 链接: https://pan.baidu.com/s/1cgneyOGvpNR8pENQ9RFFDQ 提取码: ocmb 2.将下面的sh文件,放到手机的 /data/local/tmp 目录,命令为cert.sh 并给权限chmod 777 cert.s ......
httpcanary android 13

Android 7在Burpsuite中无法抓取HTTPS包

链接(URL):https://www.hygrey.com/burpsuite-can-not-capture-https-packet-in-android7.html 来源(Source):渡缘人 渡缘人大佬的教程详细的列出来Android 7 配置bp抓包的流程,也可以一同参考下面的链接 h ......
Burpsuite Android HTTPS

Android LinearLayout快速设置每个item间隔

> 原文地址: [Android LinearLayout快速设置每个item间隔](https://stars-one.site/2023/07/19/android-linearlayout-item-margin) 平常使用LinearLayout的时候,有时候会需要对每个item设置间距,但 ......
LinearLayout Android item

Appium进行Android真机测试的配置

第一步:Android 真机显示开启开发者模式选项 1. 您要做的第一件事是启动“设置”应用程序。 2. 向下滚动并点击关于手机。 3. 现在,向下滚动到最后并点击内部版本号七次。 4. 您将看到提示“您现在是开发人员! ” 5. 系统可能会要求您输入密码以解锁 Android 12 中的开发者选项 ......
Android Appium