Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm a newbie in the world of linux development.
I have used linux os in the past (ubuntu, sabayon and gentoo for a little time).
Actually I'm mainly a .net c# developer and I have done some Android app.
My company, for a new project, ask me to develop a Linux application in java with a attractive gui.
I' ve searched around on the net and I have found only old topics about this.
I have read about swing but.. swing has born in 1996 and probably is a little old tecnology.
I have read about vaadin but is for web app and it cannot permit to use SO utility, read folders ecc.
Someone can suggest me what can I use?
And what editor I use for the design of a good gui?
Thank you all for any answers and excuse me for my bad english.
If you want content rich (UI wise) applications, you should take a look at JavaFX since it should offer better functionality than the older Swing counter part.
As far as IDE's, I have used Netbeans on all the Linux distributions I have owned (including Sabayon) and it should provide you with a GUI interface builder (much like the designer in Visual Studio). You can take a look at this Netbeans page for more directions on how to use Netbeans to build a UI application.
You can use QT Jambi if you find it appropriate
https://qt-project.org/wiki/Qt_Jambi
http://www.javaworld.com/article/2077750/core-java/java-desktop-development-with-qt-jambi.html
If you are looking for great performance with a Java GUI you can try jmonkeyengine http://jmonkeyengine.org/ (play store on android is made with this engine) or libgdx (http://libgdx.badlogicgames.com/)
They are mainly used for games, but GUI with many animations and interactions should look pretty fine with them. Also, they can be used for desktop AND android.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Is there some native android framework that uses only java? Example: create buttons, text fields, containers, ext.
And my biggest problem is with the design. I would like to know if is there any framework that facilitates apply styles to buttons, fields, layers, etc? Like twitter bootstrap, but only in java. I do not want html and css frameworks .. I used the phonegap and is very slow compared to native app.
I should use Framework or create my own code?
I highly recommend using the native Android framework using Java to write your code and XML to write your layouts.
The first reason you will want to do this is speed (like you said yourself, native apps typically run much smoother than apps created using PhoneGap and other third-party frameworks).
The second reason is that there is a ton of documentation and tips online teaching you how to write Android apps... there won't be nearly as much documentation available to you if you decide to auto-generate your application using some sort of third-party framework.
To help generate layouts, there is a GUI-builder that you can use in both Android Studio and Eclipse.
The Android SDK available from developer.android.com is the preferred framework. It is based on Java. Apps are written in Java, using the Android API. You must use the Android widgets, not the Java Swing widgets. You can apply styles to Android widgets.
When you go into a new development environment/platform, regardless of what it is, you can only take your existing knowledge so far. Designing web apps and web GUIs is not exactly the same as designing Android apps and GUIs. Designing an Android app is not even the same as designing an iOS app, although many developers make that mistake.
You may be able to craft a simple, functional app using a development tool such as twitter bootstrap (in the past, these were known as "fourth-generation languages" to differentiate them from regular programming languages such as PL/1, Pascal, etc.). At some point, however, you won't be able to get exactly what you're looking for, and then you'll have to learn how to use the SDK as delivered.
In short, none of the shortcuts get you there exactly.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm developing a java-database desktop application using netbeans and swing. The application has so many features that creating gui has become a problem and it has a very old look when compared to other modern applications. I found javafx, swingx, jgoodies, netbeans platform and so on...and the discussion on these topics is never ending!! I need good support for customising tables,trees, toolbars and skins. what should i use??
i would suggest you to go for javaFX. I had earlier worked on swing but now moved to javaFX.Benefits are
Good look and feel
can be used server side also.
Use the simplest method possible. Seriously, whatever you find easier go with. I find Eclipse Windows Builder is better than Netbeans but if installing the Eclipse plugin. Netbeans is probably a lot simpler than Eclipse Window Builder, but some people like me prefer Window Builder. Go with whatever you find easiest.
GUI building is complex in Java, they designed it well so it is hard as a novice to jump in, and it is better to start running then learn as you need more complex features. Google then becomes a good ally.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to build an app in android. I have a sound knowledge of C/C++, but I don't know Java as of yet..!
Do I need to learn java to develop an app in android ?? What does I need to do to develop an app ?
I explored this link http://developer.android.com/training/index.html, but I didn't understand what actually do I need to do to develop an app.
Please help..!
Before starting Android development, you should know these:
1. Basic OOP Concepts.
2. Basic Java.
3. Basic XML.
If you already know these things, then just download JDK (According to your OS) and a suitable IDE (like Eclipse, Android Studio, etc)
And explore the Android Development Portal.
P.S: If you are finding Android Developer's Portal difficult to understand then, you can jump to some nice tutorials and start developing. Here is the list of some nice Android Tuts:
Vogella's Blog
Tutorials Point
Core Servelets
XDA Forum
YES... You'll need to have basic knowledge of XML and Java. And once you are clear with Object Oriented programming with Java, you can start Android Application Development.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I know that Android uses Java but not a fully compatible runtime library. Creating UIs in Android is done completely different than for normal Desktop Java. Nevertheless that's a really stupid thing in my opinion, very much Java applications out there have to be rewritten for Android (instead of modified only slightly).
So my question: is there some kind of (3rd party) Swing-library available for Android? Means a Java-package that contains Swing-compatible classes so that an existing Swing-Application has to be modified only slightly? It of course can't be 100% compatible but modifying some things that do not exist on Android is much less work than rewriting the whole GUI-part...
There is no way you can use swing in android, because android is not based on JavaSE, while swing is. android uses a special java that is designed to run on DVM .
Even if their is no compatibility issue. Swing is used for desktop apps which differ in their UI completely from mobile apps.
So given the above points unfortunately you will have to rewrite the UI again for your software. but on the bright side, android's UI is very simple and fun to work with.
give it sometime and good luck!
Edit:
Comparison between Java SE and Android's Java
CodeNameOne?
Supposed to be very similar to Swing.
Also, in my experience, GWT is somewhat similar to Swing.
Either of these will require a rewrite from Swing though.
There is no Swing on Android. You can always develop a JME application and run it via emulation, but that's as close as it gets. Unfortunately, in technology, things change all the time, so for programmers, it's a case of "adapt or die."
Unfortunately, as far as I know, Java Swing Desktop Apps can't run on Android (Dalvik VM), but the good news is: JavaFX as a successor to Swing GUI technology has already been ported to mobile and embedded platform (e.g. Android). If you're interested in this, go http://gluonhq.com/products/mobile/javafxports/ for details.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Are there really any tools out there or sdk's that truly support cross-platform java mobile development, and are worth their weight in code?
I would like to rewrite our mobile application with an sdk that would allow usage on IOS (Ipad and Iphone), Android, and Windows Mobile 5 and 6.
If I am asking for the moon, please let me know.
I am traditionally a c# developer, and just moving into learning Java.
I see many different posts about cross-platform development but I wonder where we are as an industry today on this.
You could take a look to the mgwt or the codenameone framework.
For a server-based app built in pure Java but deployed via pure HTML+CSS+JavaScript: Vaadin. But that means your app requires an Internet connection to run.
Tip: Some folks build a bare-bones minimal native app that simply points a web-browser view directly to your site's URL. This allows you to sell/give your "app" in the App Store while actually building a web app that runs cross-platform.
There is no Java present on iOS. So there is no Java-based development kit to build local native apps across iOS, Android, and Windows Mobile.
Google did announce the J2ObjC project to translate Java code to Objective-C for the iOS. But that does not solve all your problems.
Eclipse Tabris is another option but it isn't free (It isn't costly either).