On 04/05/2012 07:51 AM, YongQin Liu wrote:
I agree with you about re-pack an apk is not a good idea. This is just a temporary walk around way to do it, once we have an unique SSID for this test, the source code of this test apk will be modified, then the repacking work will be gone.
Apologies if I don't understand the full context, but:
I don't think we should write the lava-android-test in a way that its hard-coded to a pre-defined SSID. The install command allows you to pass an option(s) when installing a test. So you could do the test so that the install required:
lava-android-test install -o "SSID=andys_network" testname
The test itself can then get that value from the file and pass that to the command that starts the activity.