Skip to content

Commit e86a1c6

Browse files
authored
Merge pull request #60 from codehasan/master
Update readme
2 parents 666f9ea + 8c92194 commit e86a1c6

File tree

8 files changed

+65
-65
lines changed

8 files changed

+65
-65
lines changed

.resources/images/screenshot_1.jpg

67 KB
Loading

.resources/images/screenshot_2.jpg

51.8 KB
Loading

.resources/images/screenshot_2.png

-161 KB
Binary file not shown.

.resources/images/screenshot_3.jpg

50.8 KB
Loading

.resources/images/screenshot_3.png

-117 KB
Binary file not shown.

.resources/images/screenshot_4.jpg

61.2 KB
Loading

.resources/images/screenshot_5.jpg

56.9 KB
Loading

README.md

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,77 @@
11
<div align="center">
2-
<img width="210em" height="auto" src="./.resources/images/ic_launcher.png" alt="Logo" border="0">
2+
<img width="210" height="auto" src="./.resources/images/ic_launcher.png" alt="Current Activity Logo" border="0">
3+
4+
# Current Activity
5+
6+
**🔍 App Activity Inspector: Real-Time Foreground Status Monitor**
7+
8+
An essential tool for **Android Developers** and **Reverse Engineers**
9+
Instantly displays the *package name* and *class name* of the application currently in the foreground.
10+
Quickly inspect any active app on your device for development or debugging.
11+
12+
[![License](https://img.shields.io/badge/License-GPLv3-blue.svg)](LICENSE)
13+
[![Android](https://img.shields.io/badge/Platform-Android-green.svg)](https://www.android.com/)
14+
[![GitHub release](https://img.shields.io/github/v/release/codehasan/Current-Activity?include_prereleases)](https://github.com/codehasan/Current-Activity/releases)
15+
16+
<a href='https://play.google.com/store/apps/details?id=io.github.ratul.topactivity'>
17+
<img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' width='200'/>
18+
</a>
19+
320
</div>
4-
<h1 align="center">
5-
<b>Current Activity</b>
6-
</h1>
7-
<div align="center">
821

9-
[![App](https://img.shields.io/badge/Current%20Activity-1.5.9-blue?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMiAxLjUpIj48cG9seWxpbmUgcG9pbnRzPSI1LjI0NSAxMy4yODEgOC4yMzggOS4zOTEgMTEuNjUyIDEyLjA3MyAxNC41ODEgOC4yOTMiLz48Y2lyY2xlIGN4PSIxNy45OTUiIGN5PSIyLjciIHI9IjEuOTIyIi8+PHBhdGggZD0iTTEyLjkyNDQ4NTIsMS42MjAxMzczMSBMNS42NTY3NTA2LDEuNjIwMTM3MzEgQzIuNjQ1MzA4OTQsMS42MjAxMzczMSAwLjc3ODAzMjA0MSwzLjc1Mjg2MDQzIDAuNzc4MDMyMDQxLDYuNzY0MzAyMDkgTDAuNzc4MDMyMDQxLDE0Ljg0NjY4MiBDMC43NzgwMzIwNDEsMTcuODU4MTIzNyAyLjYwODY5NTY3LDE5Ljk4MTY5MzUgNS42NTY3NTA2LDE5Ljk4MTY5MzUgTDE0LjI2MDg2OTYsMTkuOTgxNjkzNSBDMTcuMjcyMzExMywxOS45ODE2OTM1IDE5LjEzOTU4ODIsMTcuODU4MTIzNyAxOS4xMzk1ODgyLDE0Ljg0NjY4MiBMMTkuMTM5NTg4Miw3LjgwNzc4MDM2Ii8+PC9nPjwvc3ZnPg==)](https://github.com/RatulHasan8/Current-Activity/releases/tag/app-n-source)
10-
[![SDK](https://img.shields.io/badge/Android-7%20to%2016-brightgreen?logo=android&logoColor=white)](https://github.com/RatulHasan8/Current-Activity/releases/tag/app-n-source)
11-
[![License](https://img.shields.io/badge/License-GPL-red?logo=gnu&logoColor=white)](./LICENSE)
12-
[![Maintenance](https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DUuNjkxLTEzLjczOGMzLjY2OS0zLjY3IDguNTQ4LTUuNjkgMTMuNzM4LTUuNjkgNS4xODkgMCAxMC4wNjggMi4wMjEgMTMuNzM4IDUuNjkgNy41NzMgNy41NzUgNy41NzMgMTkuOTAxLS4wMDEgMjcuNDc2eiIvPjwvZz48L3N2Zz4=)](https://github.com/ratsan/Current-Activity/graphs/commit-activity)
13-
[![Contributions](https://img.shields.io/badge/Contributions-Open-yellow?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAARqSURBVHic7ZvNa11FGMZ/bxJjPzQNpoKi0WoXRaogrS26MfYDxWq14KaCuHIhooJu1H9AxU0RFaQgRYugoESMaDVKExBUrNKNsSVImraCVG1rrYoN8rg4701OT+bcxJsz5yTmPBDuzDvvzH3myXzPXKhRo0aNRQybyUGSAb3ApfHpFIoTwHEzUzOnXAEkLQWeBB4GriyWW2k4BrwK7DKzv0IOQQEkrQQ+Am6Kx61UfA3caWa/ZhOmCeBN/jNgk5tGgJeBI8BEPI6F4gJgFfAYcJ3bBs3s9hlzStqhKbwraUk8nnEhaYmk/lR9ts8m01vufFLSJSXwjApJPZJOeZ3ezKa3BfI0msyQmZ2MSy8+vN8Pe3RtNj0kQJd//haLVAU45Z8rsgkhARYVagGqJlA1agGqJlA1OpqkrZf0fGlM4mJ9XkIzAW7wv/81mglwDvijLCKRsRzonJWnpDFfNu6Jy6k8SNrjdRrLpi36QbAWoGoCVaMWoGoCMLlnr4RL5QJIupfkBPfDKr6/cgGAB0h4TDusKAOVCuAHsLd59PMqOEQVQFKbpDVe0RCuB1Z6eH8m71VlHMhGE8DJDwCHgOdy3DalwpMCSLoPGAcOSLo8FkeIJIDfKr0PbHPTxTmuDQGOm9loyt44l1wLDEm6oniWOZjrXkDSMkmDqbP4YUkXBfzaJP3iPm9k0kzSS6kyxiRdM4c6lbMXkLScpNlvddMwcJeZnQ243wj0ePi8/u8Xmo8DL7ppFbBf0rVF8oUCBfDKfwBsdtM+kvu4UOUhp/834CI8Aexy09UkIqwuhnEOWukCfgX1RarJDki6cIY8A3nNMuD7Qqrso5L+0211GV1gA3Czh08DD5rZ300IdQC3enTafz+Ap4CDHu4FdrTIcxqKEuBLYNDD3UB/aOBLYR1TI/1Qs4J9j7CbZMwAOAy83TLTDAoRwMwmgO0kUx9AH/CxpK6cLOn+P5RXrqR24DXgITcdBjab2c9zItwMc5kGJXXq/OvoAwrcMEva5+mjoXLcp13S66myRtTioqjZGBByblkAz9+p5F1BA99I6kmld0g642m7c8pol7Q3VcZBSS2/USpjEJyEmZ0DdgLvuGkd8GzKZSNTK8O8AfARkl0iwLfAlljNPspS2MeE+4G9bhpPJc+m/x8B/iEZXLeG3vZEw1y7QKC8rkz8Uy//+xnydfsgWASH3C7Q7GKkEJjZmRSRTuAWjzad/83sdExeDZR9ILIBWObh2SyAoiN6C8jgBPAncJaphVOlKFUAMxuV1AtMmNnvZX53HspuAcy3l2fz4VS4UtQCBGyNaau7TCKR0diPTHv7GBJgxD/70mv4hQolL9/7PPrdbDLck9qE9GthP5ZeKum9VH3uzvrkPZcfBLa46RDwCvADC+u5/GrgUWCN2z4xszuyjnk/mOghuazcGIthyfgK2BaagoOzgO+++oBngKNxuUXFOPA00Je3/pjxR1MASm5mLiuQWBn4ycx+rJpEjRo1asxr/As8TL5578cVOwAAAABJRU5ErkJggg==)](https://github.com/ratsan/Current-Activity/pulls)
14-
[![Contributors](https://img.shields.io/github/contributors/ratulhasanrahat/Current-Activity?color=yellowgreen&logo=dev.to&logoColor=white)](https://github.com/ratsan/Current-Activity/graphs/contributors)
15-
<br/>
22+
---
1623

17-
<p align="center">
18-
<srong>App Activity Inspector: Real-Time Foreground Status Monitor</strong>
24+
## ⚠️ Important Note
1925

20-
An essential tool for <strong>Android Developers</strong> and <strong>Reverse Engineers</strong>. Instantly displays the <i>package name</i> and <i>class name</i> of the application currently in the foreground. Quickly inspect any active app on your device for development or debugging.
21-
</p>
26+
> **Note:** Google prohibits the usage of **QUERY_ALL_PACKAGES** permission and **AccessibilityService** without a strong explanation. For that reason, the Play Store version of **Current Activity** won't have either of these features. While the app will still function, performance will vary.
27+
>
28+
> **💡 Recommendation:** It is strongly recommended to use the latest **Global** version from [**Releases**](https://github.com/codehasan/Current-Activity/releases) rather than from **Play Store**.
2229
23-
</div>
30+
---
31+
32+
## ✨ Key Features
33+
34+
- **📱 Real-Time Tracking:** View the **package name** and the **class name** of the app currently visible to the user (i.e., the top app).
35+
- **🛠️ Development & Debugging:** Quickly verify which components are launched, aid in deep-link development, and confirm third-party app interaction.
36+
- **🔧 Reverse Engineering:** Identify key components and packages in external applications for analysis.
37+
38+
---
39+
40+
## ⚙️ How It Works
41+
42+
The monitoring is made possible with two main services: **PackageMonitoringService** and **AccessibilityMonitoringService**.
43+
44+
1. **PackageMonitoringService** actively checks for app state changes in the last 10 seconds, doing this every 500ms. Each time a state change is detected and confirmed to be in foreground, the popup window is updated to inform the user.
45+
46+
2. **AccessibilityMonitoringService** complements **PackageMonitoringService** by actively observing window state changes. If a change is detected and confirmed not to be a System class (e.g., `android.view.View`), it immediately updates the popup window.
47+
48+
---
49+
50+
## 📸 Screenshots
2451

25-
<a href='https://play.google.com/store/apps/details?id=io.github.ratul.topactivity'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' width='200'/></a>
26-
27-
28-
> [!NOTE]
29-
> Google prohibits the usage of **QUERY_ALL_PACKAGES** permission and **AccessibilityService** without a strong explanation. For that reason, play store version of **Current Activity** won't have either of these features. While the app will still function, performance will vary. It is strongly recommended to use the latest **Global** version from [Releases](https://github.com/codehasan/Current-Activity/releases) rather than from **Play Store**.
30-
31-
32-
<h1 align="left">
33-
<b>&nbsp;Key Features</b>
34-
</h1>
35-
36-
<ul>
37-
<li><strong>Real-Time Tracking:</strong> View the <strong>package name</strong> and the <strong>class name</strong> of the app currently visible to the user (i.e., the top app).</li>
38-
<li><strong>Development &amp; Debugging:</strong> Quickly verify which components are launched, aid in deep-link development, and confirm third-party app interaction.</li>
39-
<li><strong>Reverse Engineering:</strong> Identify key components and packages in external applications for analysis.</li>
40-
</ul>
41-
42-
<h1 align="left">
43-
<b>&nbsp;How it works</b>
44-
</h1>
45-
<p>
46-
The monitoring is possible with mainly two services, <b>PackageMonitoringService</b> and <b>AccessibilityMonitoringService</b>.
47-
</p>
48-
<ol>
49-
<li>
50-
<i>PackageMonitoringService</i> actively checks for app state changes in the last 10 secods. And it does this for every 500ms time passed. Each time a state change is detected and confirmed to be in foreground, the popup window is updated to let the user know.
51-
</li>
52-
<li>
53-
<i>AccessibilityMonitoringService</i> compliments <i>PackageMonitoringService</i> by actively observing window state changes, if a change is detected and it was confirmed not be a System class (i.e. <i>android.view.View</i>), it immediately updates the popup window to let the user know.
54-
</li>
55-
</ol>
56-
57-
<h1 align="left">
58-
<b>&nbsp;Screenshots</b>
59-
</h1>
6052
<div align="center">
61-
<a href="./.resources/images/screenshot_2.png"><img width="140" height="249" src="./.resources/images/screenshot_2.png"></a>
62-
<a href="./.resources/images/screenshot_3.png"><img width="140" height="249" src="./.resources/images/screenshot_3.png"></a>
53+
<img src="./.resources/images/screenshot_1.jpg" width="160" height="356" alt="Screenshot 1">
54+
<img src="./.resources/images/screenshot_2.jpg" width="160" height="356" alt="Screenshot 2">
55+
<img src="./.resources/images/screenshot_3.jpg" width="160" height="356" alt="Screenshot 3">
56+
<img src="./.resources/images/screenshot_4.jpg" width="160" height="356" alt="Screenshot 4">
57+
<img src="./.resources/images/screenshot_5.jpg" width="160" height="356" alt="Screenshot 5">
6358
</div>
64-
<h1 align="left">
65-
<b>&nbsp;Credits</b>
66-
</h1>
6759

68-
* [Wen](https://github.com/109021017) for [project base](https://github.com/109021017/android-TopActivity).
69-
* [Muhtaseem Al Mahmud](https://github.com/KingMahmud) for project optimization.
60+
---
61+
62+
## 🙏 Credits
7063

71-
<h1 align="left">
72-
<b>&nbsp;License</b>
73-
</h1>
64+
- [**Wen**](https://github.com/109021017) for the [project base](https://github.com/109021017/android-TopActivity)
65+
- [**Muhtaseem Al Mahmud**](https://github.com/KingMahmud) for project optimization
7466

75-
[![License](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)](LICENSE)
76-
<br/><br/>
77-
Current Activity is licensed under [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.html) v3 or later.
67+
---
68+
69+
## 📄 License
70+
71+
<div align="center">
72+
73+
[![License](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)](LICENSE)
74+
75+
Current Activity is licensed under [**GNU General Public License v3.0**](https://www.gnu.org/licenses/gpl-3.0.html) or later.
76+
77+
</div>

0 commit comments

Comments
 (0)