[TIMOB-2646] Android: Support passing customized launch params to Android emulator
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-19T01:08:44.000+0000 |
Affected Version/s | Release 1.7.2 |
Fix Version/s | 2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0 |
Components | Android, Tooling |
Labels | android, androidbuild, ay-verified, cb-verified, launch, module_android |
Reporter | Alan Leard |
Assignee | Chris Barber |
Created | 2011-04-15T03:25:45.000+0000 |
Updated | 2017-03-09T01:02:58.000+0000 |
Description
Developers would like to have the ability to add custom launch parameters to the android emulator such as setting a HTTP proxy.
Here is one example of the parameters they would like to be able to include:
# start the emulator
emulator_cmd = [
self.sdk.get_emulator(),
'-avd',
avd_name,
'-port',
'5560',
'-sdcard',
self.sdcard,
'-logcat',
"'*:d *'",
'-no-boot-anim',
'-http-proxy',
'http://127.0.0.1:8888',
'-partition-size',
'128' # in between nexusone and droid
]
Reference HD Tickets:
http://appc.me/c/APP-364571
http://appc.me/c/EPH-39417-198
Assigning to Don for triage.
Needs a discussion among Platform Team to determine specs for this feature. Aiming for discussion in September.
How does this ticket relate to TIMOB-7393?
This is now in the new Android build and can be set via a CLI plugin hook. Someday we may expose it via the tiapp.xml. To test, in your project, create the directory
PR: https://github.com/appcelerator/titanium_mobile/pull/4781
Closing ticket as fixed.