Dear zafar,

the script file is consummed here:
http://android.git.kernel.org/?p=platform/development.git;a=blob;f=cmds/monkey/src/com/android/commands/monkey/MonkeySourceScript.java;hb=HEAD

which suggest following syntax:
count= number of events
speed= in ms
start data >>
DispatchPointer(long downTime,  long eventTime, int action,
    float x, float y, float pressure, float size, int metaState,
    float xPrecision, float yPrecision, int device, int edgeFlags)
DispatchTrackball same as DispatchPointer
DispatchKey(long downTime, long eventTime, int action, int code,
    int repeat, int metaState, int device, int scancode)
DispatchFlip(boolean keyboardOpen)
DispatchPress(int keyCode)
LaunchActivity(String pkg_name, String cl_name)
UserWait(long sleeptime)
LongPress()

so I think that command you are after is LaunchActivity

On 23 Mar, 10:06, zafar <[email protected]> wrote:
> AndroidMonkeytool can use user suppliedscriptto run,
> but very few information are present in this regarding to writing
> androidmonkeyscript.
>
> one guy only copied the stuff from source code and apart from that no
> information is present.
>
> Can anyone tell abount the sysntax of androidmonkeyscriptto launch
> browser using the command fromscriptand to browse particular
> website.
>
> Any suggestion will be appreciated.
>
> MD ZAFAR ZIYA

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to