views:

41

answers:

2

Hi all,

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?

+1  A: 

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

Teknolog
+2  A: 

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);
Riho