| Author |
Swing or SWT with Android
|
Mike Purdy
Greenhorn
Joined: Mar 11, 2009
Posts: 2
|
|
Ed, or anyone who may know
Does the Android SDK allow developers to leverage Swing or SWT for the GUI of apps? I'm assuming "no" for SWT since I do not believe there is an SWT port for Android, but Swing would still be interesting for a GUI.
MP
|
 |
Jake Reynolds
Greenhorn
Joined: Mar 10, 2009
Posts: 12
|
|
|
It's neither, really. I haven't built anything on Android other than a lot of example code, but the UI is all custom, and centered around an API that makes it easy to write for the limited and varying screen space mobile devices provide. I found the XML GUI build system much easier to understand and work with than swing.
|
--Jake
|
 |
Fred Grott
Ranch Hand
Joined: Oct 05, 2002
Posts: 346
|
|
|
There is a move by Eclipse to do a eRCP on Android which I assume also means SWt but that project is only proposed at this time..no code yet
|
MobileBytes blog - Sharing Technology - My Programming Knols
|
 |
Ed Burnette
Author
Ranch Hand
Joined: Jun 10, 2003
Posts: 142
|
|
Does the Android SDK allow developers to leverage Swing or SWT for the GUI of apps?
No, but Sun has demoed JavaFX running on Android. There's no telling when/if that will be available for real.
See also this thread:
http://www.coderanch.com/t/435412/Android/Mobile/Porting-Android-apps-across-other
|
Ed Burnette, Author of Hello Android
Blog: ZDNet's Dev Connection - Twitter: @eburnette
|
 |
Mike Purdy
Greenhorn
Joined: Mar 11, 2009
Posts: 2
|
|
Thank you all for your responses. So, I can begin experimenting with the SDK since it provides its own GUI framework. And an added bonus of other GUI toolkits possible in the future certainly makes things interesting. It would just really be nice to leverage an existing codebase from the Java world for Android development.
Mike
|
 |
Alex Kalinovsky
Greenhorn
Joined: Apr 08, 2004
Posts: 2
|
|
|
If you have used Swing and you want to leverage existing codebase for Android UI development, you should check out AjaxSwing. HTML5 is quickly becoming the standard for building most of mobile apps and with AjaxSwing you can turn your existing desktop application into a iPad/iPhone/Android app. See http://www.creamtec.com/products/ajaxswing/solutions/java_swing_ui_on_ipad.html
|
 |
 |
|
|
subject: Swing or SWT with Android
|
|
|