An open API service indexing awesome lists of open source software.

https://github.com/ogios/notifysend

监控安卓通知,发到电脑端的通知上(windows/linux)
https://github.com/ogios/notifysend

andorid-app java monitoring notification-android socket-programming

Last synced: 7 months ago
JSON representation

监控安卓通知,发到电脑端的通知上(windows/linux)

Awesome Lists containing this project

README

          

# Notification Monitor
find a way to take a shit
## 需要提到的事情
食用时尽量给手机后台运行的权限,不然黑屏和放后台的时候监控不到也发送不了
不过开启之后想关闭需要进应用详情页才能强制关闭

linux电脑端需要有notify-send,不过如果不想要通知只想获取内容的话可以不要,删掉Notify类就当无事发生好了
这个一般都会自带,没有的话试试:
```shell
sudo apt-get install libnotify-bin
```
## 运行
电脑端 -> ServerSocket
手机端 -> Socket

打开app后主页面是灰色的,最下方有一个长不溜的按钮,按下去进通知权限页面开启权限就行,这时再回去主页就变成黄色背景的了
每个通知被抓下来之后会在主页放着,抓取时会自动发送,也可以长按被抓下来的通知重新发送一次(测试时用)
按setip按钮可以设置ip和端口

电脑端运行(JRE17):
```shell
java -jar NotifySend.jar
```