BlackBerry Advance
Skip Top Navigation





Home > Worldwide Developers > Java Knowledge Base Search > Frequently Asked Questions

Java Knowledge Base

Frequently Asked Questions

Application Architecture & Execution Models
1.
Does the BlackBerry 5800 Series of handhelds support MIDlet suites?
2. How do I create a MIDlet that uses custom animation?
3. How do I set up an alternate entry point for my application and how does this enable silent push capabilities or pre-processing?
4. How should MIDlets be initialized?
5. What is a library and how do I use it?

BlackBerry JDE
1.
Can I cradle an actual device and use its modem as a network connection for the simulator?
2. How can I find memory leaks in my code?
3. How can I simulate a handheld with 16 MB of memory?
4. How do I add files to my project?
5. How do I bypass the message 'Previous startup failed. Debug mode is on. Type HELP for available commands.' in the simulator?
6. How do I compile my application?
7. How do I connect to intranet or Internet sites using the browser application in the BlackBerry handheld simulator?
8. How do I connect to intranet or Internet sites using the browser application in the BlackBerry handheld simulator?
9. How do I debug an application running on a live device?
10. How do I determine the cause of an error in the simulator?
11. How do I fix OutOfMemory Errors in my application?
12. How do I make a compiled .jar file into a Library that my application can use?
13. How do I remove previously built applications from the BlackBerry JDE simulator?
14. How do I run my application in the simulator?
15. How do I use the debugger?
16. Is there a project size limit?
17. Sending and receiving email from the handheld simulator
18. What are the system requirements for running the BlackBerry Java Development Environment?
19. What is a stack trace and how do I use it?
20. Why am I getting the following error: Error! Duplicate definition for 'foo.bar.resource.XXXXResResource' found in: C:\foo\bar\resource\XXXXResResource.java?
21. Why do I get a 'javaw' error when I try to start the JDE after installation?
22. Why do I get a verification error when I try to start my MIDlet?
23. Why is the Mobile Data Service simulator not starting properly on my computer?

BlackBerry Mail & PIM APIs
1.
I loaded my application on my BlackBerry but when I try to run it I get the error 'Error starting My Application: Module 'net_rim_bbapi_mail' not found. What does this error mean?  New!

Application Code Signing
1.
Does the SignatureTool contain a command line version?
2. How can one confirm whether or not a CSI code signing file has been successfully installed on a PC?
3. I am receiving the error "Server unavailable at this time. Please contact your system administrator."
4. I received 3 similar emails from RIM after submitting the code signing request form. Do I need all 3 of these emails?
5. I run the SignatureTool, select the COD file that I would like to sign, and choose "Open". The SignatureTool immediately disappears. What’s happening?
6. I signed my application successfully, but I still receive the error "Application Attempts to Access a Secure API" on the live handheld. Why would that be?
7. My application throws the error "Application Attempts to Access a Secure API" when I try to run it on a live handheld. What is the problem?
8. When creating a new key pair, I receive "IOException when saving new pair to file". What should I do?
9. When trying to register my CSI file, I receive the error "unable to register client ',' (ID:) because they have exhausted their registration attempts". Why I am receiving that error?

General
1.
Can I send or process email attachments with my application?
2. Can I write applications for the BlackBerry 5800 Series of handhelds in C and C++ native code?
3. Can my BlackBerry application support multiple languages and localization?
4. Can my application integrate with the BlackBerry 5800 Series handheld email, PIM, options, or Phone applications?
5. How can I diagnose JVM errors?
6. How can I make my application secure?
7. How can I work around the 64 KB byte code limit for my application?
8. How can I write MIDlets that work well on the BlackBerry Wireless Handheld?
9. How do I load applications onto my BlackBerry handheld?
10. How do I manage bitmaps in my application using field managers?
11. I want to develop an application that runs on all BlackBerry 5800 Series of handhelds worldwide. Do I need to build specific versions of my application to run on handhelds in different countries or continents?
12. Is there a way to enable a keyboard shortcut for an application on RIM's Java enabled devices
13. Making a running UI application go to the background then resume in the foreground
14. Updating registry settings to deploy Java applications using Desktop Manager
15. Using ALX Files to 'require' a 3rd party or BlackBerry 'optional' application to be loaded via Application Loader
16. What are the memory and hardware specifications for the BlackBerry 5800 Series of GPRS handhelds?
17. What development environments can I use to write BlackBerry applications?
18. What do JVM error codes mean?
19. Which programming languages can I use to develop applications for the BlackBerry 5800 Series of handhelds?
20. Why can't users load third-party applications using the desktop software?
21. Why does the application that I created stop responding on a live handheld when I establish a network connection, even though it works in the simulator?
22. Why is my application not notified when new messages arrive?

Persistent Data Storage
1.
Can I back up my RMS data to a desktop computer using the BlackBerry Desktop Manager?
2. Can multiple applications access the same persistent data stored in an RMS data store?
3. How can I store persistent data on the handheld?
4. Why does my RMS data store not persist between invocations of the simulator?

User Interface
1.
Can I put multiple UI fields on one line?
2. Can I use MIDP UI APIs and BlackBerry UI APIs together?
3. Do I have to write my own paint() method to draw objects to the screen?
4. How do I add 'Copy', 'Paste', and other context-specific menu items to my menu?
5. How do I create an icon for my application?
6. How do I make my list items appear on the screen?
7. How do I perform double buffering using the BlackBerry UI?
8. How do I use an image in my application?
9. What image formats can I use in BlackBerry applications?
10. Why is my Custom Field not drawing properly?

Wireless Network Data Transfer
1.
Application is deadlocked and appears to stop responding
2. How can I retrieve and view data over the wireless network? Do I have to write a custom application, or can I use a standard browser that is already available?
3. How can I test my HTTP connections on a BlackBerry handheld running on a GPRS network?
4. How do I view the logging of HTTP connections in the Mobile Data Service simulator?
5. Which network protocols does the BlackBerry 5800 Series of handhelds support?

 

       
 Legal | Copyright © 2002 Research In Motion Limited, unless otherwise noted.