[Android] Refine the transmission of parameter in customize.py.

This patch is to refine the transmission of parameter for android tools.
The transmission of command line was depredated, so refine it to call
functions.
Merge pull request #1672 from wuhengzhi/refine_customize

[Android] Refine the transmission of parameter in customize.py.