为您找到相关结果2,282,437个
36个Android开发常用经典代码大全_Android_脚本之家
本文汇集36个Android开发常用经典代码片段,包括拨打电话、发送短信、唤醒屏幕并解锁、是否有网络连接、动态显示或者是隐藏软键盘等,希望对您有所帮助。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44...
www.jb51.net/article/963...htm 2025-3-29
Android Studio实现简单的通讯录_Android_脚本之家
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 package com.example.test; import androidx.appcompat.app.AppCompatActivity; import android.content.Context; import android.conten...
www.jb51.net/article/2107...htm 2025-4-18
Android开发Compose框架使用开篇_Android_脚本之家
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 public fun ComponentActivity.setContent( parent: CompositionContext? = null, content: @Composable () -> Unit ) { val existingComposeView = window.decorView .findViewById<ViewGroup>(android.R.id.content) .getChildAt(0) as...
www.jb51.net/article/2617...htm 2025-4-25
android仿华为手机悬浮窗设计_Android_脚本之家
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 public class FwBroadcastReceiver extends BroadcastReceiver { public static final String TAG = "FwBroadcastReceiver"; public static final String ACTION_BOOT = "android.intent.action.BOOT_COMPLETED"; public static final String ACTION_STASRT_...
www.jb51.net/article/2596...htm 2022-8-17
浅析Android的启动原理_Android_脚本之家
系统初始化:init负责初始化Android设备的系统资源,如挂载文件系统、设置文件权限和加载驱动程序。 启动Android组件:init进程协调启动Android系统的其他重要组件,例如Zygote进程和System Server。 启动应用程序:init进程还负责启动设备上已安装的应用程序。 进程管理:init监视并重新启动在其管理下的进程,以确保系统的稳定性。
www.jb51.net/program/301938u...htm 2025-4-25
Android实现简单购物车_Android_脚本之家
android:layout_height="match_parent"> <CheckBox android:focusable="false" android:id="@+id/group_check" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </LinearLayout>child_item:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 ...
www.jb51.net/article/2521...htm 2025-4-7