Comments (8)
Even though this would be great, I think this enhancement may depend on Google Services Framework and may prevent installing the app or cripple the user experience for those who don't have Google's apps on their devices.
from itracing2.
I think this is better handled by one of the usual Task automation Apps like Automate by llama or Tasker. Configure a broadcast Intent on button action and receive it in the Taker app and decide there what to do, maybe based on location and other variables.
from itracing2.
Not so bad.. Personally, I never used Tasker.. What you described works already?
from itracing2.
I'm currently trying to get broadcast Intents to work, I installed Intent Intercept
and entered itracing2.single
as custom action, but the Intent is not captured. Have you tested the Intent custom action?
In general this should work well.
from itracing2.
So I entered android.intent.action.CAMERA_BUTTON
as the custom action and that launches the camera app. So there is probably just something wrong with my setup.
EDIT: yup, seems to work fine, I'm also getting the itracing2.button
Intent. Sorry for the noise.
from itracing2.
\o/ that's a good news!
FYI, this portion of code (https://github.com/sylvek/itracing2/blob/master/app/src/main/java/net/sylvek/itracing2/receivers/CustomAction.java#L61) describes how the intent is broadcasted.
from itracing2.
To receive the Intent in llama Automate, the Broadcast Receive
action needs to be configured as in the screenshot. The URL SCHEME needs to be switched to manual and left empty and the action switched to manual and the Intent string entered with quotes.
from itracing2.
nice job :)
from itracing2.
Related Issues (20)
- App requires location service permission to work HOT 2
- Can not detect my itag HOT 1
- Events History shows buttons presses but actions are not triggered HOT 3
- IMMEDIATE ALERT HOT 3
- calling webservice from custom action HOT 3
- Android Oreo support
- Difference in click options HOT 3
- Supporting SDK24 just needs changing 2 lines of code :) HOT 6
- Add actions for low signal strength HOT 1
- Question: can you send a text/sms? HOT 5
- Make app available via F-Droid HOT 6
- Open a simple APP HOT 1
- Any Trick to Make Sure iTag Gets Automatically Reconnected to iTracing2 When It Is Turned Back On? HOT 5
- Please Have it Emit A Broadcast Intent that Signifies Remaining Battery HOT 1
- Location and Bluetooth permission request comes together. HOT 1
- Custom Action
- Cryptographic APIs misuses
- Action tel:<international number> doesn't fire in the background HOT 1
- nrf5 1822 support request HOT 2
- Custom URLs not being GET'd HOT 5
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 itracing2.