开发者

How to write an application to stimulate clicking events on Mobile

I'm finding a way to write a mobile 开发者_高级运维application that could stimulate clicking some buttons on the phone. Based on my check, it's not possible to do with J2ME. How about Symbian? Is it possible?


Yes, it is

            TRawEvent ev1;
        TRawEvent ev2;
        ev1.Set(TRawEvent::EKeyDown, EStdKeyApplication0); 
        UserSvr::AddEvent(ev1); 
        User::After(10000); 
        ev2.Set(TRawEvent::EKeyUp, EStdKeyApplication0);
        UserSvr::AddEvent(ev2);


Symbian has a User Emulator contributed by Orange that does just this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜