Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting Android app to Java Desktop app

Tags:

java

android

I developed an application in Android. Now i want develop same application for Desktop using Java. Is there any tools or procedure to convert existing Android app code to Java Desktop app. Thanks in advance.

like image 749
VenkaReddy Avatar asked Nov 24 '11 09:11

VenkaReddy


1 Answers

Android application will definitely not work on desktop computers out of the box, unless using an emulator. However, as specified by Android documentation:

Android platform using the Java programming language

Android uses Java. That means any java code that is well encapsulated in a domain layer independent from the android UI can be reused as part of a java desktop application. If the application is well designed and GUI well separated from domain and other layers, this will boil down to only converting android UI elements (eventually along with a presentation layer) into java desktop components (SWING...)

enter image description here

like image 155
GETah Avatar answered Oct 25 '22 01:10

GETah