Comments (4)
Any progress yet on this front?
from phonk.
Hi @gtusr
Not really. I fixed some stuff to better run background scripts like a year ago but thats all.
In theory lots of things could be done already. Is there something specific that you would like to do?
from phonk.
I was just wondering if PHONK could someday become a replacement for Tasker since PHONK can already respond to various "profile triggers," as demonstrated on the project homepage.
I'm not familiar enough yet with the Android framework to estimate how much work would be required to re-create a "Tasker-like" engine that could manage several profiles simultaneously for the user in the background, but this is why I asked about whether or not developing a framework for managing background processes, that can balance issues like battery usage with responsiveness of the phone user interface during foreground activities, is on the future roadmap for PHONK.
from phonk.
I think lots of things can be done already.
For example mixing this 3 examples:
- create a background running script with this https://github.com/victordiaz/PHONK/tree/develop/PHONK-examples/Advanced/Background%20App
- Get the battery status with this https://github.com/victordiaz/PHONK/tree/develop/PHONK-examples/Device/Info
- And depending on the battery status you could send a MQTT message to a broker https://github.com/victordiaz/PHONK/tree/develop/PHONK-examples/Network/MQTT or send a HTTP GET request https://github.com/victordiaz/PHONK/tree/develop/PHONK-examples/Network/HTTP%20GET
I will be happy to help if somebody has some needs that PHONK does not provide yet. We can try to figure out the best and easiest way to accomplish it :)
So if you or anybody else have some need or suggestions that we could add to the baseline we already have I'm all ears :)
If you have any question feel free to ask. I know things are not very well documented, so the best way is running scripts and see how they work. I tried to keep all the examples small so they can be understood.
from phonk.
Related Issues (20)
- orientation: app.conf HOT 1
- screen always on HOT 1
- TOOLBOX
- Sending Byte arrays through BLE
- Site: phone.app - certificate expired on 11/10/2021 HOT 3
- No example for sms send/receive HOT 2
- vertical slider and midi device examples HOT 1
- Can not access the webpage HOT 1
- getting started link on README does not work HOT 1
- Voice recognition without the recognizer's UI HOT 1
- Is it possible in PHONK to create a transparent widget that hovers over other activities ... HOT 1
- How to do linear layouts?
- `PHttpServer` and `PFtpServer` won't be stopped
- TypeScript declaration HOT 3
- Multithreading HOT 4
- Widget TextList: text size doesn't apply HOT 2
- `NativeArray.subarray` is broken
- Widget `.text()` and `.html()` don't set `.props.text` HOT 12
- `PLinearLayout.add` with weight doesn't work
- android.local:8585
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phonk.