No it doesnt work on the real device as well..
When a supply the settingTime to an RTimer this way
Code:
iTimer->At(settingTime));
Then the callback method of the notifier of the timer AO,registers an error with error code -10.
Code:
void CAppUi::TimerExpired(TAny* aTimer,TInt aError)
{
if(aError == KErrNone)
{
// Timer successfully completed, handle it
ShowInfoL(_L("Timer Expired"));
}
}
aError is -10.
Error code -10 is
In the context of mathematical or time/date functions, indicates a calculation that has produced a result smaller than the smallest magnitude of a finite number allowed by the representation.
When i print the settingTime as explained in the previous post it prints it proper.
What is it that i should do to give the setting time as input to the RTimer.Is any intermediate conversion needed????