You Are Here:

Community: Developer Discussion Boards

#1 Old how to know the softkey number - 2006-06-29, 17:54

Join Date: Jun 2003
Posts: 81
etamburini
Offline
Regular Contributor
Hi!
Do you know if there is a way to konw if you have 2 (like S60) or 3 (like 6280) softkeys?

A workaround should be to know if mobile is a S60 or there is the center softkey:is possible?

I know that you can get the model by System.getProperty(..), but you have to update a table that match handset-S60 or not..

TX!!!
Reply With Quote

#2 Old Re: how to know the softkey number - 2006-06-29, 23:55

Join Date: Dec 2005
Posts: 1,696
Location: Europe/Poland/Warsaw
peterblazejewicz
Offline
Super Contributor
hi etamburini,

but usually that is maintained via platform implementation (s40 - two commands so left empty, etc), can you simply follow Nokia ui style guidelines docs about commands mapping?
i'm with adobe flash background where I have properties like: has4WayKeyAS, hasMappableSoftKeys, hasQwertyKeyboard so I also wondered about question you asked,

regards,
peter
Reply With Quote

#3 Old Re: how to know the softkey number - 2006-06-30, 09:46

Join Date: Jun 2003
Posts: 81
etamburini
Offline
Regular Contributor
Thank you for your answer..

But I don't know on which platform I will install my application.
I'm writing a general midlet that can be adapted for any platform.
I'm not writing, for example, a midlet for S40 and another midlet for S60..
Reply With Quote

#4 Old Re: how to know the softkey number - 2006-06-30, 16:48

Join Date: Mar 2006
Posts: 518
wang_shui
Offline
Super Contributor
Hi,

AFAIK there is no such systemproperty which gives u the series version ie; S60 or S40.

Wang
Reply With Quote

#5 Old Re: how to know the softkey number - 2006-06-30, 18:40

Join Date: Feb 2004
Posts: 28
JohnnyC1969
Offline
Registered User
Are you wishing to know the keycodes for these buttions? If so...

import com.nokia.mid.ui.FullCanvas;

FullCanvas.KEY_SOFTKEY1
FullCanvas.KEY_SOFTKEY2
FullCanvas.KEY_SOFTKEY3

HTH
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
WML & WMLSCript problem ???? gemini_shooter Browsing and Mark-ups 0 2006-01-14 07:02
WML & WMLSCript problem ???? gemini_shooter Browsing and Mark-ups 0 2006-01-14 07:01
HELP - RCall - Dial voice number crash cmryan Symbian Networking & Messaging 0 2004-02-13 15:53
Personal JSmith77 PersonalJava 4 2003-07-30 13:52
Unicode Song Title In NSM Ringtone mcai7db3 Smart Messaging 3 2002-08-28 07:58

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