AndroidRocket

Project Url: eicky/AndroidRocket
Introduction: 获取当前 Activity 的包名和类名
More: Author   ReportBugs   DemoAPK   
Tags:
activity-currentActivity-track-topActivity-

获取当前 Activity 的类名和包名

由来

每次接手一个别人的项目的时候,是不是感觉特别烦躁,为啥?

  • 老板叫修改一个页面的界面,不知道当前的 class 文件在哪里

  • 看前后页面的跳转逻辑,不知道在对应文件在哪里

通过查询百度,我们知道用命令行adb shell dumpsys activity activities可以查询,但是发现不方便,所以便有了AndroidRocket

效果图

截屏

安装体验

AndroidRocket.apk

使用方法

  • 6.0 以上版本需要悬浮窗权限。所以打开AndroidRocket时,会进入权限管理页面。勾选悬浮窗权限才能正常使用。

    截屏

  • 然后开启辅助功能(无障碍功能) 注:部分手机需要手动打开设置进行对应的权限开启(如:小米、魅族)

    截屏

  • 返回 app,点击开启悬浮窗按钮,即可使用(当然也可以在 Log 信息里面查看,Log 的 TAG 为Eicky截屏

关于我

License

Copyright 2017 Eicky

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Apps
About Me
GitHub: Trinea
Facebook: Dev Tools