大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺
打开所要查看的应用包名:
$ adb shell dumpsys activity top | head -n 10
TASK com.ss.android.article.news id=5
ACTIVITY com.ss.android.article.news/com.ss.android.article.base.activity.DetailActivity 4407b468 pid=2714
Local FragmentActivity 42df3028 State:
mCreated=truemResumed=true mStopped=false mReallyStopped=false
mLoadersStarted=true
FragmentManager misc state:
mActivity=com.ss.android.article.base.activity.DetailActivity@42df3028
mContainer=android.support.v4.app.FragmentActivity$2@4231e9a0
mCurState=5 mStateSaved=false mDestroyed=false
View Hierarchy:这里拿今日头条做例子可以看到它的包是com.ss.android.article.news,就无需反编译去看manifast.xml来找到其对应的包名了。
查看分辨率:
$adb shell dumpsys window | grep “ShownFrame” | head -n 1
mHasSurface=true mShowFrame=[0.0,0.0] [720.0,1280.0] 可以看到这里显示的分辨率为720×1280,这里也可以通过程序来获取。
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/170365.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...