• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Phone says "invalid application file" when running my application.

 
Greenhorn
Posts: 16
Ruby Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I've just got Java Micro Edition (WTK 2.5.2, I think) working on my Ubuntu machine. I can use the phone simulator to simulate a "Hello world" app, but once this is transferred over to my phone (http://www.dealextreme.com/details.dx/sku.44402) it says "invalid application file"

This is a slight problem, and a solution will be greatly appreciated.
 
Ranch Hand
Posts: 40
Netbeans IDE Ubuntu Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey,
Reason may be that you have done your project for MIDP 2.1. But your phone may not support it.
First check it.

 
Will Richardson
Greenhorn
Posts: 16
Ruby Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On my phone or PC..?

There is no way to check Java version on my phone (because it is a Chinese imitation of a G5) so I don't know what version to it would support..

So where, what, and how do I check that?
 
Will Richardson
Greenhorn
Posts: 16
Ruby Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mobile Information Device profile? 1.0

Hmm.. can it be too low tech?
 
Srinath Gamage
Ranch Hand
Posts: 40
Netbeans IDE Ubuntu Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
okkk, that means MIDP1.0.
Yah way old tec, now it's MIDP 2.1.
In your project set MIDP version to 1.0 and rebuild.
Then it will work.
 
Will Richardson
Greenhorn
Posts: 16
Ruby Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, I think you have misunderstood me.. eclipse can go to 1.0 an i do not know what my phone supports..
 
Srinath Gamage
Ranch Hand
Posts: 40
Netbeans IDE Ubuntu Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Will Richardson wrote:Mobile Information Device profile? 1.0

Hmm.. can it be too low tech?




I thought you talking about your phone here.
 
Will Richardson
Greenhorn
Posts: 16
Ruby Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, so if I have no idea what my phone can run, what do I do now?
 
Srinath Gamage
Ranch Hand
Posts: 40
Netbeans IDE Ubuntu Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Create a basic application with lowest configuration, and
run following code in that and read your phone configurations.

 
Will Richardson
Greenhorn
Posts: 16
Ruby Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sweet, thanks, cheers, that works. I am on 2.0..

Now to find a tutorial..
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Srinath,

I am new to this moile booking or application development. Please suggest me what are all the common used to technologies for this mobile iphone applications like for front jsp and middele ties spring or webservicess.. some info.. It will be greatfull for me... Thanks a lot
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic