Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 9 of 9

Thread: Writing java applications for the iPod Touch

  1. #1
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Red face Writing java applications for the iPod Touch

    I recently bought an iPod Touch.

    For those of you who don't know, its basically an Apple iPhone but without the phone.
    Its an iPod so its an mp3 player but you can check your emails, play games, browse the internet and a lot more!



    Another cool feature is the app store where there are 1000s of applications programmed by users to download onto your iPod.

    I am interested in programming applications for the app store and was wondering if its possible with Java? Has anyone here had any experience with this?

    Any information or useful links would be cool..
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Writing Java applications for the iPod Touch

    I've just done a bit of research. For anyone interested in this subject, take a look at the link below:

    iPhone Dev Center

    There is lots and lots of useful information here. You need to start by downloading the iPhone SDK.


    Update: Unfortunately the iPhone SDK can only be installed on a Mac! I use a PC so I can't go any further with this
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  3. #3
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Writing applications for the iPod Touch

    Does anyone know if its possible to run the iPhone SDK on Linux?
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  4. #4
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Writing applications for the iPod Touch

    Quote Originally Posted by JavaPF View Post
    Does anyone know if its possible to run the iPhone SDK on Linux?
    For anyone interested, this is a very good read:

    Upgrading the iPhone Toolchain - Jay Freeman (saurik)

    Should keep me busy this weekend!
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  5. #5
    Junior Member
    Join Date
    Dec 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Writing applications for the iPod Touch

    I haven't found any information that says Java can be run on the iPhone or iPod Touch. About a year ago they looked into making Java for them, but found using it on SDK was found to be a challenge. Seeing that the iPhone and iPod have very little memory to run the applications, you would have to compact all of Java into such an SDK format. So really anything like Java for either of them probably wouldn't even be called Java!

    For such reasons I don't think they'll be making it anytime soon, but it's nice to be able to imagine a world with Java in the palm of our hands.

  6. #6
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Writing applications for the iPod Touch

    Here is something interesting I found; How to install a Java VM on your ipod.

    This will not allow you to view any Java content via the web browser, it's just a terminal based VM which will allow you to run already compiled Java classes. Note that there is no graphic support. All you can really do is print to the screen etc.

    First you'll need to add a new repository to your installer's "Sources"

    * Open installer and go to "Sources" on the buttom far right of the screen

    * Tap "Edit" on the top right corner and then "Add"

    * Once the "Add source" pop up window appears type "http://iphone.saurik.com/" in the text field and tap OK

    Install the VM and the ClassPath

    * Go to "Install" and scroll down to the "Java" category

    * Once there download GNU Classpath first and then the JavaVM

    This is how to run the compiled Java classes

    * Open a terminal on your ipod Term-vt100 is downloadable via the Installer

    * Navigate to where your .class file is stored and type "java classname"

    * Your program will now run on screen.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  7. #7
    Junior Member
    Join Date
    Jan 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Writing applications for the iPod Touch

    You need to have a good understanding of iPhone Sdk (Software development tool kit) and iOS for developing applications for iPod Touch. iPhone does not support java for writing apps.

  8. #8
    Member
    Join Date
    Jun 2011
    Posts
    44
    My Mood
    Mad
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: Writing applications for the iPod Touch

    Jail break your iPod and there is a world of jack apps and you can download the java package if only there was an IDE for the iPod (jailbroken of coarse)

  9. #9
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Writing applications for the iPod Touch

    It's all about Android now
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

Similar Threads

  1. How to start writing Java Apps for Cell Phones?
    By Jchang504 in forum Java ME (Mobile Edition)
    Replies: 7
    Last Post: January 10th, 2011, 05:11 AM
  2. I need help writing this program
    By kev2000 in forum Algorithms & Recursion
    Replies: 5
    Last Post: June 4th, 2009, 03:14 AM

Tags for this Thread