Coder Social home page Coder Social logo

halnovemila / notify4scripts Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 8.0 975 KB

Sort of wrapper app that allows to call the notification service and build a notification via shell commands

Java 100.00%
notifications android shell-script command-line bash local offline notify scripts

notify4scripts's Introduction

Notify4Scripts

Sort of wrapper app that allows to call the notification service and build, trigger, customize notifications via Android shell commands

As shell commands can be given to an Android device via adb and a computer adb server can be connected to a device over WiFi network, Notify4Scripts allows to build and display notifications on a target phone, manually and programmatically from a remote computer.

Notify4Scripts has two service classes: NotifyService and NotifyServiceCV
The difference among the two is that NotifyServiceCV supports CustomView notifications and a number of parameters to customize the notification, while NotifyService only support standard basic notification.

See the Wiki for more infos about usage and some examples.

notify4scripts's People

Contributors

halnovemila avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

notify4scripts's Issues

Android 8.1 rooted.

I do not know if this is for android 8.1 or if I'm doing something wrong but when app lunches and the "read launcher DB" his taped on I get a "Sorry, can't read launcher DB. Can't find any authority provider that declares this permission" "com.android.launcher.permission.READ_SETTINGS"
I am rooted with magisk manager.
What I'm trying to do is have my Raspberry pi 3 send a adb/ssh push notification when a condition is triggered (IE. High temp) I can not find anything on line regarding how to go about doing this and was hoping that this .apk was the solution. If I'm wrong then disregard this and close it.

Starting service: Intent {cmp=com.hal9k.notify4scripts/.NotifyServiceCV (has extras) }

Hi, halnovemila! I have a problem:
am startservice -n com.hal9k.notify4scripts/.NotifyServiceCV -e str_exec "touch File.txt" -e int_id 6 -e str_title "Make a file" -e hex_tcolor "000000" -e float_csize 16 -e str_content "Create a new empty file in /mnt/sdcard with name File.txt"
does not work. It writes:
Starting service: Intent {cmp=com.hal9k.notify4scripts/.NotifyServiceCV (has extras) }

I have tried --es --esn --ei, but no success.
My android version 2.3.6. Appreciate for any help!

Notifications with unicode characters [edit of original OP title "Missing instructions / files to compile"]

Notify4Scripts works in principle for me, but it appears that unicode characters get mangled somewhere in the chain, garbling strings in commands such as:

am startservice \
  -e str_title "" \
  -e str_content "Noël is xmas in french" \
  -n com.hal9k.notify4scripts/.NotifyServiceCV

I'd like to try and debug it, but I cannot compile Notify4Scripts myself, as there are missing files such as AndroidManifest.xml, possibly build.xml and others.

Thanks for looking at it!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.