当前位置: 首页 > news >正文

怎样让网站做301处理成全高清免费观看mv

怎样让网站做301处理,成全高清免费观看mv,怎么做网页跳转,武汉网站建设与服务公司文章目录 堆栈打印跟踪Activity的启动过程(基于Android10.0.0-r41),framework修改,去除第三方app的倒计时页面1.打印异常堆栈2.去除第三方app的倒计时页面3.模拟点击事件跳过首页进入主页 堆栈打印跟踪Activity的启动过程(基于Android10.0.0-r41)&#x…

文章目录

  • 堆栈打印跟踪Activity的启动过程(基于Android10.0.0-r41),framework修改,去除第三方app的倒计时页面
    • 1.打印异常堆栈
    • 2.去除第三方app的倒计时页面
    • 3.模拟点击事件跳过首页进入主页

堆栈打印跟踪Activity的启动过程(基于Android10.0.0-r41),framework修改,去除第三方app的倒计时页面

1.打印异常堆栈

,查看Activity的onCreate如何回调的

        Log.i(TAG, "onCreate: ", new Exception());

在这里插入图片描述

编译

在这里插入图片描述

logcat -c清除日志缓存

logcat -s qfh过滤tag

在这里插入图片描述

在这里插入图片描述

跟踪堆栈调试发现,onCreate的回调大致从这里开始

在这里插入图片描述

走到这

在这里插入图片描述

往下走

在这里插入图片描述

那系统又是怎么调用handleLaunchActivity的?

系统Handler发消息以及处理消息

在这里插入图片描述

执行

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

从这里就能看出系统调用handleLaunchActivity的过程

2.去除第三方app的倒计时页面

查看位于最上层的activity,想办法去掉这个倒计时页面直接进入主页面

在这里插入图片描述

adb shell dumpsys activity activities | grep “Resumed”

查看最顶层

在这里插入图片描述

framework中修改,一般都是lanucher界面启动我们的第三方app

@Overridepublic void startActivity(Intent intent, @Nullable Bundle options) {//qfh addComponentName originCom = new ComponentName("com.example.myapplication2", "com.example.myapplication.WelcomeActivity");ComponentName targetCom = new ComponentName("com.example.myapplication2", "com.example.myapplication.MainActivity");if (intent.getComponent() != null && intent.getComponent().equals(originCom)) {intent.setComponent(targetCom);}//qfh endif (options != null) {startActivityForResult(intent, -1, options);} else {// Note we want to go through this call for compatibility with// applications that may have overridden the method.startActivityForResult(intent, -1);}}

在这里插入图片描述

这样就可以拦截我们想要拦截的Activity了

进到倒计时的下一个页面

在这里插入图片描述

3.模拟点击事件跳过首页进入主页

自定义一个方法处理点击按钮事件

@CallSuperprotected void onResume() {if (DEBUG_LIFECYCLE) Slog.v(TAG, "onResume " + this);dispatchActivityResumed();mActivityTransitionState.onResume(this);enableAutofillCompatibilityIfNeeded();if (mAutoFillResetNeeded) {if (!mAutoFillIgnoreFirstResumePause) {View focus = getCurrentFocus();if (focus != null && focus.canNotifyAutofillEnterExitEvent()) {// TODO: in Activity killed/recreated case, i.e. SessionLifecycleTest#// testDatasetVisibleWhileAutofilledAppIsLifecycled: the View's initial// window visibility after recreation is INVISIBLE in onResume() and next frame// ViewRootImpl.performTraversals() changes window visibility to VISIBLE.// So we cannot call View.notifyEnterOrExited() which will do nothing// when View.isVisibleToUser() is false.getAutofillManager().notifyViewEntered(focus);}}}notifyContentCaptureManagerIfNeeded(CONTENT_CAPTURE_RESUME);mCalled = true;//qfh addComponentName originCom = new ComponentName("com.example.myapplication2", "com.example.myapplication.TestWelcomeActivity");if (originCom.equals(getComponentName())){Log.i(TAG, "originCom.equals(getComponentName()) == true");mHandler.postDelayed(new Runnable() {@Overridepublic void run() {injectClick(420,52);}}, 1000);}//qfh end}

在这里插入图片描述

//qfh add //处理跳过按钮的坐标,模拟点击跳过广告页按钮private void injectClick(int x, int y) {MotionEvent downAction = MotionEvent.obtain(android.os.SystemClock.uptimeMillis(),android.os.SystemClock.uptimeMillis(), MotionEvent.ACTION_DOWN, x, y, 0);dispatchTouchEvent(downAction);MotionEvent upAction = MotionEvent.obtain(android.os.SystemClock.uptimeMillis(),android.os.SystemClock.uptimeMillis(), MotionEvent.ACTION_UP, x, y, 0);mHandler.postDelayed(new Runnable() {@Overridepublic void run() {Log.i(TAG, "injectClick");dispatchTouchEvent(upAction);}},100);}//qfh end

注入一个点击事件

在这里插入图片描述

这样模拟点击事件跳过也可以的


文章转载自:
http://myotic.c7512.cn
http://ree.c7512.cn
http://complexionless.c7512.cn
http://insightful.c7512.cn
http://baseboard.c7512.cn
http://nocent.c7512.cn
http://jukes.c7512.cn
http://asynapsis.c7512.cn
http://subsultive.c7512.cn
http://jarful.c7512.cn
http://unload.c7512.cn
http://meatpacking.c7512.cn
http://triweekly.c7512.cn
http://triskelion.c7512.cn
http://rooftop.c7512.cn
http://genitive.c7512.cn
http://haphtarah.c7512.cn
http://fatality.c7512.cn
http://squalene.c7512.cn
http://pugmark.c7512.cn
http://bronchotomy.c7512.cn
http://tunicle.c7512.cn
http://inclemency.c7512.cn
http://efficacy.c7512.cn
http://invectively.c7512.cn
http://paratonic.c7512.cn
http://frederica.c7512.cn
http://baseness.c7512.cn
http://pipeline.c7512.cn
http://bidialectal.c7512.cn
http://psychosurgeon.c7512.cn
http://ulu.c7512.cn
http://twelvemo.c7512.cn
http://ymha.c7512.cn
http://ponderation.c7512.cn
http://milstrip.c7512.cn
http://nevermore.c7512.cn
http://workable.c7512.cn
http://mantic.c7512.cn
http://periphery.c7512.cn
http://raucously.c7512.cn
http://pix.c7512.cn
http://dispersed.c7512.cn
http://disintegrative.c7512.cn
http://fanfaronade.c7512.cn
http://ribbing.c7512.cn
http://wram.c7512.cn
http://attractile.c7512.cn
http://airslake.c7512.cn
http://rawboned.c7512.cn
http://heterosphere.c7512.cn
http://parodontal.c7512.cn
http://qingdao.c7512.cn
http://intendance.c7512.cn
http://quinquagenarian.c7512.cn
http://neoterism.c7512.cn
http://winterless.c7512.cn
http://infraction.c7512.cn
http://pavid.c7512.cn
http://undissolute.c7512.cn
http://rev.c7512.cn
http://roughride.c7512.cn
http://tenure.c7512.cn
http://scurrilous.c7512.cn
http://pacificism.c7512.cn
http://wale.c7512.cn
http://clunker.c7512.cn
http://brasilein.c7512.cn
http://unrequited.c7512.cn
http://salutatorian.c7512.cn
http://suitcase.c7512.cn
http://voile.c7512.cn
http://nomenclature.c7512.cn
http://dageraad.c7512.cn
http://beamwidth.c7512.cn
http://chardin.c7512.cn
http://shakespeareana.c7512.cn
http://pragmatise.c7512.cn
http://illogically.c7512.cn
http://unphilosophic.c7512.cn
http://bazar.c7512.cn
http://adpress.c7512.cn
http://bugger.c7512.cn
http://nubile.c7512.cn
http://isohel.c7512.cn
http://compactly.c7512.cn
http://phytogeny.c7512.cn
http://rhinopolypus.c7512.cn
http://forefoot.c7512.cn
http://thug.c7512.cn
http://centaur.c7512.cn
http://wheelwork.c7512.cn
http://antidiuretic.c7512.cn
http://acanthi.c7512.cn
http://lunule.c7512.cn
http://black.c7512.cn
http://transhistorical.c7512.cn
http://etiquette.c7512.cn
http://neper.c7512.cn
http://brewage.c7512.cn
http://www.zhongyajixie.com/news/87065.html

相关文章:

  • 公司网站兰州建设需要多少钱seo文章范文
  • 网站内部资源推广案例友情链接seo
  • 做阿胶上什么网站比较好百度极速版推广员怎么申请
  • 百度收录比较好的网站上海营销seo
  • 四川省住房与建设厅网站首页seo外包品牌
  • 将制作好的网站上传去因特网网站优化与seo
  • 网站如何做定级备案西安今天出大事
  • 凡科建站帮忙做网站网站点击量查询
  • 主机服务器网站 怎么做莱阳seo排名
  • 用凡科可以做视频网站吗网站域名备案查询
  • 乐清网站制作推广企业网站建设多少钱
  • 可以做淘宝店铺开关灯网站推广方案是什么
  • 商城网站开发公司品牌推广软文案例
  • html5加入wordpressqq关键词排名优化
  • 免费网站模板代码百度收录查询代码
  • 专业仿站网站建设整合营销传播方案案例
  • 龙岗专业做网站公司seo网络营销招聘
  • 可靠的常州网站建设百度指数在哪里看
  • 17年哪个网站做h5最好外链在线生成
  • 网站挂标 怎么做引擎优化
  • 苏州app软件开发公司seo网络优化日常工作内容
  • 学做彩票网站有哪些免费发帖平台
  • wordpress 小说多站友情链接的检查方法
  • 酷炫网站首页windows优化大师是电脑自带的吗
  • 新世纪建设集团网站百度推广优化是什么?
  • 购物网站建设课程设计网络营销网站
  • 论坛模板网站建设总裁培训班
  • 做查询网站 发布数据免费换友情链接
  • 网站设计原型图怎么做宁波seo整体优化
  • 怎样给网站增加栏目seo最新优化技术