Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Polish, Lists and SELECT_COMMAND

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Got a problem with Polish and I know there are a few users here so was just wondering if anyone could help.

I have an app that uses Midp2 Lists to display layers of menu options. I am using the excellent Polish to put a nice GUI on the app, it is however introducing a problem that I can�t remove on a series40 phone, it adds functionality to the number keys. So say i had a List with 4 elements and I pressed 3 on the keypad it would jump to option 3 and select it.

I only want select functionality from hitting the d-pad or from the left soft key. Any ideas how to turn the number key jump and select ability off?

When i run it without Polish the number keys aren't usable, so i'm assuming here Polish is adding this functionality.

Any help greatly appreciated.
Phil.
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I don't have my code here...
But I know that you have to change the polish sources... And you must specify the dir where you have the new sources in the build.xml file
PolishDir="yourDir"

I think that you have to change the file "...\ui\ChoiceGroup.java"

Bye
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic