Reputation: 31
I dont really know a lot about about android development and i was wondering if it's possible to use java.swing and/or javafx for it.
Upvotes: 3
Views: 916
Reputation: 159616
You can use JavaFXPorts to develop JavaFX applications (not Swing applications) that are deployable on Android. Refer to the JavaFXPorts documentation for more information.
You will need to make your own assessment of whether using JavaFXPorts is an appropriate approach for your application or if you are better off coding purely to the native Android SDK provided by Google or using another 3rd party development SDK such as Unity. I will make no such recommendation here.
Upvotes: 3
Reputation: 2352
No you can't use Swing or JavaFX because Android has another type of architecture to render the views. Visit this official website to learn more about views in Android
http://developer.android.com/intl/es/guide/topics/ui/overview.html
Hope it's helps.
Upvotes: 0
Reputation: 1468
No it's not possible. Androids java (Go) does not include the java.swing
and the javafx
packages.
Android does include it's own gui packages more specialised for it, so I don't see why you would even want swing or javafx.
Upvotes: 0