You Are Here:

Community: Developer Discussion Boards

#1 Old Question renaming right soft key - 2009-07-03, 13:33

Join Date: Apr 2009
Posts: 35
jiten_shah18's Avatar
jiten_shah18
Offline
Registered User
hello,

can anyone tell me how to rename right soft key from "exit" to something else(say "back").
Reply With Quote

#2 Old Re: renaming right soft key - 2009-07-03, 13:38

Join Date: Nov 2007
Posts: 34
bakidilek
Offline
Registered User
Try this

Code:
from key_tricks import *
import uitricks
import appuifw
import e32
uitricks.set_text(tr('hi there'),EAknSoftkeyExit)
Last edited by bakidilek : 2009-07-03 at 13:45.
Reply With Quote

#3 Old Re: renaming right soft key - 2009-07-03, 13:39

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
You can't do it in regular PyS60. You need to use an extension, such as appuifw2 or uikludges. I don't think any of them have been ported to work with PyS60 1.9.x though, so you can only use them if you port them yourself or use PyS60 1.4.5.
Reply With Quote

#4 Old Re: renaming right soft key - 2009-07-03, 15:29

Join Date: Apr 2009
Posts: 35
jiten_shah18's Avatar
jiten_shah18
Offline
Registered User
can anyone please tell me where am i suppose to unzip uitricks.zip

thanks in advance
Reply With Quote

#5 Old Re: renaming right soft key - 2009-07-03, 15:46

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
If you're refering to uitricks.zip from http://cyke64.googlepages.com/, that's the source code, not what you need. Download uitricks.pyd if you have an S60 2nd Edition phone. Download uitricks_unsigned.SIS if you have a 3rd Edition or newer phone, sign it with all capabilities at https://www.symbiansigned.com/app/pa...ignedOnline.do and install it.
Reply With Quote

#6 Old Re: renaming right soft key - 2009-07-04, 10:42

Join Date: Apr 2009
Posts: 35
jiten_shah18's Avatar
jiten_shah18
Offline
Registered User
i am using 3 rd edition SDK emulator on my pc
so pls give me soln for pc
by d way thanks for previous soln
Reply With Quote

#7 Old Re: renaming right soft key - 2009-07-04, 12:25

Join Date: Feb 2008
Posts: 2,543
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
Quote:
Originally Posted by jiten_shah18 View Post
i am using 3 rd edition SDK emulator on my pc
so pls give me soln for pc
by d way thanks for previous soln
hello jiten_shah

the zip file actually contains the binaries for a device only. If you want to use that in emulator you need to make different binaries from the source code of the module which are compatible for the emulator.

Hope you got me.


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#8 Old Re: renaming right soft key - 2009-07-04, 13:03

Join Date: Apr 2009
Posts: 35
jiten_shah18's Avatar
jiten_shah18
Offline
Registered User
hello gabba,
dat means uitricks.pyd and key_tricks are available only for mobile phones,so to use it on emulator can u help me how to develop the compatible binaries
Reply With Quote

#9 Old Re: renaming right soft key - 2009-07-04, 13:07

Join Date: Feb 2008
Posts: 2,543
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Online
Forum Nokia Champion
Quote:
Originally Posted by jiten_shah18 View Post
hello gabba,
dat means uitricks.pyd and key_tricks are available only for mobile phones,so to use it on emulator can u help me how to develop the compatible binaries
hello jiten_shah

this topic has been already been discussed in the forum you can do a extensive search that will help you.

Also please go through this wiki article.


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
long keypress When program is run background?? arun09 General Symbian C++ 106 2009-05-11 06:53
Раскладка клавиатуры в консоли arkenoi Russian Developer Forum - Форум Российских разработчиков 11 2009-03-18 19:27
right soft key to exit on full-screen canvas Larry101 Mobile Java General 5 2008-02-21 12:44
Soft key labels in landscape mode on E90 mike_brock General Symbian C++ 0 2007-02-13 16:13

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia