Midlet & Java...? - MDA II, XDA II, 2060 General

OK Chaps..(and any Chapesses..of course. :wink: )
Whilst accsessing the web, I noticed that any JAVA appletts I came across didnt work........
I gather this is somthing to do with downloading some .jab, .jar files, / midlet suite into the Midlet manager.........
Where do I find such beasts........
(Looked at Midlet.com. but didn't see the XDA listed...or am I just being stupid?)
Many thanks
Steve.

A lot of confusion goes on with Java. The XDAII does not support full Java, i.e. embedded Java applets in web pages, or Java applications.
It does support a flavour of ECMAScript, called JScript, for scripting simple things on web pages - this is often confused with Java because Netscape called the original scripting language JavaScript. Apart from a similarity in syntax, it has very little to do with "real" Java.
However with the latest ROM update from O2, you get Midlet Manager which can run standalone applications using a particular cut-down version of "real" Java called J2ME (java 2 micro edition; with MIDP - mobile information device profiles) . These are generally called midlets, and are normally packaged as jar or jad files.
There are two problems here -
Hardware: these applications are usually written for mobile phones with a keypad, which the XDA lacks and midlet manager doesn't simulate, so many of the midlets are just not usuable; mobile phones have teeny weeny screens, and of course the XDA has a nice big one, so midlets generally will look awful.
Software: Because mobile phones are pretty low spec compared to our glorious XDAs, midlets are generally pathetic comared with real pocketPC applications.
If you want to try some midlets, just to see how pointless they are, there are a lot of free ones at www.midlet.org
If you want to run full Java on the XDA, you can purchase a proper JVM. I beleive Jeode runs OK, but it is $50.
There's also Waba, which is a free, similarly cut-down java variant, that is a good alternative to J2ME; and IBM Websphere Micro Edition, that is a cheap alternative full J2ME.
I've heard that the NetFront alternative browser has a companion JVM for applets, so this might be your best bet if you want to run Java Applets in web pages.

Cheers.!!!

Midlet Manager
cant be downloaded from anywhere can it
is it comercial and only in roms like the new o2 one ?

Yeah, it's one of those products that the vendor only licenses to OEMs. I suppose you could get somebody to send you the cab from the extended rom and see if it'll install.

Related

XDA Data Driven Application Architecture - Language choice

Hi
Similar to the GPS upload thread, I am interested in writing an app to talk to TomTom5 SDK (maybe with or without the TTNC Java/VB wrapper), and upload the data to a Web service.
I am primariliy a Java developer, but have found very little about Java support the XDA... I need to develop for XDA T-Mobile MDA HTC Blue Angel - O/S WME 2002/2003. ..
I have trawled the forums and read a couple of mentions of Java, but nothing conclusive as to what the current situation is with regards to support VM's etc..
Can anyone clarify:
a) What are the supported JVM's
b) If none, what other languages are being used to develop the apps? (is it just VB .NET?)
:?:
java support
http://forum.xda-developers.com/viewtopic.php?t=19415&highlight=java
http://www.ewesoft.com/Downloads/Downloads.html
other languages you can use
c#
c++
both are miles ahead of vb imho
Hiya
I do a lot of work with TomTom and it's SDKs, originally using embedded VB and now C#. One thing to note... I don't think the TTTNCF wrapper for the TT5 SDK (I assume this is the wrapper you mean?!) will work with Java! As far as I'm aware it's .NET only - tho that said I haven't had time to play with the new TT5 version yet :roll:
C# or Java
Hi
Yes I am guessing I only need the TTNC wrapper if I am using .NET because if I use Ewe Java, I can talk straight Java to the TomTom SDK, is that your understanding? (I think the SDK is Java)...
Can I ask why you chose C# over Java/Ewe ?
and also, if I choose to develop using .NET C#, can I talk to a Java web service (ie. Axis published)? or do I have to talk to a Microsoft .NET published Web Service?
:shock:
ms hate java so java is much much more limited on the mw platform
even more limited in many ways then on a normal nokia cellphone
dont know if the tomtom sdk is java but it's odd if it is because normaly pocketpc's dont have java support unless you install 3th party software
so unless tomtom include a JVM then it's not java

java on tytn

hello,
a small Q, I'm trying to get Google earth to work on my new tytn but im missing the java plug-in, any one got a clue which java plug-in will fit the tytn (if at all)?
thanks!
Google earth
danidin said:
hello,
a small Q, I'm trying to get Google earth to work on my new tytn but im missing the java plug-in, any one got a clue which java plug-in will fit the tytn (if at all)?
thanks!
Click to expand...
Click to collapse
Are you talking about Virtual Earth Mobile cos this is brilliant. I used to use a version that required a java plug in but I reckon this is better excellent in fact.
http://msmobiles.com/news.php/4439.html
This gives a cab file so dead easy to install.
Mike
Java version
Danidin
Sorry if I was a little dismissive re Java version, and as I'm feeling guilty, here's a link that will help if you really want to pursue the Java, Jar, Jad, Midlet thingy route.
Note "Google Local Mobile got renamed to Google Mobile Maps (gmm) and the main Java class is now called GoogleNav."
http://jeepx.blogspot.com/2005/12/google-local-mobile.html
Mike
Also some more info on Java on PDAs here:
http://blog.vikdavid.com/2004/12/java_on_pocketp.html
I use the IBM J9 java emulator. Works well.
BTW You might like to have a look at MG Maps:
http://www.mgmaps.com/
It can access Google Maps, Google Satellite, MSN Road Map, MSN Aerial, MSN Aerial with labels, Yahoo Maps, Yahoo Satellite, Ask.com Maps and Ask.com Aerial. It's GPS aware (although this doesn't seem to work with my BT GPS) and can access KML overlays (although I haven't tried this out yet.)
Very nice.
totallytechie said:
Also some more info on Java on PDAs here:
http://blog.vikdavid.com/2004/12/java_on_pocketp.html
Click to expand...
Click to collapse
Please also note that my PPCMag Expert Blog has a LOT of additional Java-related tips and tricks. I'm constantly reporting on the latest developments in the PPC-related Java questions. Make sure you check out all the three Java-related categories in my blog at http://www.pocketpcmag.com/blogs/index.php?blog=3
thanks guys! a lot of info to dive in, great!
People still use java??? I haven't used java on my phone since I last had a SonyEricsson! I haven't bothered with Java on WM phones.
java and flash are the future of mobiles, they just haven't realized it yet (aside from Japan ) and ajax...
I think the original poster was referring to javascript, not real java code. A lot of Banks and online sites us javascript and it used to be a big problem with ce and wm2002 and wm 2003. WM5 seems to handle some of the basic javascript and then there are several apps for addon such as IBM's j9 or websphere or what ever the name is this year. Also, midlet's are becoming more available
darky said:
java and flash are the future of mobiles
Click to expand...
Click to collapse
You mean JavaScript? Very few pages use client-side Java and I don't think this will change.
eagle 1 said:
I think the original poster was referring to javascript, not real java code.
Click to expand...
Click to collapse
Nope, Google Earth is Midlet-based; see my Midlet & Google Earth -related articles.
Is there any way you can get a pluggin that makes java midlets (J2ME) Work any better? The ammount of midlets that install and then just do nothing is appaling? Sony Ericcsons and Nokia's have multiplayer Bluetooth Midlets that work on either device, why not on ours?? Also one in particular is REPORO (Awesome Program) They have a midlet specifically made for the Wizzard wchic works fine on the Tytn but I have found it is massively cut down! On a Nokia or Sony Ericsson or Motorola (I work in a phone shop so have everything readily available) They can all access the phones contact book and Pictures and Camera so you can send free picture messages to other REPORO users! Now Ive installed all the other brands versions onto my VARIO and they all install fine but then they dont run and crash my phone! Can I get an emulator or a pluggin to fix this?
www.REPORO.com
(Awesome if only for the live football results)
Chat rooms
Free Texts
Free Picture Messages
MSN, YAHOO, AIM, Google Messenger!
Shopping
News
Horrorscopes
And the list keeps getting bigger! Awesome software!! (MAke sure you select the O2 XDA MINI S as your device as its the only Wizzard derivative on there.
Install the J9 VM like others have mentioned.
Oh, and remember: "Write Once, Run Anywhere"...HA!!

[eMbedded Visual C++] vs. [Visual Studio 2005]

As I understand it, eMbedded VC++ can be used to write applications that will work in Windows Mobile 5/6. I'm curious as to what I would miss out on in terms of API. In other words, what's new and shiny in VS 2005 that would make it worth my money to purchase instead of just using eMbedded VC++?
Particularly, I'm interested in writing a Today Screen plugin (so the .Net features don't matter to me very much). Is there any API breakage between Pocket PC 2003 and Windows Mobile 5/6 regarding Today Screen .dll's?
Alternately, is there a way to use the Windows Mobile 5/6 SDK with eMbedded VC++?
embedded vc++ apps can run on wm6 devices because in most cases all arm wm apps can run on all wm devices
the beta2 of visual stuio 2008 is free and can also do what vs2005 can and more
Rudegar said:
embedded vc++ apps can run on wm6 devices because in most cases all arm wm apps can run on all wm devices
the beta2 of visual stuio 2008 is free and can also do what vs2005 can and more
Click to expand...
Click to collapse
I know eMbedded VC++ apps can run on WM6, my question was more about whether there are any differences in available library/API calls using the older development platform, any name mangling issues writing DLL's, etc. Can I just use eMbedded VC++ to compile against the newest SDK libraries?
You will miss the following:
1) 1GB+ of you hard drive wasted.
2) 5 minutes wasted every time you try to access built in help
3) A lot of time lost due to slow response of the IDE
4) Programs that are not backward compatible.
5) Spending lots of money unless you have "other" ways of acquiring VS which we do not condone.
I worked with VS 2005 and still prefer eVC 4.
API is just a matter of what libraries you link to. You can get all the shiny new bells and whistles (frankly I am not familiar with any critical API, and certainly there is nothing new for today plugins) in two ways:
1) Manually unpack WM 5 or 6 SDK and link to its libs.
(Project->Settings->Link)
2) Use LoadLibrary and GetProcAddress to dynamically gain access to the API.
Oh and if you want to write today plugin check out this article and the link to RegDisplay in my signature. It is a skeleton plugin project you can use as a base.
Oh and stay away from VS 2008 at least till it comes out of beta. VS 2005 beta was the worst nightmare I ever seen and I can bet MS track record has not improved.

GPS with JBED or highres with IBM J9 and MGMAPS possible?

Right now I am using IBM's J9 Midlet Manager and it works out well with the maps application, but it's slower than JBED and for some reason it doesn't show the maps in high resolution even with the high resolution J9 version installed. JBED's only problem is that you can't connect to the serial ports of your phone and thus MGMAPS keeps reporting that there is no GPS unit available. I've had the same problem with the Intent Midlet Manager and thus would like to know if there is
a) a way to make it work with JBED or Intent.
b) a way to make IBM's J9 display high resolution.
Please no "use Mobile GMaps" answers as I have my reasons for using the midlet (offline maps, favorites, extra services). Any help on this would be greatly appreciated as I really hope this can be fixed either way.
Falk said:
a) a way to make it work with JBED or Intent.
Click to expand...
Click to collapse
Nope, they don't support serial ports.
b) a way to make IBM's J9 display high resolution.
Click to expand...
Click to collapse
This is easy and has already been explained in my MIDlet Bible (see row "Opera Mini 4 beta 2 fonts - VGA?" of the chart at http://www.winmobiletech.com/092007MidletBible/CompatibilityAndMain.html ):
Forcing J9MIDP20.EXE (or, for that matter, ANY .EXE's) doesn't help, as opposed to earlier, 5.7-series J9 versions. The only way to get high-res support is switching to Real VGA mode and using the QVGA version of J9 (NOT the VGA version - the latter won't execute your deployed MIDlets at all!). An example screenshot of this is HERE (using Large characters). Note that, as the QVGA and VGA versions can co-exist on the same machine and will use the same deployed MIDlets, this seems to be a usable solution to get hi-res support when you really need it (and, at the same time, can live without hardware softkey support - you'll need to use the on-screen menus to issue commands, unlike with the VGA version. At least this was the case on my VGA Universal.).
Thank you! Problem solved. It's really a shame that HTC didn't get around to put a decent midlet manager onto their devices. I could play with a N95 a bit recently and like your comparison chart shows it's a whole different world. I am not a heavy user, but MGMAPS sure has taught me a lesson that midlets can even be better than native Windows apps... with the right manager / device.

Newbie Guide to C++

I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
ronschaefer said:
I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
Click to expand...
Click to collapse
WHAT kind of applications you are trying to write?
Do you need to write a device driver for your PDA?
ronschaefer said:
I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
Click to expand...
Click to collapse
You should be able to do it with visual studio and the emulator, im not 100% sure though, I only know a limited amount of Java.
Most phones support .net/C#/Java, so pick a language
What I want to write
Just some fun stuff =
One idea I had is a generic sound simulator, tie buttons to different sound - .wav files; animal sounds, machine sounds, phasor blasts, drum kit, theme music like - http://www.thinkgeek.com/tshirts/illuminated/a5bf/
I want to have it look nice too with decent graphics.
i suggest to use Visual Studio 2005 or 2008.
It's simplest way to start (and continue) to write programs.
Both native and NET technologies are supported. C++ and C# available.
Both VS versions are coming with integrated Device Emulator with WM5(VS2005) and WM6(VS2008) images for PDA/PDAPhone/SP and remote debugger for real PDA/PDAPhone/SP devices.
If you are using VS2005/2008. Download the latest Windows Mobile 6 SDK (Standard and Pro) for the best Emulation.
Ta
Dave
but c# only works with .net
where c++ works with win32(native) microMFC(Native) and .net
more info can be found
http://forum.xda-developers.com/showthread.php?t=380069&highlight=programming
http://forum.xda-developers.com/showthread.php?t=382995&highlight=programming
http://forum.xda-developers.com/showthread.php?t=226412&highlight=programming
http://forum.xda-developers.com/showthread.php?t=336251&highlight=programming
http://forum.xda-developers.com/showthread.php?t=305926&highlight=programming
http://forum.xda-developers.com/showthread.php?t=302548&highlight=programming
http://forum.xda-developers.com/showthread.php?t=228043&highlight=programming
http://forum.xda-developers.com/showthread.php?t=317913&highlight=programming
http://forum.xda-developers.com/showthread.php?t=237932&highlight=programming
yes, ะก# is for NET only. This language appeared together with NET technology as alternative to Java after breakup with SUN
C# is closer to BASIC than C++. I, personally, don't recommend C#. Ths "strange" language is for lazy people. Almost nothing left of C++ and its ideology.
Visual Studio 2008 Pro trial version
Thanks for you advice - i deleted all that embedded C++ stuff - was way too confusing, must have had like 8 programs installed and still was not working - I like the idea of just 3 things the visual studio and the 2 WM6 SDKs
Im going to try the visual studio 2008 - there is a trial version of it for 90 days
http://msdn.microsoft.com/en-us/vstudio/products/aa700831.aspx
Would i be better off with the 2005 version as Im using Xp not Vista on my main computer. Should I get the Try Visual Studio "Team System" 2008 - Trial Software or just stick with the regular one i downloaded?
I also downloaded the standard and professional WM6 SDKs
http://www.microsoft.com/downloads/...745-88EF-3D48091A390B&displaylang=en#filelist
I used embedded visual tools in the past (3 and 4). Be aware that you cannot use the WM5 SDK with eVC, you must use Visual Studio for that. The latest thing usable with eVC is the WM2003 SDK, as far as I know. Also, the emulator handling in eVC was quite sluggish and buggy. When I switched to VS2005, it was like a deliverance to me. Also, the help system in VS is a blessing. *g*
Though I used Delphi's VCL in the past, I would never freely touch such a thing on restricted hardware such as in PDAs. Hence, .NET, MFC and of course *cough* Java *cough* are out of the question. I'm a pure C++ writer. The progs are nicely small and fast. And there are always alternatives to the things I can't use because of that: for instance instead of MFC CStrings I got acquainted with STL library's strings. There's also ATL which supposedly can be used instead of MFC for GUI programming, but when I looked for it some years back I found only very little information about that.
Happy coding.
Is it true that you can only develop WinMo C++ in VS Pro?
I read on the Microsoft marketplace that the standard edition dosnt support mobiles..
are there any alternatives (C++ only please..)
yes they only support through pro... but you can get it for free through dreamspark if you are a student
joel2009 said:
yes they only support through pro... but you can get it for free through dreamspark if you are a student
Click to expand...
Click to collapse
damn, I am a student but my uni isnt listed
I asked one of the admins and they are looking into getting on the list
But it might be too late coz its my last year..
Mic159 said:
damn, I am a student but my uni isnt listed
I asked one of the admins and they are looking into getting on the list
But it might be too late coz its my last year..
Click to expand...
Click to collapse
Good news. My uni isn't listed either. It is a simple matter of verifying your student status on journey ed. I'm glad I could help with this because it turns out that I could get all the dreamspark software through my school's MSDNAA program anyways.

Categories

Resources