Showing posts with label BlackBerry. Show all posts
Showing posts with label BlackBerry. Show all posts

Tuesday, April 14, 2009

Blackberry Signature Keys and Sign .cod File

This web page Install RIM Blackberry Signature Keys and Sign .cod File tells the necessary steps for handling the signature keys after receiving them.

I follow the steps to 'install' the 3 csi files as emailed from Blackberry. After this 'installation' the RBB, RRT and RCR keys are 'registered' with RIM.

Afterward, double-click the cod file. A window will be displayed to ask for signing the application using the RBB, RRT and RCR keys.

After signed, the .cod file is updated.

Throughout the whole process, there is nothing to do with Eclipse.




Tuesday, February 3, 2009

Always Keep LCD On in BlackBerry Simulator in Eclipse 3.4.1

I used to program my BlackBerry project in Eclipse 3.1.4 with a 9530 simulator. The LCD display of the simulator will dim out after a while. This is very annoying.

Here is to config the simulator to always keep LCD on :

  1. In the menu bar, click Run
  2. Click Run Configurations...
  3. Click the Simulator tab sheet
  4. In Profile:,click the New button
  5. When prompt for Enter profile name, for example, input 9530 English
  6. Then, click the OK button. Now, you can edit this profile.
  7. Click the Advanced tab sheet
  8. In the text box under Command Line:, there is a long command line string : ... fledge.exe ... /app=Jvm.dll Go to the end of this string, add one more option string : /keep-lcd-on
  9. Then, click the Apply button
  10. Then, click the Close button

Then, the next time when you test run your project using the simulator, the LCD display will always on. You can click the main menu View to double check. The Keep LCD On should be tick


Monday, November 24, 2008

Run the BlackBerry Localization Demo

After numerous trials and errors and searching the net, I finally can partially run the Localization Demo of BlackBerry in Eclipse 3.4.1.

By default, the simulator's language is English. So, the followings are the steps to call the application in English :

  1. Go to the Simulator
  2. Press Menu key
  3. Choose Downloads
  4. Choose Localization Demo
  5. In Choose a Country:, the default is United States. Just let it be.
  6. Press the Menu key
  7. Choose View. The information of USA is displayed on the screen.
  8. Press Escape key to back to the Choose a Country:
  9. Click the United States to call the pop up menu
  10. Press down arrow in the keyboard to go to China
  11. Press Enter key in the keyboard. Now, the China information is display.
  12. Press Escape key to back to the Choose a Country:
  13. Click the China to call the pop up menu
  14. Press down arrow in the keyboard to go to Germany
  15. Press Enter key in the keyboard. Now, the information of Germany is displayed.
  16. Press Escape key to back to the Choose a Country:
  17. Press Escape key to quit the application

To test the Demo in German, one have to add the German language into the simulator. For example, when using the simulator 9530, edit the 9530.xml to locate the line:

<application>net.rim.blackberry.lang.en_GB</application>
Then, add the following line under it :
<application>net.rim.blackberry.lang.de</application>
Afterwards, use the followings to test the application in German :
  1. Go to the Simulator
  2. Press Menu key
  3. Choose Options
  4. Choose Language
  5. In the Language:, choose Deutsche
  6. Press Menu key
  7. Choose Save. Now everything is in German. Hope that you know German :)
  8. Press Escape key
  9. Choose Downloads
  10. Choose Sparchopti...
  11. In the screen, the default is United States. Just let it be.
  12. Press the Menu key
  13. Choose Anzeigen to view the information of USA in German language
  14. Press Escape key to go back
  15. Click the United States to call the pop up menu
  16. Press down arrow in the keyboard to go to China
  17. Press Enter key in the keyboard. Now, the China information is display in German
  18. Press Escape key to go back
  19. Click the China to call the pop up menu
  20. Press down arrow in the keyboard to go to Deutschland
  21. Press Enter key in the keyboard. Now, the information of Germany is display in German
  22. Press Escape key to go back
  23. Press Escape key to quit the application
  24. Now reset the phone to English.   Choose Optionen
  25. Choose Sprache
  26. In Sprache:, click the Deutsch to show the pop up menu
  27. Choose English
  28. Press the Menu key
  29. Choose Speichem to save the setting. Now, everything will resume to English

For France, in the 9530.xml add the following lines under it :

<application>net.rim.blackberry.lang.fr</application>
Then, follow the similar steps as German to test the application.

BTW, I have tried the followings language but seems that 9530 simulator does not support them :

  • Netherland (net.rim.blackberry.lang.en_NL)
  • Traditional Chinese (net.rim.blackberry.lang.zh_TW)
  • Simplied Chinese (net.rim.blackberry.lang.zh_CN)


Duplicate Open Current Folder in a New Window

Sometimes after I opened a folder in Win7, I would like to duplicate open the same folder again in another explorer window. Then, I can ope...