def execute_browser(url):
 try:
  args = ['/system/bin/sh', '/system/bin/am', 'start', '-a', 'android.intent.action.VIEW', '-d', url]
  output = subprocess.check_output(args)
 except subprocess.CalledProcessError as e:
  log.error('Error starting browser intent: %r', e)
  return
 log.info('Intent returned: %r', output)

def execute_browser ( url ) : try : args = [ '/system/bin/sh' , '/system/bin/am' , 'start' , '-a' , 'android.intent.action.VIEW' , '-d' , url ] output = subprocess . check_output ( args ) except subprocess . CalledProcessError as e : log . error ( 'Error starting browser intent: %r' , e ) return log . info ( 'Intent returned: %r' , output )
start url intent on the emulator .