Wednesday, January 13, 2016
s60 2nd in how to change the system time event capture?
As stated, there is nothing like wince as has CeRunAppAtEvent (TCHAR * pwszAppName,
LONG lWhichEvent) similar function?
Reply:
Here is a method of verification is not done, view RTimer :: At () as described in the SDK:
void At (TRequestStatus & amp; aStatus, const TTime & amp; aTime);
Parameters
TRequestStatus & amp; aStatus On completion, contains the status of the request: ... KErrAbort - the timer was aborted because the system time changed ....
According to instructions in the documentation, you can use the active object encapsulates RTimer object and call it At the specified time trigger an ultra-long () method, and then determine iStatus.Int RunL () in (), if it is KErrAbort Description System Time has been changed.
Reply:
Is there any way you can get the system shutdown event?
Or similar battery charge state is how to get it?
Reply:
Tried it chenziteng (Chan Teng) said method, the time change when I did not see anything, when the time to adjust to the time specified in the call at RunL () method. I do not know that I was on the wrong test sdk said method is not implemented
Reply:
The method posted on S60 2nd Edition FP2 SDK authenticated.
Reply:
Oh, I s60 2nd edition fp3 sdk verification on the simulator did not see a change, but just tried it on a real machine really worked it. Thank Chan Teng! ! !
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment