Like a lot of other people I'm trying to change my form softkeys label.
I've installed uitricks and it works in the emulator in basic usage and I could successfully change exitkeyhandler with
Code:
from key_tricks import *
import uitricks
# same behavior than uikludges !
uitricks.set_text('Out',EAknSoftKeyExit)
I then tried to change label in my form created as suggested here but there was no way to get it works. Wherever I put
Code:
# 'Back' becomes 'Done' ...
uitricks.set_text('Done',EAknSoftKeyBack)
# return to default ...
uitricks.set_text('Done',EAknSoftKeyBack)
# 'Options' left soft key display become 'Python' !
uitricks.set_text('Python',EAknSoftKeyOptions)
I get EAknSoftKeyBack is not defined.
What am I missing?