| Reply | « Previous Thread | Next Thread » |
|
Perhaps this is totally stupid question but is there a way to make the LeftKey (and the menu) NOT show a menu make it act like the right one? ie when you simply press it you can assign a handler? -> some problems don't need 'Options' but a Back and Forward,
I found (a hideous way i think) to change the labels. I know you can trap it with Canvas, but i do not want a canvas on my screen. Python on series 60 is lovely but you can tell it's still very much evolving ![]() |
| onno baudouin |
| View Public Profile |
| Find all posts by onno baudouin |
|
This kind of feature in UI framework is missing. You can change the right softkey with a hack, search this forum.
|
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
|
Indeed, i found hack for both Left + Right (Both use the FGImage module) and i disable the left menu and then use the canvas event callback to see wether left has been pressed.
now i can setup and easily change both labels + events for both buttons (and works fine). In fact with the FGImage i've wrapped the camera app to 'look' like it's part of my own application. After the exit of the app i find the last picture taken and include it into my own. All attempts to modify the FGImage labels WHILE the camera app is running result in total failure though . I'm currently trying to find your iapconnect example coz again i don't want the user to select anything. So this is to say many thx to YOU! coz you made the small research project hopefully work (still need to send binary files across the connection module ) I'll use it for a realtime gps game though... Can't wait till there is a version 2.0 of python (if ever) to open more the api that is hidden beneath it, that would make an incredible platform. Next up for me (after socket binary server) is to create a Flash 2 Lite + Python combo (also gps, so ican use flash for all the graphics and python for the stuff flash can't do) |
| onno baudouin |
| View Public Profile |
| Find all posts by onno baudouin |
|
Quote:
Use my free module instead ! put uitricks.pyd and key_tricks.py to !\system\libs And now add this to your code Code:
from key_tricks import *
import uitricks
# 'Options' lefsoftkey label becomes 'Forward' ...
uitricks.set_text('Forward',EAknSoftKeyOptions)
# 'Exit' becomes 'Back' ...
uitricks.set_text('Back',EAknSoftKeyExit)
key_tricks.py I don't try the code but I think it would have to work fine ! pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Funny behaviour in AutoStart using pushRegistry | khamouda | Mobile Java General | 12 | 2007-01-11 03:30 |
| Blocking behaviour of MIDP 2.0 sockets - getting it straight | uttumuttu | Mobile Java Networking & Messaging & Security | 1 | 2005-06-21 09:39 |
| Emulator behaviour referring numeric input | btnokdev | General Symbian C++ | 1 | 2004-04-27 12:11 |
| Behaviour of the midlets in the different implementations | teerilah | Mobile Java General | 0 | 2002-10-30 12:01 |
| What is standard behaviour when SME exceeds window size? | ashwinkelkar | General Messaging | 1 | 2002-10-10 12:43 |