APP类型对比及页面布局

本文探讨了Native、Web和Hybrid三种类型的App,并详细介绍了App的页面布局,包括FrameLayout、LinearLayout、AbsoluteLayout、RelativeLayout和TableLayout。此外,还讨论了App控件的使用,如TextView、EditText、ImageView、Button等,以及Android Debug Bridge (ADB)的常用命令,如设备管理、文件传输和日志打印等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Native
web
Hybrid
在这里插入图片描述

App页面布局

框架布局FrameLayout
线性布局LineLayout
绝对布局AbsoluteLayout
相对布局RelativeLayout
表格布局TableLayout
在这里插入图片描述
App控件
文本输入框TextView
编辑框EditText
图片控件ImageView
按钮Button
复选框CheckBox
进度条ProgressBar
在这里插入图片描述

Android Debug Bridge adb组件
在这里插入图片描述

adb常用命令
adb help
adb devices
adb connect 127.0.0.1:62001
adb pull 手机路径 本机路径
pull [-a] REMOTE… LOCAL
adb push 本机路径 手机路径
push [–sync] LOCAL… REMOTE
copy local files/directories to device
adb shell 转化linux命令
adb install *.apk
app installation:
install [-lrtsdg] PACKAGE
install-multiple [-lrtsdpg] PACKAGE…
uninstall [-k] PACKAGE
start-server ensure that there is a server running
kill-server kill the server if it is running
reconnect kick connection from host side to force reconnect
reconnect device kick connection from device side to force reconnect
reconnect offline reset offline/unauthorized devices to force reconnect
adb shell am start -n 包名/入口
启动app
adb shell pm clear 包名清除应用的数据和缓存
adb shell imput tap x坐标 y坐标
adb shell pm list packages
列出所有的包名
adb logcat 打印日志

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值