This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Will Richardson
Greenhorn
Posts: 16
Chrome Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
Srinath Gamage
Ranch Hand
Posts: 40
Google App Engine Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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
Chrome Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • 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
Chrome Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mobile Information Device profile? 1.0

Hmm.. can it be too low tech?
 
Srinath Gamage
Ranch Hand
Posts: 40
Google App Engine Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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
Chrome Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • 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
Google App Engine Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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
Chrome Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • 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
Google App Engine Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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
Chrome Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sweet, thanks, cheers, that works. I am on 2.0..

Now to find a tutorial..
 
Ragupathirajan Venkatesan
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic