-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: directly launch a control pad by name from other apps. #2
Comments
Thanks for the feedback! Launching a specific control pad via an external intent can be a bit challenging because the app is built around a single Compose activity with a navigation graph. This means there aren’t separate activities that an intent could directly target. Additionally, this kind of functionality seems to fall a bit outside the scope of what DroidPad is designed for. But, I really enjoy hearing creative ideas, so keep them coming! 💡 |
Happy to hear you are so receptive! I know you said it was out of scope for this project, but would you accept a PR that does it? I'm not very familiar with NavGraph but I think I might be able to do it using If you like creative ideas, wait until you hear what I'm using DroidPad for: As a gift, I received an bluetooth input device that simulates swipes and taps on the screen at specific locations. I believe the popular name for it is a "TikTok scrolling ring". I don't use TikTok but still want to make use of the ring, so I configured a MQTT control pad that uses a button to capture the input from a screen tap from the ring and sliders to capture screen swipes. It works pretty well, only being limited by the speed of the ring. |
I would appreciate a PR, but I think this is a bit off from the use case of this app. But I’m thinking of going the other way—like adding a QR feature in the app where the user can scan a code and the control pad opens up.
Interesting! Does it involve any coding, and is it open source? If it’s open source and involves Python, I’d love to add it to the examples at DroidPad Python Examples |
That sounds cool! How would the data be encoded in the QR code? Would it be a URL and DroidPad would register itself to open those URLs?
I have |
Not sure yet, but I think a JSON string with all the info about the control pad would work
Yes, Contributions are always welcome |
Hello,
First, thank you very much for this amazing app. It is exactly what I've needed for a project of mine. I have a couple control pads set up now and want to programmatically launch a given control pad by name. I'd like to be able to send an intent from automation-based apps such as Termux or Key Mapper and have Droid Pad open the correct activity. I believe this can be implemented as a service or broadcast receiver.
Thank you again for this app.
The text was updated successfully, but these errors were encountered: