It's not a secret anymore!*
The moose likes Java Micro Edition and the fly likes Nokia 3520 TDMA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Nokia 3520 TDMA" Watch "Nokia 3520 TDMA" New topic
Author

Nokia 3520 TDMA

Gustavo Adolpho Bonesso
Ranch Hand

Joined: May 11, 2002
Posts: 103
Hi,
I�m new in J2ME Technology and want to make applications for the Nokia 3520. I made an "HelloWorld" application, but i don�t know how to deploy it to the mobile, via WAP. Somebody can help ?
Thanks !


Gustavo Adolpho Bonesso<br />SCJP1.4
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
You need to publish your .jar and .jad files behind a URL accessible from your mobile and point your WAP browser to the .jad file. The device will then ask for your permission to download and install the .jar file (the application itself).


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Gustavo Adolpho Bonesso
Ranch Hand

Joined: May 11, 2002
Posts: 103
Lasse,
When i try to download the .jad file, my mobile show me just text. It doesn�t begin the download of the jar file... Do you have some example ?
Thank You !
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Sounds like you haven't configured your web server's MIME types? You need to map *.jad files to MIME type "text/vnd.sun.j2me.app-descriptor".
Gustavo Adolpho Bonesso
Ranch Hand

Joined: May 11, 2002
Posts: 103
I didn�t... Thank you ! Do you know where can i get more information about this issue ?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Which web server you're using? For Apache you can modify the .htaccess file by adding a AddType definition for the MIME type.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Nokia 3520 TDMA