As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Is there a good tutorial on the net somewhere that delineates the steps needed to get started programming an Android application from square one on windows 7? I am looking to basically hit a Web Service and display it on a phone as a view of sorts (Kind of using the MVC design pattern). I have downloaded eclipse and I have downloaded the Android SDK. But I think I am missing some things. In addition, do you think it is easier to develop Android apps on Linux or Windows? I developed in java during college, and I just thought it was easier doing it on Java then on windows. Let me know what you think.
I can't post a comment so I will have to write a answer to your question, although I doubt this is a typical answer as well as a typical question for StackOverflow.
I've read a lot on Android before starting programming for it, I can hint you on what resources I found the best to make your way into Android development.
Concerning books I found these to be the best when starting:
Android Recipes: A Problem-Solution Approach
Beginning Android 2
More recently to deal with more advanced topics I've found The Busy Coder's Guide to Android Development to be a really helpful resource.
You also have some really helpful resources online, specially the android development website. Start from the DevGuide and it will give you a clear big picture on the subject. The other section of the android dev website that you can take advantage of is the tutorial section. I would recommend you to the these, specially the first ones as they are very basic.
I'm assuming that you have a basic understanding of Java by not referencing you any Java learning resources.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am developing an app and I wanted to have a TabView for it. Although I've been looking around and around and I can't find any help for it in Java code. All of the help is in XML. My university only taught us the Java portion. Does anybody have a good guide or some good help that I can use to make TabView in java code?
I am developing an app and I wanted to have a TabView for it.
There is no TabView in Android.
Although I've been looking around and around and I can't find any help for it in Java code.
Here are the JavaDocs for TabHost and the JavaDocs for TabWidget.
All of the help is in XML.
There is no XML shown on either of the JavaDocs pages.
Most programmers would use layout XML resources for their GUI development, for ease of development and maintenance, particularly for supporting different screen sizes and orientations. You can certainly create these objects via their constructors, then use addView() to stitch them together. However, since very few developers would use this technique, it is unlikely that you will find much sample code for doing it this way.
My university only taught us the Java portion.
Anyone teaching Android application development without teaching layout XML resources needs to be fired for incompetence. When I teach Android application development, layout XML resources show up in the second or third hour of lecture, and it used to be earlier than that.
Does anybody have a good guide or some good help that I can use to make TabView in java code?
You would be better served taking the time to learn layout XML resources on your own. There are many, many resources for doing this, and it will help you better understand all the rest of the sample code that resides on the Android developer site and elsewhere.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am learning java(J2EE) programming language these days. I wants to create a web-site having features where user can login, logout, post there comment and other features with time using java technology just as a hobby project.
But I don't have any idea from where to begin. It would be very helpful if some one just give some starting guidelines and tools needed.
Thanks
If this is just for fun with no deadline, then I encourage you to go as low-level as you can by making servlets and jsp pages, and getting them to work with tomcat. Once you can get some hello world pages working, then start learning about other complementary technologies like Struts, and Hibernate, and the problems that they solve and the complexity that they introduce. Try to master one technology at a time (e.g. servlets) before going on to the next one. This way you can understand how technologies relate to each other and can avoid trying to climb multiple learning curves simultaneously.
You can have a look at this tutorial. It pretty much explains everything that you need to know to build a website. Hope it might be of your help.
You could start by learning to use the reference web framework which is JavaServerFaces.
Take a look here.
Hope it helps.
Why not try GWT ?
It's a top-level web toolkit (based on RPC), full-Java, easy to learn, intuitive, and well-documented.
Try this tutorial http://netbeans.org/kb/docs/javaee/ecommerce/intro.html
When I was learning J2EE this tutorial was very helpful
This is good video tutorial http://www.vtc.com/products/J2EE-Java-2-Enterprise-Edition-tutorials.htm
Look at this Learning Trail for Java Web Development?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am a new to IntelliJ Idea from Jetbrains and the installer asks me various questions at first launch. Though i managed Subversion/Version control system settings in first window other seem alien to me. Can i have a experienced hand at completing other steps. I am used to visual studio and .net and C#. But Java for first time, hence such a subjective question, mostly i want to develop Google data, android , java webapps[so database comes along], console application[does java have one??] couple of screenshots from installation
Screen2
Screen 3
Screen 4
I did manage find out what other's were but these bother me. I haven't completed the steps yet waiting for answers to complete and finish the installation
You always have the option to add anything you wish later on (look for the "wrench" button on the menu bar).
I don't use all the Java EE app server options, because I know I'm not likely to use WebSphere and some of the others.
I use Git and Subversion for source code management, so those are enough for me.
Given what you want to do with the IDE, I'd recommend getting at least the following:
GWT, GAE, Hibernate, SQL, and whatever App servers you plan on using for deployment. Also, you can always add those plugins later if and when needed. I've noticed that overloading the IDE with lots of plugins slows IDEA down quite a bit so be selective.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm working on a practical work for college, and I have to develop a web-app that could be used by all the teachers from my province.
The application should let the users (teachers) manage some information related to their daily duties. One of the requirements is that I must use
Google App Engine platform for developing and hosting the web application.
I have 2 months to finish the work.
I have some intermediate knowledge of C++, so what language (Python or Java ) and web framework do you think would the best to
develop the application in less time?
I know this is not a strictly programming questions, but please don't delete this post at least until I get a
few answer in order to have an idea of how to proceed.
Many thanks in advance!
I would recommend using Python + Django framework. I love Java, but for the Google App Engine there is much more documentation online for Python.
I would recommend taking a look at Java + slim3. I have my own MVC framework for AppEngine (PhD thesis work), and I really wish I had started after slim3 came out. I'd be using it myself. I can't really speak vs using Python on AppEngine, but I don't think I'd recommend any other Java framework vs slim3. I've tried a few. As an example, I use Struts2 at work. I would not recommend Struts2 given your timeframe -- the learning curve would make your deadline ambitious. Part of this is just due to the fact that Struts2 isn't quite a full stack (saving data in AppEngine is a big deal when you are first learning), which makes only some documentation useful for your particular project. Slim3 sidesteps this by being explicitly targeted to AppEngine.
Go with python and default webapp framework . As you are new to both java and python. Appengine on python has been there for sometime, you will find lots of solution on python as it was introduced earlier. Learning curve is very small in python when compared to java according to me. Also go for eclipse with pydev plugin as your IDE. This will make your deployment and development much easier . Google 's own documentation is the best place to start.
All you need to do is spend some time reading the whole documentation patiently . Even i started with appengine very recently.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm, trying to make a simple 3D game for Android, and I want to use jmonkeyengine. Can I do this? How can I do it? Can somebody can show me an example?
I'm a manager with the jMonkeyEngine project.
I apologize for the late response, but StackOverflow posts got such an excellent search ranking that people are still coming to our site via pages like this one, so I figured I'd best bring this topic up to speed.
In short, yes you can use jMonkeyEngine 3 on Android. Not the older 1.0 and 2.0 versions. However since jME3 is shader based it requires OpenGL 2 and above, meaning we can't support Android versions prior to 2.2 Froyo.
The Android forum is the best place to keep up to date on the latest development. We have a test application available on the market, for free of course. Testing is greatly appreciated! (Do note, while the tests have been reported to work fine for Motorolla and Samsung devices, as of writing they do not work yet for HTC phones. Expect a fix shortly).
On a last note, for anyone who thinks the jMonkeyEngine project has stagnated, I welcome you to visit our website and try the latest version of our SDK. Safe to say, the project is healthier than every before.
jME 3 can be used on Android, and the Android support is a relatively new feature as of 2011, but a previous version of jME cannot be used. Mostly this was due to architectural issues with an inflexible pipeline under the hood that wouldn't easily be able to support the mobile GL API.
Edited post because information was no longer accurate and was receving downvotes (cannot delete as it is the accepted answer).