deanbrowne / j4me

Automatically exported from code.google.com/p/j4me
1 stars 1 forks source link

Operation Failed on Sony Ericsson w880i when including j4me jar in MIDlet #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a MIDlet. 
2. Include the j4me jar library from J4ME-1.0.3-20080509.zip. 
3. Install and start on Sony Ericsson w880i phone. 

What is the expected output? What do you see instead?
The program should start but instead I get a "operation failed" message. 
I do not have a single line in my code that uses the j4me jar lib. It is 
only included but not used. 

What version of the product are you using? On what operating system?
N/A 

Please provide any additional information below.
This works without problems on the Sun WTK. I can even use the library 
there =). 

Original issue reported on code.google.com by andreasj...@gmail.com on 27 May 2008 at 11:27

GoogleCodeExporter commented 9 years ago
I'm almost positive this is one of a couple of problems.  EclipseME handles 
these for
you so running the emulator is easier than on a phone.
  1. Compile under Java 1.3 compliance
  2. After compiling make sure it is preverified

To run on your phone you should use Antenna which is a library of Ant tasks for 
J2ME.
  1. Download from http://antenna.sourceforge.net/
  2. In Eclipse under Preferences and the J2ME tab set the location of antenna.jar
  3. Right-click your project and select J2ME -> Export Antenna Build Files (this
generates an Ant build.xml file for your project)
  4. Run that

Please let me know if this works.  Also any additional steps you would have 
found
helpful.  I'll add them to the Setup guide for the next person.

However, if it doesn't work we'll try again.  Unfortunately SEs and most other 
phones
(save Nokia) are not good about reporting problems making them difficult to 
track.

Original comment by deanbro...@gmail.com on 27 May 2008 at 4:51