MCPcopy Create free account
hub / github.com/AshampooSystems/boden / installAppInEmulator

Method installAppInEmulator

bauer/androidrunner.py:247–257  ·  view source on GitHub ↗
(self, moduleFilePath)

Source from the content-addressed store, hash-verified

245 return emulatorProcess
246
247 def installAppInEmulator(self, moduleFilePath):
248 self.logger.info("Installing app in emulator...")
249
250 # now install the app in the emulator
251 installAppCommand = '"%s" install -t "%s"' % \
252 ( self.adbPath,
253 moduleFilePath )
254 subprocess.check_call(installAppCommand, stdout=self.subprocess_out, shell=True, env=self.androidEnvironment )
255
256 self.logger.debug("Waiting 10 seconds...")
257 time.sleep(10)
258
259
260 def startAppInEmulator(self, appIdToRun, args):

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected