Skip to content
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

copy as command line #9

Open
chrysn opened this issue Oct 29, 2014 · 6 comments
Open

copy as command line #9

chrysn opened this issue Oct 29, 2014 · 6 comments

Comments

@chrysn
Copy link

chrysn commented Oct 29, 2014

the "send edited" feature is useful, but short of becoming a generic intent generator, can't do all possibly intereting resends (eg adding removing flags or extras).

i suggest adding a "copy commandline" option, which serialises the intent to an "am broadcast" commandline. that would allow arbitrary modification as well as more versatile experimentation without firing up the ide.

@E3V3A
Copy link

E3V3A commented Nov 5, 2014

Great idea.

@intrications
Copy link
Owner

I will try to add this at some point but I would also welcome a pull request.

@k3b
Copy link
Contributor

k3b commented Dec 25, 2014

You can modify the other fields through the new intent-uri-edit-field via the clipboard. See my pull-request

@k3b
Copy link
Contributor

k3b commented Jan 28, 2015

@ chrysn : does the intent-uri-edit-field which is available since 28 Dec 2014 solve your problem? can we close this ticket?

[update]
would the codegenerator be more than this

  myIntent = Intent.parseUri("... content-of-intent-uri-edit-field ...", Intent.URI_INTENT_SCHEME)

@chrysn
Copy link
Author

chrysn commented Jan 28, 2015

On Wed, Jan 28, 2015 at 12:50:55AM -0800, k3b wrote:

@ chrysn : does the intent-uri-edit-field which is available since 28 Dec 2014 solve your problem? can we close this ticket?

i haven't had a chance of trying it (my device is managed by f-droid,
and the update is not through yet), but while it may solve the issue i
had at the time i wrote the report, i think that providing the intent as
shell command line (as in the issue description) is generally useful,
for experimentation and automation prototyping.

(one could even go as far as providing, in parallel to the command line
invocation, a java version a la "if you want to do this in your code,
paste that", but i value the shell part).

still: thanks for adding additional editing capabilities!

best regards
chrysn

@ghost
Copy link

ghost commented Aug 9, 2016

A command line tool which intercepts all intents which can be used in shell scripts would still be a dream. I would use it to workaround various problems with apps that don't generate the intents I want or redirect intents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants