Mid 2.0 Jsr-82 - Windows Mobile Development and Hacking General

Hi guys,
I want to run an app in my O2 Atom (WM5), my question is: are there any way (JMV/EMV/Midlet) to run it who support MID 2.0 and JSR-82 (API Bluethooth)?
Thanks a lot...

you should look at j2me from ibm

ronsmitsnl said:
you should look at j2me from ibm
Click to expand...
Click to collapse
J9 don't support JSR-82.
Anyone has use Aventana?
Seems just ONE implementation of bluetooth in java for windows mobile... $25,00 pice of **** euros

Snaydher said:
J9 don't support JSR-82.
Anyone has use Aventana?
Seems just ONE implementation of bluetooth in java for windows mobile... $25,00 pice of **** euros
Click to expand...
Click to collapse
Some googling brought me to this page: javabluetooth.com and this one: javabluetooth.org. the second one contains source code and jars for a jsr-82 implementation, but no obex.

J9 and jsr 082
Did anyone get BT running with J9 on a PDA or do we start using C#!!

Related

need of XDA MIDP supporting emulator.

Help me pls.
i am in need of XDA MIDP supporting emulator.And i want to know How to integrate with Sun mobile studio or any other toolkits.
if u have suggession :[email protected]
thanking you
brindasanth
J2ME support in XDA III
Hi,
well I actually won't answer your question. But I need some help from you
You task seems to be similar with mine
I am going to buy a PDA2K i-mate (XDAII it isn't?) an I was wondering if J2ME MIDP2.0 is supported on the device. Do you know if it comes with a Java Virtual Machine on it? (that supports J2ME MIDP 2.0)
For what you are asking... I looked for the same thing but I couldn't find anything. What I tried to do is to install the J9 JVM on the Pocket PC emulator provided by Microsoft. But although I managed to install it on the emulator I couldn't use it. I couldn't run Java apps on the Pocket PC
Thanks

xda emulator

hi buddies:
I am looking for an xda emulator to do my project. where can i download it from? I searched google but i couldnot find a complete one. all i found are under development.
May anybody help me??
thank u!
Pocket PC emulator is built into EVC which can be downloaded for free from Microsoft.
V
thanks for your reply!
vijay555 said:
Pocket PC emulator is built into EVC which can be downloaded for free from Microsoft.
V
Click to expand...
Click to collapse
but what i need is a mobile phone emulator.
the project (video streaming) is ok via PPC wirelessly.
Now I am working on mobile phones.
Thanks anyway!!
please.............
help
http://www.modaco.com/SmartPhone_Emulator_For_PC-t224099.html
http://www.microsoft.com/downloads/...B5-F2A2-47D7-A41D-825FD68EBB6C&displaylang=en
cruisin-thru said:
http://www.modaco.com/SmartPhone_Emulator_For_PC-t224099.html
http://www.microsoft.com/downloads/...B5-F2A2-47D7-A41D-825FD68EBB6C&displaylang=en
Click to expand...
Click to collapse
tanks very much cruisin. I am really appreciated
inmarsat - have you seen another emulator other than the ones built into evc? It would be cute. The evc one is most (or only!? )useful for developers I guess.
V
vijay555 said:
inmarsat - have you seen another emulator other than the ones built into evc? It would be cute. The evc one is most (or only!? )useful for developers I guess.
V
Click to expand...
Click to collapse
the key point is not evc, it's wether the emulator is a PPC one or an mobile phone one, coz they have got different OS
I think :shock:
EVC has an emulator for PPC and Smartphone, Win Mobile 2003 and Win Mobile 5 I think. Just download each of the SDKs.
V
ok
vijay555 said:
EVC has an emulator for PPC and Smartphone, Win Mobile 2003 and Win Mobile 5 I think. Just download each of the SDKs.
V
Click to expand...
Click to collapse
both from microsoft website? i only found ppc emulator with evc. anyway, il have a look at it as you suggested.
thanks 4 ur suggestion!
of course, your code needs to be compiled to run on the emulator. You can't just take normal StrongArm (ie real) PDA programs and run them on the emulator.
Hope the info helps. BTW, I think microsoft will post out free demo disks of the SDKs and visual studio if you look around on the website.
V
Hi.
The "emulators" inside the PPC 200x SDKs / WinCE SDKs are not really emulators.
They can be seen as swappers, because they do not emulate ARM processors.
If you need a real PocketPC / Smartphone emulator with real ARM emulation,
than try google: "device emulator", "Windows CE 5.0 Device Emulator", "device emulator 1.0"
You will find (an unofficial) emulator/ emulators, which is/was/were also developed by $Micro****$.

Visual Basic Runtime

Hi all,
does anyone know if there is trick to install Microsoft Visual Basic runtime in my Universal (JasJar) ?
Thanks
nicoska
There is no VB Runtime for Windows Mobile. The closest you can do is installing The .NET Compact Framework, but you will not be able to run VB Scripts or VB applications on a Windows Mobile device. At least not now anyway.
ccisn said:
There is no VB Runtime for Windows Mobile. The closest you can do is installing The .NET Compact Framework, but you will not be able to run VB Scripts or VB applications on a Windows Mobile device. At least not now anyway.
Click to expand...
Click to collapse
I've installed this http://www.funambol.com/opensource/downloads.html
Is a SyncML client for PocketPC and when i tap on it ask me to install Visual Basic Runtime.
It's possible ?
thanks
nicoska
Interesting. I went there and noticed it is for PPC 2003. I tried installing it (but didn't let it go through)
It did look like it was going to install some VB Runtime for PPC. (It showed up on the screen)
Check your add/remove programs and see if it's in there. If it is, then it probably doesn't work with WM 2005.
Good luck
ccisn said:
Interesting. I went there and noticed it is for PPC 2003. I tried installing it (but didn't let it go through)
It did look like it was going to install some VB Runtime for PPC. (It showed up on the screen)
Check your add/remove programs and see if it's in there. If it is, then it probably doesn't work with WM 2005.
Good luck
Click to expand...
Click to collapse
Yes, indeed. This should be a eMbedded VB Runtime, which works with WM 2003.
Visual Studio 2005 should be delivered me in the next days, and for all I read by now this will include a VB environment for WM 2005. Possibly this will be compatible to... oh wait! We're talking about Microsoft, aren't we? So, forget this about compatibility... :roll:
Yeah. I tried to create an app in eMbedded VB and it didn't work out of the box on WM 2005. I have used VS2005 and created a couple apps in VB and they work, but I needed to install the MS CF 2.0 and that was it.
I had assumed that WM 2005 was supposed to have CF 2.0, but mine did not. I also have a Qtek 9100, not a 9000. So the Jasjar's and 9000's may have it already.
thanks a lot.
Please let me know when you get the vb runtime for wm5, so then i can check if sync ml works.
bye
nicoska
ccisn said:
Yeah. I tried to create an app in eMbedded VB and it didn't work out of the box on WM 2005. I have used VS2005 and created a couple apps in VB and they work, but I needed to install the MS CF 2.0 and that was it.
I had assumed that WM 2005 was supposed to have CF 2.0, but mine did not. I also have a Qtek 9100, not a 9000. So the Jasjar's and 9000's may have it already.
Click to expand...
Click to collapse
Can you post the app so i can test it ?
bye
nicoska
nicoska said:
Can you post the app so i can test it ?
bye
nicoska
Click to expand...
Click to collapse
which app? the VS2005 one? Or the eMbedded VB one?
I actually don't have the eMbedded VB one anymore.
I'll attach this simple one created in VB off of VS2005. It just powers off or resets the device. (It is not signed)
Also if you are just curious about the CF runtime you can run \Windows\cgautil.exe and it will pop up with all the versions of the Framework. Mine only has 1.0 by default. After installing 2.0 it shows both.
I was using a bunch of VB apps on my jamin (prophet) without any problem, and all of a sudden when I try to open them i get; "there is no application associated etc."
Anyone has any clue about that? Can I install (or re-install) visual basic on wm5?
Thanks all

development environment?

hi
i was wondering if anyone could point me in the direction of some decent but free development tools for wm5
thanks
embedded visual c++
you can also get free compilers like gcc and a .net compiler which run on the pocketpc itself
but it's hardly en ide
Depends on what language you want to code. For instance I couldn't find a decent assembly IDE yet (free or not). For C++/C# (managed and unmanaged) VS2005 is probably still the best. And the epxress versions can be obtained for free. Integration of embedded stuff would have to be done manually, I guess.
well i prefer programming in c/c++ so are there any free tools/IDEs for it?
don't i have to pay for embedded vc++ or is there a free version that lets me program for wm5?
oh and i downloaded the express c++ but when i want to instal the wm5 sdk it tells me it needs visual studio 2005
PSPad is awsome, and free.
Regards,
Jason
hey thanks for the reply but that's not for windows mobile 5 development
i really need something free for windows mobile 5 development
if anyone could help i would appreciate it
thanks
Ok little clarification:
a) You don't need WM5 SDK to develop apps that will run on WM5 and use its special features. You will just have to work a little harder and use LoadLibrary and GetProcAdress for functions not supported in WM2003. Also you can manually unpack the SDK installation and use the binaries and header files (this is VJ's advice I have yet to test it).
b) There is no version of eVC for WM5 because MS switched to Visual Studio. The express version does not support mobile development in any way. I always use eVC 4 this not only works fine for WM5 apps but also insures backward compatibility and saves me keeping two separate projects for one app.
I agree with levenum, as ever.
You don't NEED VS2005 if you're only developing in C++ (which you should be). I don't think VS2005 offers enough over EVC for me to spend a gazillion $$ on it as a hobby programmer. However, you can get VS2005 on trial for free from MS if you feel the need to try it out.
Also - EVC only requires a small number of mbs of space (great to stick on a USB). VS2005 is > 1gb from memory
V
thank you for your replies
i will do as you suggested
thanks
one last question:
does anyone know if there is an SDL sdk for wm5?
if not then any links to wm5 programming tutorials?
wajih.boukaram said:
one last question:
does anyone know if there is an SDL sdk for wm5?
if not then any links to wm5 programming tutorials?
Click to expand...
Click to collapse
here
Regards,
Jason
Hi,
There is an open source IDE for .net that supports (v2.2.1 only) the compact framework 2.0 : http://www.icsharpcode.net/OpenSource/SD/.
I'm using it for windows coding and it's a very good soft.
Regards,
Imer

Java library for Bluetooth JSR-82

WindowsMobile
bluecove on Windows Mobile
Introduction
Current BlueCove winsock (Microsoft Bluetooth stack) and WIDCOMM code are compiled for Windows Mobile.
Version 2.0.0 has been tested with following JVMs:
Mysaifu JVM v0.3.3 - An open-source (GPL v.2 license) Java VM on Windows Mobile 2003
IBMs WebSphere Everyplace Micro Environment v5.7.2, CDC 1.0/Foundation 1.0/Personal Profile 1.0 for Windows XP/X86
IBMs WebSphere Everyplace Micro Environment v6.1.1, CDC 1.0/Foundation 1.0/Personal Profile 1.0 for Windows XP/X86 and Windows Mobile 2003
IBMs WebSphere Everyplace Micro Environment v5.7.2, CLDC 1.1, MIDP 2.0 for Windows XP/X86.
Windows Mobile devices with Microsoft Bluetooth Stack
Windows Mobile 2003 Phone Edition with Microsoft Bluetooth Stack
Motorola MPx220
E-Plus PDA 2
O2 XDA II (T-Mobile MDA-II)
Qtek 2020
Samsung SGH-i1300
T-Mobile SDA
Vodafone VPA II
I-mate JAM
Windows Mobile 5 Phone with Microsoft Bluetooth Stack
T-Mobile MDA
QTek 9100
Windows Mobile 5 with Microsoft Bluetooth Stack
Dell Axim X51v
Windows Mobile devices with WIDCOMM Bluetooth Stack
All other not listed above
JSR-82 Installation for IBM J9 on Windows Mobile
J9 for MIDP 2.0 Profile
Copy to bluecove.jar %J9_HOME%\lib\jclMidp20\ext directory
Copy intelbth_ce.dll or bluecove_ce.dll to %J9_HOME%\bin directory
run app "%J9_HOME%\bin\j9.exe" -jcl:midp20 -Dmicroedition.connection.pkgs=com.intel.bluetooth -cp yourMidpApp.jar "-jxe:%J9_HOME%\lib\jclMidp20\jclMidp20.jxe" yourMidpApp.jad
J9 for Personal Profile 1.0
Add bluecove.jar to your classpath
Add system property -Dmicroedition.connection.pkgs=com.intel.bluetooth when running your application to enable JSR-82 connections.
This LetS U Use J2me Bluetooth midlets
More InFo AND Downloads Here Tried It With IBM J9 and it works Now all we need is MMAPI 4 JAVA AND WE ARE HAppy WIf JAVA
http://code.google.com/p/bluecove/
Thanks, I give it a try to see how it works under J9.
BTW, what real-world MIDlets did you test it with? I've been testing it (6.1.1 on the Dell Axim x51v) with Blooover ( http://trifinite.org/trifinite_stuff_blooover.html ); it discovered the other BT devices but the subsequent attcking (as opposed to the Nokia N95, which runs the MIDlet just great) didn't work, unlike with Nokia's KVM. Tested this under both the MS and the Widcomm BT stack.
Just gathering the Nokia add-on classes so that I can also deploy 3D Constructo Combat (a great multiplayer game). Do you happen to know where these classes can be downloaded from?
Well Tried
I tried the super bluetooth hack it hacks and bctest.jar and as for the jsr 184 class library i havent found it yet i however f0und the location api and the comm plugin 4 j9 what i have gatherd each class library comes with a dll and a jar eg fileconn.dll and fileconn.jar so all we have to do is find jsr 184.dll with its jar maybe some developer can make some plugin by the way jsr 135 is offered by ibm but you gotta purchase it which is crap
defcomg said:
I tried the super bluetooth hack it hacks and bctest.jar
Click to expand...
Click to collapse
Thanks, found them; I give them a try too.
defcomg said:
and as for the jsr 184 class library i havent found it yet i however f0und the location api and the comm plugin 4 j9 what i have gatherd each class library comes with a dll and a jar eg fileconn.dll and fileconn.jar so all we have to do is find jsr 184.dll with its jar maybe some developer can make some plugin
Click to expand...
Click to collapse
Are you sure IBM has bothered to release a M3G DLL? They may not even know there are 3D game sout there...
by the way jsr 135 is offered by ibm
Click to expand...
Click to collapse
Thanks for the tip; I'll update the MIDlet Bible with the info.
BTW, do you happen to know where the the Nokia add-on classes can be downloaded from?
java
how can i put java on the 8125 wizard os wm6 pro tnt 5.0
kevkev said:
how can i put java on the 8125 wizard os wm6 pro tnt 5.0
Click to expand...
Click to collapse
read the MIDlet Bible in the Wiki
I D0nt Get Ya
What Nokia add on classes Maybe u Mean Nokia api check here http://www.microemu.org/ they talk about those api's but if you want to play or run midlets ment for nokia i think you would need to put com.nokia. into the jar you wana excute there was a 2D Multiplayer Game that would run on j9 i think it was Beach Rally 2 it came pre-defined on the nokia 6230 when n0kia introduced jsr 82 on S40 plattform. Is It Possible to embedd a JvM into the Win Ce 0s Like Symbian v2 and above So u can just Excute a jar like a exe from start menu
defcomg said:
What Nokia add on classes Maybe u Mean Nokia api check here http://www.microemu.org/ they talk about those api's but if you want to play or run midlets ment for nokia i think you would need to put com.nokia. into the jar
Click to expand...
Click to collapse
Thanks, in the menatime, I've found them at http://4pda.ru/forum/attach/467061/Adapted.zip - working great.
defcomg said:
you wana excute there was a 2D Multiplayer Game that would run on j9 i think it was Beach Rally 2 it came pre-defined on the nokia 6230 when n0kia introduced jsr 82 on S40 plattform
Click to expand...
Click to collapse
Thanks, I'll give it a try.
Updated the Wiki with the new info : http://wiki.xda-developers.com/index.php?pagename=The (Java) MIDlet Bible
Samsung i900 Omnia supports JSR82
I have tried it and works great. I have tried to copy to my HTC Diamind but it does not work.
Maybe somebody more experienced on this area can make it work.
Regards
Thanks Menneisyys & Defcomg for the info regarding JSR-82 & Java support on Windows Mobile devices.
I'm trying to get a J2ME program working on WM5+ devices using the Bluetooth to connect to another device. The application works 100% on Nokia phones (I've tested it on a Nokia N95).
The installation of IBM J9 6.1.0 MIDP 2.0 with the BlueCove 2.1.0 Bluetooth stack onto a HTC TyTN II was actually quit simple. Eventually I did it a bit different from how it was described in the MIDlet Bible. I've installed the IBM J9 6.1.0 MIDP 2.0 (currently unable to get hold of the 6.1.1 eval version) by running the cab-file, added the bluecove-2.1.0.jar to the J9's \lib\jclMidp20\ext\ folder and extracted the two _ec.dll files from the bluecove jar-file to he J9's \bin\ folder.
On that HTC phone it wasn't necessary (using the MIDlet Bible as base reference) to copy the other 2 dll files or to remove the javax.microedition package from the BlueCove jar-file.
The device discovery works fine on it, although the service discovery still has some issues. Sometimes it discovers my external device's serial port service, but usually it doesn't. It even connects & communicates 100% with my external device using serial communication over BT. I have no idea why the service discovery fails most of the time. Sometimes I get it to work by disabling & enabling the BT before running the MIDlet. Any ideas? Is it possible to use BlueCove for the device discovery and connection & another BT stack for the service discovery?
I'm also using the same BlueCove-2.1.0.jar file along with the MicroEmulator on Windows XP/Vista and it works like a charm! Only problem that I've got there is that the MicroEmulator does not display the NetBeans TableItem.
Regards
Chris

Categories

Resources