Sunday, August 7, 2011
[WARN] [rms ] javacall_file_open: _wopen failed for: ... _delete_notify.dat
The problem is that the page of this blog that has that keyword does nothing to solve this problem. I decided to tour the java forums and wow! no walkthrough. So I have a little something for you.
What is that file _delete_notify.dat. ?
Weed I do not know ...
No, What you should understand is that:
1 - this issue does not affect your java code
2 - The NetBeans IDE uses as seamlessly deploy OTA when you launch your MIDlet. They thus create a more or less temporary URL that issues the fichier.JAD to your mobile virtual (emulation of the MIDP wireless toolkit).
3 - fichier.JAD says is supposed to be downloaded before execution of the program on the emulator. Notice the line above your error in the console:
Starting emulator in execution mode
Installing result from: http://127.0.0.1:1254/VotreMIDlet.jad
[WARN] [rms] javacall_file_open: _wopen failed for C: \ Documents and Settings \ be \ JavaME-sdk \ 3.0 \ work \ 0 \ appdb \ _delete_notify.dat
- This problem occurs when downloading the emulator to fichier.jad Mobile Wireless Toolkit
4 - Finally, delete_notify is an attribute present in the fichier.jad
So what can you do?
Two smalls things :
- open Fichier.jad with notepad and delete the lines as:
"MIDlet-Install-Notify, MIDlet-Delete-Notify, MIDlet-Delete-Confirm" (Unless you need it)
- Create with notepad an empty file and name it "_delete_notify.dat" ... copy and paste it exactly where the error claim it. it should work.
Sunday, April 4, 2010
Using the BlackBerry Simulator on Windows
Download BB Simulator: link. After the link above, click on Download a BlackBerry Device selection Simulator.
On the image above, clicking on the triangle icon to select the version of the BB Simulator, then click the Next button. Appears a list of the BB Simulator machine corresponding to BB. Click Download to download the corresponding documents, such as BlackBerry ® Device Simulators v4.2.2.163 (Rogers 8310) - Supported devices: BlackBerry ® Curve ™ 8310 smartphone (Rogers 8310).
Perform the following steps, the result will download the file to run the BB Simulator, for example file-Rogers.exe BlackBerry_Simulators_4.2.2.163_8310. Run this file to install. After installation, BB Simulator to run on the device, click Start -> Programs -> Research In Motion to select the BB Simulator necessary and run it. BB Simulator Interface of the following:
With the BB Simulator, you can perform functions similar to the buttons so the device. Can see the BB Simulator window menu selection is convenient features than the command using the Android Emulator.
It should be noted on the menu options may vary in the version of the BB Simulator.
Using SD Card
On the BB Simulator is a feature that allows to change SD cards. On the BB Simulator window, select the simulate menu -> Changer SD Card, SD Card dialog box appears
SD Card dialog
On the dialog box, SD Card, SD Card can create a new card by typing in the box size Size (eg 512 MB) and click the Create button. When it appears the Windows Open dialog box lets you type the file name of the SD Card. After typing the file name, in the Current SD Card SD Card will appear new. Select the SD Card and click the Close button. BB Simulator will then use this SD Card.
BB Simulator can test using any SD Card by clicking on the BB Simulator Menu key, then select Options -> Media Card:
Media Card management device
Note the parameters for the BB Total Space Simulator not use the new SD Card.
Connection between the BB Simulator and Windows
Just like real devices, BB Simulator to connect to Windows via BB Desktop Manager program. Download the program by following link: https://www.blackberry.com/Downloads/entry.do?code=A8BAA56554F96369AB93E4F3BB068C22
BB Desktop Manager Download
Follow the link above, select the version of BB Desktop Manager in the arrow pointing down. The latest version is version 4.6, then click the Next button. When the list of the BB Desktop Manager will appear below. Can click Download to download the necessary files, in this example, you can download the BB Multilaguage without Media Manager.
After downloading, run this file to install. When the installation finished, click Start -> Programs -> BlackBerry -> Desktop Manager to run the program. BB Desktop Manager interface is as follows:
BB Desktop Manager Interface
BB Desktop Manager to connect to the real BB device, USB cable needed to connect it with USB devices on your computer. With the BB Simulator, simulation needs to run a USB port.
On the BB Simulator Interface, click the simulate menu -> USB Cable Connected. When the BB Desktop Manager and BB Simulator will connect with each other to perform necessary tasks like installing / removing software, ...
Select USB Cable Connected
Note that when running BB Desktop Manager, which appears in the Device Manager icon BB system tray (bottom right corner of the screen). Double click on this icon, appearing BB Device Manager Properties dialog box:
BB Device Manager Properties dialog box
On the BB Device Manager Properties dialog box, notice the list of Connection to accurately determine the connection between the BB Desktop Manager and BB Simulator.
Installing software on the BB through the BB Desktop Manager Simulator
After running the BB Simulator, BB Desktop Manager and select the USB Cable Connected as the above steps, can install software on the BB Simulator.
On the main window of the BB Desktop Manager, select Application Loader, then click the Start button in the Add / Remove Applications. Appears Device application selection dialog:
Device application selection dialog box, use the Browse button to open the file. ALX file is installed for BB. In the above example make install 2 programs Repligo Reader and Mobipocket Reader.
Upon completion of the selection, click Next, the dialog will appear Sumary announced programs will be installed. On this dialog box, click Finish. The installation program on the BB Simulator will be implemented.
How to install offline Maps on your BlackBerry using TrekBuddy 0.973

BlackBerry smartphones are handy for GPS navigation helped by the excellent BlackBerry and Google Maps applications. When you are out of range of a data signal both these applications are unable to continue to provide a map. With TrekBuddy you can use offline maps, from Google and elsewhere, record route speed and waypoints, or use your phone as a direction finder. TrekBuddy is a great, freeware application developed by Kruch a Czech developer and is suitable for J2ME devices including a BlackBerry with OS 4.1 or greater.
Using offline maps with TrekBuddy enables you to download maps at detail levels that suit you, that load quickly as they are stored on the SD Card, and of course do not incur any data download costs, this is especially useful when you are roaming overseas. The map on the right is a screen shot from a Curve 8310, using a map created with the excellent gm2tb- GoogleMaps to TrekBuddy site.
How To 1. Download TrekBuddy: The ALX and COD files can be found via this link.
2. Install TrekBuddy: Use the BlackBerry Application Loader to install the application. Instructions on how to use application loader can be found here.
3. Set up the Folder System: Using Mass-Storage mode navigate to your SD Card using
Windows Explorer, you need to create a folder called “data dir” with subdirectories called maps, resources, sounds, tracks-gpx, tracks-nmea, ui-profiles, wpts as shown on the diagram on the right.
Disconnect your BlackBerry from your PC and load the TrekBuddy application. Press the BlackBerry key to bring up the menu.
Go to Menu->Basic->Data Dir
This needs to be set to the location of the data directory you created, mine is
file:///SDCard/blackberry/data dir/
ensuring the slashes and capitalisation are correct. Next go to
Menu->Location-> GPS provider
for a BlackBerry such as the 8310 you should set it to internal GPS. If you have an external GPS puck it can be set up here.
5. Test GPS Connection: To test the GPS connection on menu, go to Start to enable GPS and
then press the # key to bring up compass mode. Once you have a signal you should have a compass display with your current location like this. The green dot shows that you have a GPS signal.
6. Download a Map:As standard no maps are supplied with TrekBuddy. The easiest way to download a map quickly is using the Google Maps to TrekBuddy website by AwokenMind. To use this website use Google Maps to find the area you want to create a map for, give it a name then click download. The tar file that you create should be placed in the maps directory of your BlackBerry.
6. Use your map!: Disconnect the USB cable, load TrekBuddy, Start the GPS, and select the map you have just added.
Potential Problems
Setting Application Permissions:I didn’t need to do this, but you may need to give TrekBuddy access to your SD card and access to your internal GPS Device. This is done on the BlackBerry by navigating toOptions->Security Options->Application Permissions->TrekBuddy->Edit Permissions->Set all to'Allow'
Setting the Path to Media Card: If your path is not correct you will get the following error:Failed to start tracklog: file://wrong-path/ net.rim.device.api.io.file.FileIOException: File system errorThis means you should carefully check your path to the SD Card
Connecting with USB: Always exit TrekBuddy before connecting the USB cable and entering Mass Storage Mode, otherwise TrekBuddy can crash and may require a battery pull.
Further Information
- TrekBuddy is not a route-planning application for calculating a route form A to B. There are better applications around if you wish to achieve this, for an application which has can continue to function in voice mode despite data connection loss try AmAze.
- To create large atlas files I recommend the excellent GoogLeak application which can be found here. This enables you to download Terrain, Hybrid and Street Map style Google Maps, and store them at various resolutions in the atlas format.
- Open Source Street Maps are available, such as OpenStreetMap, a utility to create TrekBuddy maps using this database can be found here.
- Official TrekBuddy Wiki
- Official TrekBuddy Forums
- TrekBuddy creates .gpx files which can easily be plotted on to Google Maps in elevation and 2D using a utility such as GPS Visualiser.
- A CMS theme for the Curve’s 320*240 designed by Trispark can be found here.