Is it possible to convert a string that was created by Object.ToString() back to the original object i.e:
public boolean dispatchKeyEvent (KeyEvent event) {
appendLog(event.toString());
return super.dispatchKeyEvent(event);
}
appent log will log every keyevent as a string in a new line. After logging i would like to run the logged keyevents
Is it possible to convert the string logged keyevents to a KeyEvent object?