Results 1 to 5 of 5

Thread: [RESOLVED] Mobile Phones

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Location
    Chesterfield, UK
    Posts
    162

    Resolved [RESOLVED] Mobile Phones

    I'm a VB.Net developer and I've just wrote my first Java Hello World app!

    I've downloaded Eclipse and I can run the application in the designer.

    What I now want to do is port the app over to my mobile phone. I tried to export the the project as a .jar file and send it over to the phone but the app will not install. Do I need to compile it first or does it need to be designed on another runtime environment?
    Beware of programmers who carry screwdrivers.

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Mobile Phones

    Java for mobiles is not the same edition as the one for PCs, you need to use the JME (Java Mobile Edition) technology in order to get your java apps to work on a Java enabled mobile.

    My advise to you as a .NET developer is to download Netbeans for an IDE and make sure to download and install the "Mobility pack"
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Location
    Chesterfield, UK
    Posts
    162

    Re: Mobile Phones

    Thanks for that. I;ve downloaded and created another 'mobile' test app which works fine in the emulator. When I build the project and send the .jar and .jad to the phone I can now install it as an application. (I found I needed to set the MIDP to 2.0).

    When I try and run it on the phone it just won't run and comes up with 'Invalid Application'. I'm testing this on a Sony Ericsson V600i (which I think is the same as a K600i only on Vodafone).
    Beware of programmers who carry screwdrivers.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Location
    Chesterfield, UK
    Posts
    162

    Re: Mobile Phones

    Cracked it. Whe it was testing the chaning the various MIDP settings I started a new project with nothing on the form. As soon as I placed a textbox on the form it worked!

    Thanks
    Beware of programmers who carry screwdrivers.

  5. #5
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: [RESOLVED] Mobile Phones

    Be aware that you have to do lots of reading about the appropriate MIDP and the CLDC configuration so you're applications are compatible with most mobile phones
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width