Android UI Tools - java

Please give me an idea about android User interface design.Is there any tool to design the User Interface? Or Is we need to create XML file manually ? I am really newbie in android application?
Thanks

I recommend you to install the Android sdk, eclipse and ADT(Android development tools) plugin to eclipse and see for yourself. All the information about how to do this is on here.
If you are a beginner I can also recommend you what I think to be the best android development tutorial on the web, the free best one at least, from Marakana.
I think this will tell you all you need to start...
EDIT: I had no time to give a greater answer, so I'm completing it now.
Google has made a big effort to provide a WYSIWYG interface to avoid xml but you will still need to code some stuff. Another great help to avoid xml is the Properties view on eclipse accessible by Window > Show View > Properties or if its not there look for it in the Window > Show View > Other... popup menu. The Outline view accessible through the same menus will help you select between the elements you have on your layout.
All these things combined with the eclipse auto-completion feature and some shortcuts(ctrl + space is your friend) while coding in xml will give you a lot of information about the properties available.
If you are really in the mood to start developing to the android platform the Marakana Android Bootcamp I linked above is going to teach you all the basic stuff and mainly the background you need to look for what you don't know.

Droid Draw: http://www.droiddraw.org/ is one option.
The ADK currently comes with a plugin for Eclipse that lets you do this.
Google has plans to enhance this feature: http://www.youtube.com/watch?v=Oq05KqjXTvs&feature=channel_video_title

On July 6th, version 12 of the ADT (Android Developer Tools) was released and Google has made some big changes to creating RelativeLayout with a WYSIWYG editor. You can check it out around the 26 minute mark of the video posted below.
http://www.youtube.com/watch?v=Oq05KqjXTvs

Related

Stuck on making Android apps with NetBeans, missing functions I normally love

I've followed the tutorial link below, so to create an android project within Netbeans but I can't find the design view even when I click on the XML files. Am I missing something?
https://blogs.oracle.com/geertjan/entry/dummy_guide_to_netbeans_android
Any tutorials explaining this would be great :-)
The reason I would rather use Netbeans over Eclipse, is that netbeans allows the use of a pallet to drag "buttons" or "listbox-es" over to the design view. And on click open up the buttons functions i.e. "on click" or "on item state change"
Netbeans does not have an android layout preview function like in Eclipse. You will have to install a plug-in located here:
http://www.nbandroid.org
Any version published after October 2012 will enable you to have the feature you are looking for.

Developing a GUI as an Eclipse Plugin

I know there is a very similar topic to this here but I have looked at the answers posted for it and I feel my problem is slightly different and doesn't need the same approach.
I'm developing an Eclipse plugin which is in essence a GUI that provides the user with different menus, buttons, editing areas etc. It's designed to be an all in one tool to help with coding, re-using code and re-structuring it.
I need a few pointers towards the resources available that can help me build this GUI and have it available as a plugin so I can get the ball rolling. I've looked at the suggestions in the link above but I don't feel like my plugin needs for example a model, view, controller design pattern. I just need the ability to have a GUI pop up when the user starts the plugin and have them interact with it.
Any suggestions or ideas are very much appreciated.
Your GUI has to be an multi-page editor. One (or more) page(s) for the GUI, and one page for the code.
Use the "Plug-in with a multi-page editor" template to get started.
This answer should help you fill out your template code.
When you have a specific question, feel free to ask again.
Take a look at the Tutorials at vogella.de especially the Eclipse plugin section. Those tutorials are usually very good. I learned Eclipse RCP with it.

Droid programming with Eclipse in Java

I have a Neatbeans application, that works well and runs well so I want to move it into Android. So I am taking code snippets and moving it into Eclipse, and into a default made droid class. (which compiles, loads, and displays on the virtual device)
The problem, is that a few things that used to "import" into Netbeans, won't in Eclipse, or I am just doing it wrong, not sure.
Usually in Neatbeans I hit "import such and such class" and then it all compiles fine and no red errors appear in the code. In Eclipse, it is not giving any import option to some features, examples are..
DefaultModelList
HTMLUnitDriver/WebDriver (Selenium's program)
JOptionPane
And I am guessing some more will eventually pop up in the future.
Does Eclipse not support those options or something? Or is it Android that does not support those options?
Can someone tell me how to work around those issues, with their respective problems please?
The program itself is a mobile chat application, that will basically be a mobile version, of a chat that already exists on the web. Pulls chat feed data, lets you post chats back; basically the same thing as the chat on the website, but accessible from your smartphone.
Your problem is not with NetBeans vs. Eclipse. It sounds like your app uses the Java UI Framework Swing, from which you have JOptionPane. Swing is not available under Android, and anything that uses Swing will have to be extensively recoded to use the native Android UI instead.
Your app may use other libraries that aren't available in Android, as well.
Eclipse does support those options (press ctrl-shift-o). The problem is most likely the transition to Android -- lots of items change names. The Android native item to use is not JSpinner but Spinner, etc.
Also: In Android most GUI work is done with layout .xml files, a bit different than plain Java programming.
TLDR: you're conflating multiple issues. Eclipse can even import a Netbeans Project directly.
Is Eclipse a strong requirement for you? If you love NetBeans and everything is working, why not to continue with it? I believe you can develop for Android in NetBeans too...
http://binarywasteland.com/2011/07/install-netbeans-android-sdk/

Official tutorial codes appearing red wave line in Eclipse not allowing me to compile

I am a beginner in Android programming. I was going through the official tutorial on Android developer site. When I copied the codes for the Grid View tutorial to Eclipse, many red wave underlines appeared which are not allowing me to compile. Every time I click the run button, it says "Your project contains error(s), please fix them before running your application."
I am using a WIN7 and followed every single step that is necessary for setting up the envrionment. I had no problem at with previous tutorials such as Hello Android, Linear Layout, Relative Layout, and Table View.
Does anyone have the same experience and have a solution for this? I have tried to clean and re-build the project, which doesn't help.
It would probably be helpful to provide a link to the gridview tutorial you speak of. I'll assume you meant this one: http://developer.android.com/resources/tutorials/views/hello-gridview.html
First things first: Did you download the sample art? Did you put it in res/drawable?
What errors were you getting?
Are you certain you are working in an Android project and not a standard Java project?

Implementing a simple UI editor in Java

I'm thinking about writing a simple UI designer in Java. I'm just playing with ideas at the moment to see if it is feasible.
It would be good to have something like this as all of our UIs are generated from XML. Just wondering if anyone has tried anything like this before. I know there will be a lot of effort in doing something like this.
Does anyone know of any 3rd party products that already do something like this?
If not then at a simple level, it will have drag and drop support for any component that can be positioned on a panel. Then extra bits will be added. Are there any good samples on the net for this?
Cheers
Dated back to 2005, this has an overview of Java UI Builders:
http://www.fullspan.com/articles/java-gui-builders.html
Here is a page on how to use the Eclipse Visual Editor:
http://www.ibm.com/developerworks/opensource/library/os-ecvisual/
Here is a good page on the different approaches to build UIs in Java:
http://leepoint.net/notes-java/GUI/misc/80gui-generator.html
Which GUI technology are you using? Swing? NetBeans has a very good drag-and-drop Swing GUI editor. For Eclipse there are several plugins.
If you want to see other projects in which a Swing GUI is generated from XML config files, there are different libraries that do this.
Eclipse 4.0 Developer Preview was just released with an xml based toolkit called XWT. It can be styled with CSS and has a GUI builder. This is a developer preview and there will be some changes over the next year as it progresses to release 4.1, but it is useable right now and the community support is really good.

Categories

Resources