systemgesturespointereventlistene手势android

android adb调试

1、无线方式一 cd/d D:\Android\sdk\platform-tools tcpip 5555 (需手机线下连接执行) adb connect 192.168.0.140 2、无线方式二 cd/d D:\Android\sdk\platform-tools adb pair 192.16 ......
android adb

Android ViewPager切换页面点击触发不了focus问题

viewPager.registerOnPageChangeCallback(new ViewPager2.OnPageChangeCallback() { @Override public void onPageSelected(int position) { // 页面选中时执行操作 Botto ......
ViewPager Android 页面 问题 focus

Android 第一次点击EditText不显示光标问题

可以考虑在 XML 布局文件中添加 android:focusableInTouchMode="true" 属性,以确保 ClearEditText 控件在触摸模式下也能获取焦点。这样,用户在首次点击时会立即看到光标。 在 XML 布局文件中,将 ClearEditText 的定义中添加 andro ......
光标 EditText 第一次 Android 问题

Android使用webview缓存

// String cacheDirPath = context.getFilesDir().getAbsolutePath()+"cache/";// getSettings().setAppCachePath(cacheDirPath);// 1. 设置缓存路径// getSettings(). ......
缓存 Android webview

Android EditText显示图标

实现了要给带清除按钮的ClearEditText,但是无法显示图标 <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="wrap_c ......
图标 EditText Android

Android 多选下拉框的简单实现

1、布局文件(activity_dropdown.xml) <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns: ......
Android

Android 开发RxJava2常用操作符

在 Android 开发中,RxJava 2 是一个强大的异步编程库,提供了丰富的操作符来简化数据流的处理。下面是一些常用的 RxJava 2 操作符及其使用方法。 Observable.create(): 创建一个新的 Observable,可以在 subscribe() 方法中定义回调函数。 O ......
操作符 常用 Android RxJava2 RxJava

android驱动模块实现文件重定位

编写驱动模块进行sys_call_table hook 替换 sys_open和sys_openat系统调用为自定义函数,需要注意sys_call_table是只读的,修改前需要前修改其内存属性为可写。 直接修改内核源码,并编写驱动模块实现filter function进行过滤。 sys_call_ ......
模块 android 文件

R3300L, Q7 ATV Android9固件

这可能是R3300L/Q7当前最好的固件了. 安卓9, 内核4.9, 开箱支持WIFI, 内建Google Service Framework, 可以运行油管. ......
固件 Android9 Android 3300 ATV

android开发Flutter Text自动换行实现

flutter 自动换行处理 flutter自动换行有几种场景:column中,row中 在Column中的Text不用任何处理,能够自动换行。 在Row中的Text需要用Expanded包裹。因为文字是水平方向排放的,和Row的计算规则冲突,需要使用Expanded包裹,表示剩下的给Text,Te ......
android Flutter Text

Android Failed to resolve: com.github.PhilJay:MPAndroidChart:v3.1.0

2022.3.1版本 修改settings.gradle dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { maven { url ......

Android开发笔记[4]-串口控制esp32及使用摄像头

摘要 无需root权限,Android使用串口与esp32通信控制小灯开关;开启Android摄像头预览. 平台信息 Android Studio: Electric Eel | 2022.1.1 Patch 2 Gradle:distributionUrl=https://services.gra ......
串口 摄像头 Android 笔记 esp

android 实现左右滑动和底部菜单切换Demo

package com.tools.ttt; import static android.content.ContentValues.TAG; import android.content.pm.ActivityInfo; import android.content.res.Configurati ......
底部 菜单 android Demo

ctf-android

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/ ......
ctf-android android ctf

android-bottom_navigation 菜单不显示问题

protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); binding = ActivityMainBinding.inflate(getLayoutInflater()); s ......

短视频直播系统,Android卡片式轮播

短视频直播系统,Android卡片式轮播 public class Api { public static String jiek="{"code": 800,"msg": "ok","obj": [{"name": "zahnsan","imageurl": "http://pic19.nipic ......
卡片式 卡片 Android 系统

android短视频开发,两个ViewPager联动效果

android短视频开发,两个ViewPager联动效果 activity_main.xml <?xml version="1.0" encoding="utf-8"?><android.support.v4.widget.NestedScrollView xmlns:android="http:/ ......
ViewPager 两个 效果 android 视频

Android热点SoftAP使用方式

一、背景 最近项目中Android设备需要获取SoftAP信息(wifi账号、密码、IP等),然后传递到投屏器中,那么如何获取到SoftAP信息呢?我们知道可以通过WifiManager类里的方法可以获取到,但是这个类里的很多方法都是@hide的,那么只能通过反射才可以,当然还需要项目具有系统权限, ......
Android 热点 方式 SoftAP

androids上报表开发

1.MPAndroidChart:一个功能强大的图表库,支持多种类型的图表,包括折线图、柱状图、饼图等。官方链接:https://github.com/PhilJay/MPAndroidChart HelloCharts:另一个流行的图表库,提供多种图表类型和样式。官方链接:https://gith ......
androids

使用亚马逊云服务器在 G4 实例上运行 Android 应用程序

随着 Android 应用程序和游戏变得越来越丰富,其中有些甚至比 PC 上的软件更易于使用和娱乐,因此许多人希望能够在云上运行 Android 游戏或应用程序,而在 EC2 实例上运行 Android 的解决方案可以让开发人员更轻松地测试和运行 Android 应用程序。在这篇博客文章中,我们将展 ......
应用程序 实例 Android 服务器 程序

Android开发中Button背景颜色不能修改问题及解决方法

在Android中,Button是一种按钮组件,用户能够在该组件上点击,并引发相应的事件处理函数。 在进行Android开发的时候,都需要使用到按钮,但是对于初学者来说,刚开始的按钮都是默认的主题颜色,不管怎么修改都变不了颜色,在此记录一下踩过的坑。 问题:使用Android Studio进行and ......
颜色 背景 Android 方法 Button

Android期末作品

教程 Android安卓开发-记事本:https://www.bilibili.com/video/BV1m4411z7C8/ 这里非常感谢up! 【安卓项目】Android开发的便签项目-NoteApp 案例分享:https://www.bilibili.com/video/BV1hr4y1L79 ......
Android 作品

Android: USB

Android通过两种模式支持各种 USB 外设和 Android USB 附件(实现Android附件协议的硬件):USB附件和USB主机。USB开发需 Android 3.1(API级别12)以上。由于本人工作中主要用到了主机模式,所以本文的侧重点在主机模式开发,该模式需要打开OTG功能。 一、 ......
Android USB

Linux: Android系统

Android系统架构 Android 是谷歌开发的一款基于 Linux 内核的操作系统。系统架构分为五层,从下到上依次是Linux内核层、硬件抽象层、系统运行库层、应用框架层和应用层。 通俗点从下往上依次是: Linux kernel 层,很大一部分内容是驱动程序 HAL 层,对下封装驱动硬件操作 ......
Android 系统 Linux

【gradle.kts maven 添加】【android】

org.gradle.api.InvalidUserCodeException: Build was configured to prefer settings repositories over project repositories but repository 'maven' was add ......
android gradle maven kts

短视频app源码,Android TextView文字,删除线以及下划线

短视频app源码,Android TextView文字,删除线以及下划线 1、删除线 TextView textview= (TextView)view.findViewById(R.id.textviewk);textview.getPaint().setFlags(Paint.STRIKE_TH ......
下划线 源码 TextView Android 文字

android短视频开发,点击两次实现不同点击效果的实现方式

android短视频开发,点击两次实现不同点击效果的实现方式 布局: <RelativeLayout android:id="@+id/rl_picture_group" android:layout_width="match_parent" android:layout_height="match ......
效果 android 方式 视频

有关 Android 架构的建议

有关 Android 架构的建议 | Android 开发者 | Android Developers https://developer.android.google.cn/topic/architecture/recommendations?hl=zh-cn 翻译 搜索 复制 ......
架构 Android 建议

视频直播系统源码,Android EditText不显示提示文字hint

视频直播系统源码,Android EditText不显示提示文字hint EditText不显示提示文字hint原因,有可能是hint的字体颜色和EditText的背景颜色一样,需要设置颜色值android:textColorHint="@color/gray"。 <EditText android ......
视频直播 源码 EditText Android 文字

Android GKI 架构 + GKI改造原则、机制和方法

Android GKI 架构简介https://blog.csdn.net/shift_wwx/article/details/126347543 相关术语: ACK:Android Common Kernel AOSP:Android Open Source Project GKI:Generic ......
架构 GKI 机制 原则 Android