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 4 of 4

Thread: From a Java-program to an app on your phone

  1. #1
    Junior Member
    Join Date
    Dec 2020
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default From a Java-program to an app on your phone

    Hello,

    I have a simple question, but I hope the answer will be simple too.. I have created a Java-program and it runs fine on a desktop or laptop computer. But now I want to create an android app of this Java-program. How do I do that?

    I have watched a video on Youtube, but it made me a bit dissapointed, because it looks like that all the lay-out work had to be done again... Maybe I'm wrong with that conclusion. The program that I used to make my Java-program is called 'Eclipse'. Now I'm afraid that this program is not qualified to make apps. In the Youtube video the guy used 'Adroid Studio'.

    I am not very experienced with programming in Java and I never made an app. So I hope someone can help me with this question.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    23,641
    Thanks
    53
    Thanked 2,530 Times in 2,481 Posts

    Default Re: From a Java-program to an app on your phone

    looks like that all the lay-out work had to be done again.
    Yes. The GUI has to be completely rewritten. I have had very good luck copying the non-GUI code from desktop programs to Android apps. The GUI needs to be rewritten.

    I use Eclipse for my apps, but the current recommended/required IDE for apps is Android Studio.

    Start with a simple program that you find with a search on the internet. Build and test it to see what the steps are for Android development.
    Good Luck.
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Dec 2020
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: From a Java-program to an app on your phone

    Quote Originally Posted by Norm View Post
    Yes. The GUI has to be completely rewritten. I have had very good luck copying the non-GUI code from desktop programs to Android apps. The GUI needs to be rewritten.

    I use Eclipse for my apps, but the current recommended/required IDE for apps is Android Studio.

    Start with a simple program that you find with a search on the internet. Build and test it to see what the steps are for Android development.
    Good Luck.
    Thanks for the quick answer. So unfortunately I was right about the GUI.. My program-script was 32 pages so there's a lot of work to do again. But I will start indeed first with a simple program so that I can find out how Adroid Studio really works.

    But your answer raises a new question. You said that you use Eclipse for your apps, but what kind of apps are they? Only for desktop and laptops or also for phones?

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    23,641
    Thanks
    53
    Thanked 2,530 Times in 2,481 Posts

    Default Re: From a Java-program to an app on your phone

    My apps are for tablets. I'll send you a PM with a link to my Github entries.
    If you don't understand my answer, don't ignore it, ask a question.

  5. The Following User Says Thank You to Norm For This Useful Post:

    Ten Grabbelaar (December 12th, 2020)

Similar Threads

  1. Phone Book Program
    By trubble in forum What's Wrong With My Code?
    Replies: 4
    Last Post: February 7th, 2014, 02:31 AM
  2. Phone Directory program
    By one girl in forum What's Wrong With My Code?
    Replies: 11
    Last Post: December 20th, 2012, 06:16 PM
  3. need help with phone number program for homework
    By stevolabo in forum What's Wrong With My Code?
    Replies: 6
    Last Post: March 23rd, 2012, 07:34 PM
  4. HELP!! Phone Directory Program
    By lahegemon in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 6th, 2011, 09:27 AM
  5. Java Error cannot be applied to (java.lang.String), phone book entry program.
    By iceyferrara in forum What's Wrong With My Code?
    Replies: 5
    Last Post: September 23rd, 2011, 06:32 AM