Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

OTA download problem

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm newbie with J2ME (started yesterday) and wondering why I can't download my Test-midlet into the OTA emulator. I'm able to run this midlet on emulator, but downloading from Tomcat-server fails even everything seems to be ok. Anyway, OTA seems to find Tomcat, but an error occurs before midlet starts (says: "Can't find Midlet suite").
Tomcat's web.xml has needed MIME-types and Jad-file includes http-URL (http://localhost/Test.jar) to Jar-file.
OTA emulator asks URL to launch the application and I assume it should be ok if I type there "http://localhost/Test.jad", but now I'm wondering that should I, instead of previous, create some html/wml-file and crete a link of "Test.jad" into it? :roll:
Thanks,
Jorma
 
Jorma Ikonen
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I solved the problem. Obviously OTA Emulator (phone) do not understand straight link to Jad-file and a link into it on WML-file (by David Price) is must:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" http://www.wapforum.org/DTD/wml13.dtd">
<wml>
<card>
<p><i>MIDP 1.0 MIDlets:</i></p>
<p align="center"><a href="http://localhost/Test.jad">WML-link to test</a></p>
</card>
</wml>
Thanks anyway,
Jorma
 
knowledge is the difference between drudgery and strategic action -- tiny ad
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic