Giter Club home page Giter Club logo

Comments (8)

bluish-x avatar bluish-x commented on August 23, 2024

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.

lambdaupb avatar lambdaupb commented on August 23, 2024

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.

sylvek avatar sylvek commented on August 23, 2024

Not so bad.. Personally, I never used Tasker.. What you described works already?

from itracing2.

lambdaupb avatar lambdaupb commented on August 23, 2024

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.

lambdaupb avatar lambdaupb commented on August 23, 2024

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.

sylvek avatar sylvek commented on August 23, 2024

\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.

lambdaupb avatar lambdaupb commented on August 23, 2024

automate_flow

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.

sylvek avatar sylvek commented on August 23, 2024

nice job :)

from itracing2.

Related Issues (20)

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.