Skip to content

Resubmitting request for issue #1361: added command-line support for Android mode only#1736

Closed
pif wants to merge 7 commits intoprocessing:masterfrom
pif:master
Closed

Resubmitting request for issue #1361: added command-line support for Android mode only#1736
pif wants to merge 7 commits intoprocessing:masterfrom
pif:master

Conversation

@pif
Copy link
Copy Markdown

@pif pif commented Apr 20, 2013

Hi, @benfry!
Resubmitting with android-related changes only.

As I see, processing-java is copied from processing script during the build process. But I didn't touch build/build.xml for processing-android. I'm not sure If you want android-related code there now.

//... from the previous pull-request:
I added processing.mode.android.Commander, which can be used for Android command-line build.
And here's the corresponding shell-script: build/linux/processing-android. It is the same as processing-java but calls another class at the end.

Command line edition for Processing 0217 (Android Mode)

--help               Show this help text. Congratulations.

--sketch=<name>      Specify the sketch folder (required)
--output=<name>      Specify the output folder (required and
                     cannot be the same as the sketch folder.)

--force              The sketch will not build if the output
                     folder already exists, because the contents
                     will be replaced. This option erases the
                     folder first. Use with extreme caution!

--target=<target>    "debug" or "release" target.
                     "debug" by default.
--build              Preprocess and compile a sketch into .apk file.
--run=<d|e>          Preprocess, compile, and run a sketch on device
                     or emulator. Device will be used by default.

--export             Export an application.

@benfry
Copy link
Copy Markdown
Contributor

benfry commented Apr 20, 2013

You'll need to do a pull first; these files have moved due to the changes I mentioned earlier. They'll be moving again sometime in the next 72 hours when Android gets its own repo, so you might even want to wait a short bit so that you're not chasing things...

@pif
Copy link
Copy Markdown
Author

pif commented Apr 20, 2013

Oh.. I just updated my branch, so I'll be chasing things locally :)
Maybe, I'll do another pull request later, after all the files are finally moved to their respective places.

@benfry
Copy link
Copy Markdown
Contributor

benfry commented Apr 21, 2013

Alright, we're set with the new repo: https://github.com/processing/processing-android

All issues will be moving over there eventually, but that's the place to submit patches and where all development will be happening.

Thanks for your help!

@benfry benfry closed this Apr 21, 2013
@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants