|
|||||||
| Bluetooth Talk Nothing but Bluetooth talk here! |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||
|
Aximsite Rookie
|
I have spent quite a bit of time looking for information as to how to get a Bluetooth Enabled MIDlet to run on a Dell Axim X51v all with no success.
Firstly I have Installed J9, I found a link to weme midp 2.0 wm 2003 at Smartphone & Pocket PC Magazine Expert: Werner "Menneisyys" Ruotsalainen - Java Midlets on the Pocket PC - the Complete Tutorial this included a CAB file and installed perfectly well on the Pocket PC. Testing it with lnk files worked perfectly. (255#"\Program Files\J9\MIDP20\bin\emulator.exe" "-Xdescriptor:\GolfScoreTrackerSuite.jad" "-Xjam:force") I then tested out wm50arm-midp20 and wm50arm-vga-midp20 (6.0, and 6.1 versions), the emulator executed perfectly with each of the four VM's however I was unable to get the emulator to work with a link file. (255#"\J9\ver60midp\bin\emulator.exe" "-Xdescriptor:\GolfScoreTrackerSuite.jad" "-Xjam:force") Why does IBM make you have to download a hugh install file (circa 45megs) when all you require is a small zip file containing the VM? Has anybody come across the above problem before? Bluetooth!! Java Bluetooth.com - Development Kits I recently tried installing the trial version BT SDK from aveLink > Bluetooth > Products > Bluetooth in Java: JSR 82 Compliant and copied the file aveLinkBT.jar to the lib/jclMidp20/ext/ folder . When I executed a Bluetooth MIDlet it did seem to register that the library was available however the error I got was: (1021001: Trial period expired. Please contact support@atinav.com or visit the web site http://www.atinav.com), this seed strange as I tested the application within minutes of downloading the trial of the SDK. Having failed with the above attempt I tried avetanaBluetooth JSR82 implementation for Windows, MacOS X and Linux Systems and downloaded the trial version again. Again copying the file avetanaBluetooth.jar to the ext/ folder of the VM I wished to use. The execution of the Bluetooth program from the emulator resulted in the program running for just a moment before crashing and returning to the emulator (install/ launch) screen. Their are several SDK discussed at (Java Bluetooth.com - Development Kits) but the above two seem to be the only J2ME compatible ones. I am sure that their are many people out their that have tried to get a Bluetooth MIDlet to execute on a PDA, and would be delighted if somebody could give a detailed account of how they achieved this. Did you end up having to buy a SDK that was JSR82 compliant? I have ran my Bluetooth MIDlets on Nokia 6680 and 6630 phones and they execute perfectly. Is their any sign of a JVM becoming available that has the same capabilites as a phone? Many phones nowadays have JSR such as 75, 177, 205, 185,135, 226, 172, 179, 180, 184, Bluetooth 82 etc as standard. Isn't about time that PocketPC VM's should show the same level and more of JSR implementation? | |||
|
|
|
| sponsor links |
|
|
#2 (permalink) | |||||||||
|
Contributing Reviewer ![]()
|
Quote:
Quote:
(Note that I needed to modify the shipped lnk files at \Atinav\aveLinkBT\Links\ to the following: 228#"\Program Files\J9\PPRO10\bin\j9.exe" "-jcl:ppro10" -Dmicroedition.connection.pkgs=com.atinav.protocol -cp \Atinav\aveLinkBT\SDK;\Atinav\aveLinkBT\SDK\aveLin kBT.jar;\Atinav\aveLinkBT\Examples CLASSNAME (change CLASSNAME to the current classname: BCCApplication, ClientApp or ServerApp) because they are still configured for much older IBM J9 versions.) That is, I've too received error messages like Exception in thread "main" javax.bluetooth.BluetoothStateException: 102100 : Trial period expired. Please contact support@atinav.com or visit the web site Let us take a ride on the Atinav Avenue . . . at javax.bluetooth.LocalDevice.getLocalDevice(Unknown Source) at ServerApp.main(Unknown Source) I'll contact them. (BTW, 1. what BT port have you defined in \Atinav\aveLinkBT\SDK\bcc.properties ? Did you leave it at the default COM5? This may also cause the problem - instead of the real timeout 2. I've tried to set back the system clock to both a bit above 09/12/2006 (\Atinav\aveLinkBT\SDK\Certificate.crp is dated 09/12/2006) and far earlier - no success.) | |||||||||
|
Microsoft MVP - Mobile Devices, 2006, 2007. See my PPC & SP blog HERE.
|
||||||||||
|
|
|
|
|
#3 (permalink) | |||
|
Aximsite Rookie
|
Thanks for your input.
I also tried setting the clock back with no success. Do you know of any other JSR-82 implementations out their that could be experimented with to try and get a BT MIDlet running on a PDA? I have been in contact with atinav, and the price to purchase a non-commercial/prototype licence is astronomical, compared to avetanaBluetooth at just ($25). Running a MIDlet with the avetanaBluetooth JAR file in the ext directory, just crashes the MIDlet. I'll see if I can work on this problem. | |||
|
|
|
|
|
#4 (permalink) | |||
|
Aximsite Rookie
|
Just a short note: I have also queired on the Nokia and Java Sun Forums, and have received no response what so ever.
Surely there is somebody out their who has managed to get a BT MIDlet running on a PDA? | |||
|
|
|
|
|
#5 (permalink) | |||
|
Aximsite Rookie
|
Re: PDA Emulators.
I have tested 5 emulators on my PDA the first containing an install CAB Smartphone & Pocket PC Magazine Expert: Werner "Menneisyys" Ruotsalainen - Java Midlets on the Pocket PC - the Complete Tutorial, was able to run MIDlets using a link file without any problems. However when I tried using a Link file with either 6.0 or 6.1 standard of VGA versions it always failed to run. Have you been successful in running a MIDlet with any of these newer VM's. This runs perfectly with the VM that came with the CAB install 255#"\Program Files\J9\MIDP20\bin\emulator.exe" "-Xdescriptor:\GolfScoreTrackerSuite.jad" "-Xjam:force" However running it with the 6.0 or 6.1 editions failed eg. 255#"\Program Files\J9\v60std\bin\emulator.exe" "-Xdescriptor:\GolfScoreTrackerSuite.jad" "-Xjam:force" 255#"\Program Files\J9\v60vga\bin\emulator.exe" "-Xdescriptor:\GolfScoreTrackerSuite.jad" "-Xjam:force" 255#"\Program Files\J9\v61std\bin\emulator.exe" "-Xdescriptor:\GolfScoreTrackerSuite.jad" "-Xjam:force" 255#"\Program Files\J9\v61vga\bin\emulator.exe" "-Xdescriptor:\GolfScoreTrackerSuite.jad" "-Xjam:force" With any of the above attempts, one does see the emulator execute for a split second and then stops executing!! However calling (for example) just 255#"\J9\v60std\bin\emulator.exe" Did successfully execute the emulator !! | |||
|
|
|
|
|
#6 (permalink) | |||
|
Aximsite Rookie
|
Re: avetanaBluetooth.
I got an email from avetana to say that it works with WM5, however if the device has a microsoft Bluetooth Stack (X51v) (Note X50 has a Broadcomm Stack I believe) then you need to extract the file avetanaBTCEMS.dll and rename it to avetanaBTCE.dll I tried this and my MIDlet still crashed on execution. Looking at avetanaBluetooth JSR82 implementation for Windows (98-XPSP2, Mobile 2003), MacOS X and Linux it say that you should copy two dll files to the Windows directory if you are still having problems. One point of note is that under the system requirements of the above Readme it says that all systems should have Java 1.1.8 or later supporting JNI is required. (So what if you run a MIDlet, - this doesn't have support for JNI!!!) | |||
|
|
|
|
|
#7 (permalink) | ||||||||
|
Contributing Reviewer ![]()
|
Quote:
BTW, I've tried to run it on the Widcomm-based PL720 - still a no-go. That is, the trial problem is something else. I've also sent them a mail on these questions; no answer so far. | ||||||||
|
Microsoft MVP - Mobile Devices, 2006, 2007. See my PPC & SP blog HERE.
|
|||||||||
|
|
|
|
|
#8 (permalink) | ||||
|
Aximsite Prospect
|
I'm developing a Bluetooth MIDlet on a WM5(ipaq hx2700). It uses J9 IBM
virtual machine. My questions are, can the J9 access the hardaware ports? How can i know what are the JSR properties that supports the pda, how can i know the device stack that uses. Thanks! excuse my little english.. | ||||
|
|
|
|
|
#9 (permalink) | |||
|
Aximsite Rookie
|
The links below are broken. Does anybody have those files?
/D This is why I've made the individual CAB files of 5.7.2 version on my homepage at http://www.winmobiletech.com/sekalaiset/IBMJ9MIDP.zip , http://www.winmobiletech.com/sekalaiset/IBMJ9PE.ZIP ; a PPC2002 MIDP version at http://www.winmobiletech.com/sekalai...IDP-PPC2k2.rar and the 6.1/WM5-related files in my above-linked 6.1-related article. | |||
|
|
|
![]() |
| Tags |
| bluetooth, enabled, midlets, pocketpc |
| sponsor links |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A Couple of Questions-MA701 & Others | dochollywood101 | Wi-Fi Talk | 0 | 12-14-03 10:00 PM |
| Truemobile CF Driver Installation question | deploycim | Wi-Fi Talk | 1 | 04-29-03 03:13 AM |
| Newest Pocket Nestor, you don't need to use the nav pad! | Former_HPB | Games | 4 | 04-20-03 12:10 PM |