Bluetooth Talk - Nothing but Bluetooth talk here!
Reply
 
LinkBack Thread Tools
Old 09-27-06, 01:35 PM   #1 (permalink)
mobileCoder
Aximsite Rookie
 
mobileCoder's Avatar
 
Join Date: Sep 2006
Posts: 24
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
PocketPC Bluetooth Enabled MIDlets
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?
mobileCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links

Old 09-29-06, 04:52 AM   #2 (permalink)
Menneisyys
Contributing Reviewer
 
Join Date: Dec 2004
Posts: 4,380
Location: Europe
PDA: I have several PDA's
Phone: T610
Laptop: IBM Thinkpad a31p
iTrader Rating: (0)
Awards Showcase
Poster of the Month: Given to members the best poster of the month. This does not mean the  Aximsite Gold Reviews: Members that have posted 10 Review Threads. - Issue reason:  Aximsite Gold Tutorials: Members that have posted 10 Tutorial Threads. - Issue reason:  Aximsite Active Silver Member: Given to all active members (3 years and over 1,500 posts) - Issue reason: Active Member 
Total Awards: 4
Thanks: 3
Thanked 41 Times in 37 Posts
View MyPDA
Originally Posted by mobileCoder
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?
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.

Originally Posted by mobileCoder
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.
Happened the same to me on my WM2003SE Pocket Loox 720, with the above, 5.7.2 version (with the Personal Edition - when I tried to run the Midlet edition with the ), using the shipped

(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.
Menneisyys is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 09-29-06, 05:30 AM   #3 (permalink)
mobileCoder
Aximsite Rookie
 
mobileCoder's Avatar
 
Join Date: Sep 2006
Posts: 24
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
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.
mobileCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 09-29-06, 05:36 AM   #4 (permalink)
mobileCoder
Aximsite Rookie
 
mobileCoder's Avatar
 
Join Date: Sep 2006
Posts: 24
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
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?
mobileCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 09-29-06, 06:03 AM   #5 (permalink)
mobileCoder
Aximsite Rookie
 
mobileCoder's Avatar
 
Join Date: Sep 2006
Posts: 24
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
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 !!
mobileCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 09-29-06, 06:23 AM   #6 (permalink)
mobileCoder
Aximsite Rookie
 
mobileCoder's Avatar
 
Join Date: Sep 2006
Posts: 24
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
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!!!)
mobileCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 09-30-06, 05:05 AM   #7 (permalink)
Menneisyys
Contributing Reviewer
 
Join Date: Dec 2004
Posts: 4,380
Location: Europe
PDA: I have several PDA's
Phone: T610
Laptop: IBM Thinkpad a31p
iTrader Rating: (0)
Awards Showcase
Poster of the Month: Given to members the best poster of the month. This does not mean the  Aximsite Gold Reviews: Members that have posted 10 Review Threads. - Issue reason:  Aximsite Gold Tutorials: Members that have posted 10 Tutorial Threads. - Issue reason:  Aximsite Active Silver Member: Given to all active members (3 years and over 1,500 posts) - Issue reason: Active Member 
Total Awards: 4
Thanks: 3
Thanked 41 Times in 37 Posts
View MyPDA
Originally Posted by mobileCoder
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!!!)

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.
Menneisyys is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 10-19-06, 07:20 AM   #8 (permalink)
Moli
Aximsite Prospect
 
Join Date: Oct 2006
Posts: 1
Location: Girona Spain
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
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..
Moli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Old 01-09-07, 04:17 PM   #9 (permalink)
DavidCa
Aximsite Rookie
 
DavidCa's Avatar
 
Join Date: Nov 2004
Posts: 44
iTrader Rating: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
View MyPDA
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.
DavidCa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply



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
Thread Thread Starter Forum Replies Last Post
A Couple of Questions-MA701 & Others dochollywood101 Wi-Fi Talk 0 12-14-03 11:00 PM
Truemobile CF Driver Installation question deploycim Wi-Fi Talk 1 04-29-03 04:13 AM
Newest Pocket Nestor, you don't need to use the nav pad! Former_HPB Games 4 04-20-03 01:10 PM


All times are GMT -5. The time now is 04:04 AM.

Mobilitysite - Hard Reset Guide - Got Zune? - Tilt Site

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC5
Copyright © 2003-08 LeckMedia, LLC