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.


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

Results 1 to 2 of 2

Thread: How to make java desktop application to mobile application!!

  1. #1
    Join Date
    Mar 2011
    My Mood
    Thanked 0 Times in 0 Posts

    Default How to make java desktop application to mobile application!!

    Dear all members please join the discussion, I'm facing problem to make java desktop application to mobile application, what should I follow ??

  2. #2
    Forum VIP
    Join Date
    Jul 2010
    Thanked 329 Times in 305 Posts

    Default Re: How to make java desktop application to mobile application!!

    What sort of problems? In the case of Android development, you cannot use all the same libraries that you use in a desktop application.
    My solution to porting between desktop and Android has been to create:
    1. a desktop user interface
    2. an Android user interface
    3. A shared functionality library which contains all of the program's main functionality. This library is then used by both the desktop and android interfaces. When making this library, you need to make sure you don't use any classes that android cannot use.

    The reason I do it that way is because it reduces the cost of development. Since the library is shared by both interfaces, you don't need to rewrite the functionality code for each platform. Furthermore, if there is a bug in the functionality code, you only need to fix it in the shared library once, and then you can redeploy the desktop and android applications with the new library at the same time.

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

  3. The Following User Says Thank You to aussiemcgr For This Useful Post:

    GregBrannon (August 23rd, 2013)

Similar Threads

  1. How i can make chat desktop application in java??
    By dipupatel76 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 10th, 2013, 01:04 PM
  2. NetBeans Desktop Application in Java
    By knightmetal in forum Java IDEs
    Replies: 5
    Last Post: November 9th, 2011, 06:47 AM
  3. HOW TO MAKE a TIC TAC TOE GAME in Net beans as a desktop application ?
    By jude_pinas in forum Object Oriented Programming
    Replies: 2
    Last Post: September 26th, 2011, 12:51 AM
  4. Updatable Java Desktop Application
    By Onur in forum Java Theory & Questions
    Replies: 3
    Last Post: September 18th, 2011, 03:15 PM
  5. Replies: 0
    Last Post: December 3rd, 2009, 04:43 PM

Tags for this Thread