内容选择
全部
内容选择
内容分类
  • 学堂
  • 博客
  • 论坛
  • 开发服务
  • 开发工具
  • 直播
  • 视频
  • 用户
时间
  • 一周
  • 一个月
  • 三个月
  • java.lang.NoSuchMethodError:android.content.Context.getDrawable

    java.lang.NoSuchMethodError:android.content.Context.getDrawable 今天在开发的时候,这个代码在源码中是可以看到的,但是在android 4.3手机上面会报错,具体错误信息和代码如下: setBackgr

    作者: 程思扬
    发表时间: 2022-01-13 16:59:02
    695
    0
  • Android 自定义View之展开收起的Layout

    android:id="@+id/ell" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#f5f5f5"

    作者: yechaoa
    发表时间: 2022-06-06 06:19:24
    554
    0
  • 如何将android 应用安装到SD卡上

      <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto"> 此属性可以有 preferExternal、

    作者: ShaderJoy
    发表时间: 2021-12-29 15:01:29
    462
    0
  • Android 9.0修改TabLayout下划线的宽度

    1,反射重新计算宽度2,通过setCustomView的方式自定义item 第一种在Android 9.0已经失效了,第二种如果使用场景较多,也麻烦 当然也可以选择第三方库,但是一般不这么做 在Android design v28 的版本中,官方对TabLayout做了优化,只需要

    作者: yechaoa
    发表时间: 2022-05-30 16:27:33
    265
    0
  • Android Studio Bumblebee | 2021.1.1 发布,快来看看更新了什么

    Workers。 无线调试 Android Studio Bumblebee 支持 Android 11 及更高版本设备上的无线调试功能。 通过 Wi-Fi 从 Android Studio 配对和允许的应用,无需使用 USB 电缆或使用命令行管理 Android adb 连接。 要使用该功能,可以从设备选择菜单中选择

    作者: GSYTech
    发表时间: 2022-06-01 14:31:01
    343
    0
  • android - FlutterActivity MethodChannel和FlutterView

    Unresolved reference: flutterView 代码如下所示: import android.os.Bundle import io.flutter.embedding.android.FlutterActivity import io.flutter.embedding

    作者: 大前端之旅
    发表时间: 2021-12-15 15:17:07
    585
    0
  • android 搜索自动匹配关键字并且标红

    resStr);//剩余的字符串继续替换 } return resStr; } 希望可以帮到大家。如果有问题,可以加我的qq群,互相讨论交流:Android开发经验交流群 454430053

    作者: 再见孙悟空_
    发表时间: 2022-01-14 16:36:54
    450
    0
  • Android自定义一个省份简称键盘

    plate.LicensePlateView android:id="@+id/lp_view" android:layout_width="match_parent" android:layout_height="wrap_content"

    作者: 二流小码农
    发表时间: 2023-06-28 09:25:13
    157
    0
  • Android之FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET

    A com.android.launcher U 0} Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10600000 cmp=com.android.launcher/com

    作者: chenyu
    发表时间: 2021-07-26 17:23:31
    958
    0
  • 如何使用adb shell获取Android应用的编译时间

    如何使用adb shell获取Android应用的编译时间 在Android开发过程中,有时候我们需要获取一个应用的编译时间信息。通过adb shell命令可以很方便地获取到应用的编译时间。本文将介绍如何通过adb shell获取Android应用的编译时间。 步骤 首先,确

    作者: 皮牙子抓饭
    发表时间: 2024-06-05 23:07:25
    0
    0
  • 使用React框架运行在Android环境上

    plaintextCopy code cd MyReactApp 运行项目 在Android上运行React Native项目需要使用Android Studio。确保你已经安装了Android Studio,并正确配置了Android开发环境。 在命令行中,在项目目录下运行以下命令: plaintextCopy

    作者: 皮牙子抓饭
    发表时间: 2024-06-09 23:48:49
    13
    0
  • Android系列之Handler消息机制的例子

    activity; import android.app.Activity; import android.app.Dialog; import android.app.ProgressDialog; import android.os.Bundle; import android.os.Handler;

    作者: yd_273762914
    发表时间: 2020-12-02 22:34:39
    2280
    0
  • Android WebView加载URL的四种方式

    mWebView.loadUrl("file:///android_asset/html/index.html"); 1 方式3:加载手机本地的html页面: 这种方式要用FileProvider获得content URI,详细请见《Android7.0之后请使用FileProvider》

    作者: yd_221104950
    发表时间: 2020-11-30 23:54:32
    6362
    0
  • Android系列之实现自动登录和记住密码

    记住密码和自动登录是很多手机软件都有的一个功能。可以用 SharedPreferences类来轻松实现。 SharedPreferences是安卓平台的一个轻量级类。采用 SharedPreferences进行数据存储是很方便的。   public class LoginCheckActivity

    作者: yd_273762914
    发表时间: 2020-12-03 00:31:53
    4342
    0
  • Android项目的.gitgnore文件的作用及配置

    gitgnore,它的作用是忽略指定的文件,这样Git就不会去跟踪这些文件的修改,它们也不会被提交到版本库。典型的android studio IDE的android项目的.gitgnore配置: # Built application files *.apk *.ap_ *.aab

    作者: yd_221104950
    发表时间: 2020-12-03 01:10:11
    3358
    0
  • Android 安卓DataBinding(十)·include中使用

    前景回顾在include中使用 前景回顾 Android 安卓DataBinding(一)·基础 Android 安卓DataBinding(二)·入门 Android 安卓DataBinding(三)·单向绑定 BaseObservable Android 安卓DataBinding(四)·单向绑定

    作者: 第三女神程忆难
    发表时间: 2021-05-26 04:44:48
    1351
    0
  • Android adb.exe找不到的解决方法

    your SDK, launch the SDK and AVD Manager (execute the android tool) and install "Android SDK Platform-tools" Please also update your PATH

    作者: wh_bn
    发表时间: 2021-12-15 16:17:53
    556
    0
  • 快速上手:在 Android 设备上运行 Pipy

    能否运行在 Android 上运行,今天就来探索如何在 Android 平台上运行 Pipy。 环境准备 测试环境: 本地 macOS 地址为 10.1.1.18 安装 Android 命令行工具 adb(macOS 上可通过 brew install android-platform-tools

    作者: Flomesh
    发表时间: 2024-03-04 14:28:11
    38
    0
  • Android中 Service的onStartCommand方法空指针错误

    NullPointerException,Attempt to invoke virtual method 'java.lang.String android.content.Intent.toString()' on a null object reference 问题代码: if (ACTION_START

    作者: 芝麻粒儿
    发表时间: 2021-08-04 16:19:56
    1431
    0
  • Android高级UI开发(十)之侧滑菜单2

    ><menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/action_gallery" android:title="photos" android:orderInCategory="100"

    作者: yd_57386892
    发表时间: 2020-12-29 00:20:21
    3188
    0