BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 12-07-2010, 09:21 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2010
Model: 8130
PIN: N/A
Carrier: Sprint
Posts: 17
Post Thanks: 1
Thanked 0 Times in 0 Posts
Unhappy Developing games from java, need soft keys

Please Login to Remove!

hello. So, I compile games from existing JAR to COD and ALX, and most games require to use left and right soft keys, that are on standard phones located above call and end buttons. I want to edit them so that they were working and would be located, let's say (Blackberry Pearl 8130), on ! and . (UNDER call and end buttons... since there are no buttons above those two). So, how do I do it and is it possible at all? Also, can I edit it in Notepad or I need some specific program? Also, how do I properly change the resolution? It seems to me that after changing it in Properties, it doesn't work.

Last edited by miha2 : 12-07-2010 at 11:07 PM.
Offline  
Old 12-08-2010, 12:21 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2010
Model: 8130
PIN: N/A
Carrier: Sprint
Posts: 17
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: Developing games from java, need soft keys

So, anyone?
Offline  
Old 12-08-2010, 12:43 PM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Developing games from java, need soft keys

You can listen for any key on the keypad - what exactly is your question?

...edit *what* in Notepad?? Can you be specific?

Change the resolution of what? The BB display? You cannot.

Have you downloaded any tools yet? Read the docs? Looked at the samples?

Java Development - BlackBerry Support Community Forums
Offline  
Old 12-08-2010, 01:13 PM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2010
Model: 8130
PIN: N/A
Carrier: Sprint
Posts: 17
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: Developing games from java, need soft keys

OK, let's start from the beginning.
I downloaded the JDE for Blackberry,
read the (very basic) manual on how to convert .JAR to .COD,
Converted that .JAR to .COD,
Now it's working, but I can't push the button to turn the sound on or off. I'm just stuck here
That's why I want those soft keys to be on places of ! and . that are right under call and end buttons on my Pearl.
Offline  
Old 12-08-2010, 03:23 PM   #5 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Developing games from java, need soft keys

Then you will have to modify your source to look for these other key stems, then recompile.
Offline  
Old 12-08-2010, 03:58 PM   #6 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2010
Model: 8130
PIN: N/A
Carrier: Sprint
Posts: 17
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: Developing games from java, need soft keys

That's why I'm asking, can I do that and if yes, how?
Offline  
Old 12-08-2010, 10:04 PM   #7 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Developing games from java, need soft keys

Do you have the source code for these games? Did you write them?

I don't understand why you are asking us how to modify *your* code - we've never seen it, and don't know how it was done.

I guess the simple answer is to find the part of the code that handles the key events and change it.
Offline  
Old 12-09-2010, 01:42 AM   #8 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2010
Model: 8130
PIN: N/A
Carrier: Sprint
Posts: 17
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: Developing games from java, need soft keys

It is not my code. It's JAR file I want to modify. If possible.
Offline  
Old 12-09-2010, 07:45 AM   #9 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Developing games from java, need soft keys

You can't modify the game without the source code.
Offline  
The Following User Says Thank You to Dougsg38p For This Useful Post:
miha2 (12-09-2010)
Old 12-09-2010, 11:57 AM   #10 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2010
Model: 8130
PIN: N/A
Carrier: Sprint
Posts: 17
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: Developing games from java, need soft keys

ok. thanks.
Offline  
Closed Thread


Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Developing games from java, need soft keys
Thread Thread Starter Forum Replies Last Post
SE:looking for Blackberry Development Job... atiato Seeking Employment 3 12-21-2010 10:18 AM
Developing Java Application for Blackberry J.Chong Developer Forum 0 07-09-2010 03:01 AM
Developing BlackBerry applications in PHP, Java or ASP.Net Edhouse Developer Forum 1 03-15-2010 09:36 AM
Is BlackBerry's Java execution speed good enough for you? horia.cucu Developer Forum 7 04-15-2009 04:50 AM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.