Skip to content

rome753/ActivityTaskView

Repository files navigation

ActivityTaskView

[中文文档]

Overview.png

1. New UI and Function

Overview.gif

WebTools - Show in PC browser

  • Show fragments in an activity
  • Show lifecycle text behind Activity/Fragment
  • No need to install app

ActivityTaskView APP - Show in Android float window

  • Show fragments in an activity
  • Show lifecycle text behind Activity/Fragment
  • Float window auto attach to border
  • Tap float window to show tiny icon
Name Short name
Activity A…
Fragment F…
SaveInstanceState SIS

2. Launch mode demo

standard mode

standard.gif

singletop mode

singleTop.gif

singletask mode

singleTask.gif

singleinstance mode

singleInstance.gif

3. Use in your project

Use WebTools(Recommend)

  1. Add jitpack to your project's build.gradle.
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
  1. Add dependency to your project, app module's build.gradle(No need to init, auto init with App StartUp).
    debugImplementation "com.github.rome753.ActivityTaskView:lib:1.0"
  1. Enter WebTools directory, and run npm install to install dependencies, then run node server.js.

For windows, you can click run.bat to run 'node server.js'. For Mac, click run.command(chmod +x first).

  1. Launch your app, and lifecycle will be showed in the browser.

Use ActivityTaskView APP

  1. Add jitpack to your project's build.gradle.
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
  1. Add dependency to your project, app module's build.gradle(No need to init, auto init with App StartUp).
    debugImplementation "com.github.rome753.ActivityTaskView:lib:1.0"
  1. Install ActivityTaskView release apk, open it and grant window permission

https://github.com/rome753/ActivityTaskView/releases

  1. Launch your app, and lifecycles will be showed in the float window.

License

Apache License, Version 2.0
http://www.apache.org/licenses/

About

Show activity tasks, and lifecycles of activities, fragments in you app.【实时显示你的App中的当前全部Activity栈、Activity和Fragment】

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published