• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

how to create jad file

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi

any one tell me how to create jad file in detail
 
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jugan!

I sugest you try to compile a HelloWorld-MIDlet in Wireless Tool Kit, then you will find a jad in the bin directory. Jad is basicly a txt-file with a content thats discribes what kinde of MIDlet it is...
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, if you're using Ant to build your project, you could use Antenna's WtkJad task for generating the JAD file.
 
Sebastian Green
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tip! To get your MIDlet from the server OTA (Over The Air) to your cellphone. Be shure to add the whole URL where the jar is locateded.

MIDlet-Jar-URL: http://www.youserver.com/HelloWorld.jar
 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lasse Koskela

I'm using WTK, ant, antenna. When I build/package/obfuscate by using wtk IDE, it always works. However, when I use wtkbuild/wtkpackage/wtkpreverify/wtkpreverify, when I wtkrun or download to the cellphone, I always get the error:

[wtkrun] No such method getWidth.()I

It happens even I don't obfuscate!!!

I even decompiled the jar file, don't see that "getWidth.()I" at all.

Since I need to build 20 different jars, not to use IDE is very important to automate the process. I'm stucked.

Can you help, maybe give me your build.xml?

I really don't know why this is happening...

Thanks!
Roseanne
 
please buy this thing and then I get a fat cut of the action:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic