androidlib.py
by Eing Ong
NAMEandroidlib - Library containing all Android common functions.
FUNCTIONSback()Press back buttonbackspaces(num=1)Enter backspacesdrag(fromX=0, fromY=0, toX=0, toY=0)Move on touch screen from (fromX,fromY) to (toX, toY)enter(string=None)Press enter or enter stringhome()Press home keymenu()Press menu keyplayback(events='playbackfile')Playback eventsrecord(seconds=5, returnResult=False)Record events@param seconds length of recording time in secondsscroll(action='left', num=1)Press cursor keys (up, down, left, right)touch(posX=0, posY=0, action='default')Touch on screen at co-ordinates (posX,posY)
Subscribe via RSS