Win a copy of Spring Boot in Practice this week in the Spring forum!

Matt Bilson

Greenhorn
+ Follow
since Mar 18, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Matt Bilson

it seems to accept the jad file fine, displays the information and gives an option to download the jar, which is when the problem comes about!

is that the case for other phones as well? do all phones accept jar's without the jad's because the system I'm implementing needs to work for all phones!
18 years ago
i also have other jad's that have their versions as 1.1 or 1.25
I was under the impression (maybe wrongly) that there was MIDP 1.0 and MIDP 2.0 and that was it?

thanks again
18 years ago
cheers Mark,

ermmm....the JAD for the specified file says
MIDlet-Version: 2.0

however when bluetoothed to the phone it works fine, so it must b MIDP 1 i'd have thought?? Is it that it's MIDP 1, but the JAD tells the phone its MIDP 2 so it thinks it won't b able to handle it, cos when bluetoothing, I of course only send the .jar

I've done some J2ME in the past, but these questions are regarding setting up a deployment system using content from other content providers
18 years ago
sorry!
guess i must have been signing up in a hurry and not read that!

how did u know that matt wasn't my surname as well as my first name?? i might have had very weird parents! ;-)
18 years ago
Ok, having problems with OTA deployment, read loads of posts in different places that sound similar, but they always seem to be sorted by adding MIME types etc, this one is proving trickier!

So the problem is, I have the .jad and the .jar on the server, in the same folder (with a relative URL in the JAD, could that be a problem??), i can find the JAD file fine and it comes up on my Sony Ericsson T610 with download and info options, innfo shows info from the JAD, and download starts downloading it, however after a few seconds, an "Invalid Application" error shows up.

The server is IIS and has a mime type for jad & jar set up, and when I bluetooth the jar to my phone (by passing the jad) it works fine, so the game is compatible with the phone

its really bugging me, as i've searched high and low on the net and can't find a solution anywhere,
any help would be very gratefully received, thanks in advance

matt
18 years ago
Hey,
just written some code to display a fairly simple alert. It works fine in the emulator - just how it should. Trouble is, when i bluetooth it over to my T610, it doesn't work right!
>>>>>>>
canvas = new BOCanvas(this, levelNum);
canvas.setCommandListener(this);
canvas.addCommand(forfeitKey);
displayMan.setCurrent( canvas );

nextLevel = new Alert(alertTitle, "Level " + levelNum, null, AlertType.INFO);
nextLevel.setTimeout(2000);
displayMan.setCurrent(nextLevel);
>>>>>>>
Basically the code is called when a "play game" call is made. It's purpose is to pop an alert saying the level number, then go into the game.
In the emulator this works perfectly.
However on my phone, when 'play game' is selected, the alert is called, but it seems that the :
displayMan.setCurrent( canvas );
piece of code isnt because after the alert, the menu with 'play game' upon it, re-appears. If I duplicate the setCurrent( canvas); piece of code and put it after setCurrent(nextLevel); then the canvas is displayed, but the alert isnt displayed (or probably it is displayed just for a split second)
If anyone could help me out I'd be very gratfeul!
Matt
18 years ago
hey,
Im using a Sony Ericsson T610 to try and downlod my midlet, i've put it on a web server and added the mime types for jad, wap and wml.
My phone can open the wml fine, and tries downloading the jad from the link in the WML, but then says its not supported and that it cant download
If i put the URL for the .jar into the phone, then it finds it, realises it needs to be downloaded and gives me a menu where i can see info | memory status | download. But again when i select download it says its not supported and that it cant download it.
Do i need to have a MIME type for the jar?
Any help would be amazing
Thanks
Matt
18 years ago
Is it just a case of putting a link to the JAD file in a WAP page and putting that on ur server, and pointing ur phone at the URL of the WAP page.
does this make it download the JAR? or do u have to put a link to the JAR in?
Any help would be much appreciated
Thanks in advance
Matt
18 years ago