Skip to content

ammarptn/AndroidActivityMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AndroidActivityMap

AndroidActivityMap

AndroidActivityMap is a program to generate the graphical map of activity/fragment in the android project.

  • Increase navigation ability of your Android project
  • provide better vision of your application flow
  • Help you plan UI testing more efficacy
  • support kotlin/Java project
  • fast

Features

  • Auto generate Activity/fragment map of your Android project
  • Activity/fragment shortcut

Requirement

How to use

Step 1: place AndroidActivityMapGenerator.jar at same location of your AndroidManifact.xml

Step 2 : make AndroidActivityMapGenerator.jar executable

$ chmod +x AndroidActivityMapGenerator.jar

Step 3 : execute the jar file

$ java -jar AndroidActivityMapGenerator.jar

After that it will generate Activity graph inside graphResult folder

Open Android Studio and open graph.mmd

How to handle Infinity loop

Some of activity might have two way relations(something like Activity A can launch Activity B and Activity B can launch Activity A). This will create an infinity loop and cause chaos while generating the activity/fragment map. The AndroidActivityMapGenerator will stop and show you error if it detect infinity loop.

infinity-loop

All you have to do is write one line of comment that indicates which activity/fragment that you want to ignore.

ignore-indicator

#Remark

  • not all project will able to generate at the first try.
  • This is create to match only my project/code guideline.
  • if you have any question, just create issues in this git
  • feel free to fock and change to match with your project guideline

License

MIT

About

AndroidActivityMap is a program to generate the graphical map of activity/fragment in the android project.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages