Trying to become a developer - EVO 4G General

Sorry if this has been posted but I couldn't find one and if posted in wrong section
Im trying to become a developer but I am stuck at hello android and don't know what to do from there if anyone can show me a way to develop apps easily please help out and this is my first post too =]
Sent from my overclocked Cyanogenmod htc evolution 4g sucka

cesarcerros31 said:
Sorry if this has been posted but I couldn't find one and if posted in wrong section
Im trying to become a developer but I am stuck at hello android and don't know what to do from there if anyone can show me a way to develop apps easily please help out and this is my first post too =]
Sent from my overclocked Cyanogenmod htc evolution 4g sucka
Click to expand...
Click to collapse
You're stuck getting Hello Android to work or whate to do after hello android? Do you know any development languages such as Java or C#? (you'll be writing android apps in java, but C# is really MS version of java with a few syntax differences) If not, are you familiar with object orientation? If not, it's gonna be tough dude but if you're smart and pick stuff up quickly you can learn by reading.

Pick up some books and look at youtube videos.
Sent while sitting on the toilet.

Alright thanks its just that helloandroid project wouldn't start right but I will look up massively on how to start a different way or just try to find the solution and youtube always helps and anyone knows how to make roms looking to make aosp
Sent from my overclocked Cyanogenmod htc evolution 4g sucka

There's a few free Eclipse and Java books out there that a beginner will understand especially if you already understand the concepts of object-oriented programming. Eclipse IDE itself will need a book as it's full of plugins and tools you need to understand to compile your project effectively.

It's going to be a very very long and slow road.
This may help, a series of YouTube videos for beginners.
http://eclipsetutorial.sourceforge.net/totalbeginner.html
I've been thinking the same thing, learning to develop for Android. Since I have near zero experience programming (save for a VB class in college) I decided I would be better off hiring someone to write what I want.
Just keep in mind though, Hello World is just where people start.
You may want to check out the android Appinventor. It's made by Google, and is in beta testing now, but it's a graphical way of programming for android. Though there isn't any code involved and won't be good/used outside of Android, it does a good job imparting the logic of programming.

I'll give you some tips that I've learned over the years as a developer.
First if you haven't done any development before I highly advise obtaining a book. True there are tons of web tutorials out there but personally I find a good author can do wonders in learning how to develop software. Anytime I want to learn a new platform I pick up a book on that platform. Of course you can find a ton of books used but another great source is a library. If you're in college with a computer science program chances are your library will have a couple of books on Android development. Your public library probably has some books on the subject as well. If all else fails see if you have a friend who will loan you a book.
Reading about development is only part one, part two is hands on. You can read an entire book on developing software and walk away with no knowledge. You can mindlessly follow the examples in the book but I find it best to use the examples in books as a guideline. In other words take the idea in the book and morph it so you're working on something original. Trust me here, you'll learn a lot more doing this instead of just mindlessly following the examples.
Next thing you'll need is a problem. Why? Because you need something to write. I find myself most motivated to write software when I either have a problem or something else has one and a checkbook. What do you want your phone to do? Are there applications out there that solve your problem but you think you can do better? Think small and easy since you're still new. Realistically you're not going to be able to make a web browser from scratch as your first project but you can certainly make a database of movies you own.
One thing that is debatable is whether you should learn to write something quickly or well. Frankly I'm in the school or writing something quickly and ignoring "correctness" when you're new. People new to programming spend too much time worrying about doing things "correctly" (very important when you're developing actual software) instead of learning how to do things in the first place.
Your code may not be readable, may not be optimized, and may crash every time an invalid input is entered into a field but you'll learn from those things. I think most people who end up hating programming do so because they spent too much time on worry about the little things and thus seeing no results for their work. Once you have the basics down you can concentrate of the details of optimizing code, validating inputs, and making your code readable.
Honestly not matter what you write you'll look back at it in embarrassment ten years from now anyways.

Ok thanks will look for a book
Sent from my overclocked Cyanogenmod htc evolution 4g sucka

cesarcerros31 said:
Ok thanks will look for a book
Sent from my overclocked Cyanogenmod htc evolution 4g sucka
Click to expand...
Click to collapse
Buy a Java book that also covers Object Orientation basics and principals. (you'll also need to understand some XML to do android programming) If you want to make kernels/ROMS, definitely look into Linux and shell scripting. (you can find most of this info online though)

By the way, I heard the "Java in 24 hours" book is pretty good.

Sirchuk said:
By the way, I heard the "Java in 24 hours" book is pretty good.
Click to expand...
Click to collapse
it might be good, but it wont teach him how to actually code. Most of those books are made for people that know other languages like javascript/php/c/etc.. and are wanting to move to java and learn the new syntax.

I have no idea as to what you know. So ftw.
Write what ever you decide in a pseudo code, first.
Two things will fall out of that, a design, and java methods of implementing the pseudo language ( as you decide what java syntax does your psuedo code) which invariably returns you to (1) the design. I think it's called iterational refinement, or some such other bs.
So don't get bogged down, now that you know hello, make it start "right"...
You all do realize that eclipse was a machine.. a sunny>dg joke.

Related

So I want to learn to develop for Android...

This is me: college kid, no developing experience whatsoever (unless you could a basic HTML course in like 9th grade... lol), relatively intelligent, interested in technology.
What do I need to learn?
I found a "java 101" article to read here: Learn Java from the ground up - JavaWorld
Is android just Java or is there any other kind of language..? I've heard something about C++? or is that part of Java?
As you can tell, I'm a noob lol.
Then I read that I need Eclipse (what does that do again?), which one should I get (I'm on a Mac): Eclipse IDE for Java EE Developers, Eclipse IDE for Java Developers, or Eclipse Classic 3.6?
Is this a bad idea considering I know nothing? Like am in way over my head?
Any other ideas or links anyone can share?
I made this same post on a different forum, and someone told me that XDA was a great place to learn programming and such.
Any help is appreciated. Thanks!
Oh and can I program without a problem from OS X or should I use bootcamp and do it all under Windows 7?
This is me: high school kid who is a noob Java programmer.
1. Learn Java. That's what Android apps are written in (I think).
2. C++ is a different language. Don't think it's of use here.
3. Eclipse for Java Dev.
4. Embrace your Mac.
I'm in much the same boat you are. I went and grabbed a book called, "Android Application Development" from my local book store tonight (oreilly.com). I am not endorsing the book yet as I'm only a few pages in and it was the only Android book at the store. There was not a single book on Java. I'll be turning to the many many web sites available for that until I get a solid recommendation for a book from someone.
The only thing I've ever done that's even remotely close is built SQL databases, reports and queries which I now manage as a cardiac researcher. I have no classes or anything else useful other than I know my way around PCs enough to build them and install my own OS's.
The advice in the book for the dev environment is:
1. JDK 5 or 6 and the book says that OSX comes with 5.
2. Eclipse IDE for Java Developers for your OS. Get the latest version (which defaulted as such for me for Vista 64).
3. The Android SDK.
After the above, there are some steps to take a look at on the Android SDK site. Follow those and read it all. I'm pretty sure I'm just a person of average intelligence and I think I have a handle on getting to where I can start working and the Hello World bit seems to make sense right now. We'll see how things go as I learn more of the Java syntax.
Good luck!
I would love any advice on sites/books for a non-programmer to start to get a grip on Java and creating an Android app in general. I have some plans for some specific medical uses for my job and I have always been interested in writing programs. Seems like a great time to start.
For Java, a good place to start (other than the Sun site itself) is JavaRanch. I'm too new to post links, but the URL is easy to figure out, and a quick search would turn it up as well. The site has lots of information, links to book reviews for Java, forums and so on. It was a good resource when I was studying Java in college!
Good luck!
nebulosity said:
For Java, a good place to start (other than the Sun site itself) is JavaRanch. I'm too new to post links, but the URL is easy to figure out, and a quick search would turn it up as well. The site has lots of information, links to book reviews for Java, forums and so on. It was a good resource when I was studying Java in college!
Good luck!
Click to expand...
Click to collapse
Thanks much! I found an Intro to Programming with Java class at the local community college here but it doesn't start until Sept. =/ That site looks good though, hopefully I can find a book that seems to fit.
(edit: the following assumes you've more or less mastered Java already; I really don't know what to recommend for someone who's trying to learn Java AND Android programming simultaneously. I suspect part of the reason for the lack of books for THAT niche is due to the fact that it's more or less impossible to take any programming class in college that doesn't either involve Java or have it as a non-negotiable prerequisite, even if Java per se isn't directly relevant. It's just part of the baseline cultural background noise).
If you buy nothing else, buy "Beginning Android 2" by Mark Murphy. If you're not totally broke, buy "Pro Android 2" by Sayed Hashimi while you're at it. Don't try to skip the first and go straight to the second... there's a lot of medium-level stuff that's covered thoroughly in "Beginning" that's barely touched upon in "Pro".
Those two books aren't great if you like to jump around and learn things in random order as need arises, but they're probably the gold standard right now for books that comprehensively teach Android Programming in a sensible order from start to finish.
"Professional Android 2 Application Development" by Reto Meier is a great complement to those books, because it IS more of a "jump around and grab important details as the need to learn them arises" book. I refer to all three on a regular basis.
"Hello, Android" is one of those books that you'll probably never look at again two weeks after you first start reading it... but if cash isn't really a problem, it's a nice tutorial for brand new Android developers.
Content-wise, the pdf commonsware.com books by Mark Murphy (yeah, the same Mark Murphy who wrote the Apress book) are probably the best of all, because they literally ARE updated regularly as typos & bugs get found (every book has 'em, few books ever usefully fix 'em) and new versions of Android get released. The problem is, unless you have an ebook reader, let's be honest... ebooks kind of suck. Sometimes, a real book is nice to have. So, I'd say Murphy's books kind of break new ground between online articles and real books... they go into a lot more depth, more coherently, than any one online source of info about Android programming... but unfortunately, because they're ebooks, they're about as pleasant to casually read as those same online articles.
18 months from now, when Android tablets with 1280x720(*) displays or better are common and relatively cheap, eBooks are going to be the norm for Android books going forward, because THEN they'll let you have the best of all worlds -- the coherent editing and comprehensive content of "real" books, the up-to-date accuracy of the best online sources of info, and a reading experience that doesn't kind of suck. Five years from now (when the eBook experience has finally become civilized), I'll be shocked if programming books even exist anymore in printed form, aside from maybe books like "${Language}: How to Program" that deal with topics that don't really change radically from month to month and are more or less universal as college textbooks. Programming and system administration are the kind of topics that are really too volatile for paper books, and for they most part they've ALWAYS been... there just hasn't really been a civilized alternative to them. IMHO, Android tablets will be what finally make it a civilized experience, because for the first time normal people (meaning developers who don't work for huge corporate entities like Amazon and Sony) will be able to develop ebook apps with their own UI experiments. Right now, all we have are devices optimized for reading mass-market top-20 fiction... devices that largely suck for the specific task of reading (and referring to) programming books (where you generally flip around a lot, and 700ms latency every time you change a page will drive you insane in 3 minutes).
So, in summary, here's my recommended buying order:
If cash is abundant and you want a nice intro: Hello, Android (latest edition)
Absolutely mandatory: Beginning Android 2
Equally mandatory, but maybe a few weeks later: Pro Android 2
then, it's a toss-up between a commonsware "Warescription" for Murphy's other books (which gives you access to the latest and greatest versions of them for a year, plus perpetual ownership the last copies you downloaded before the year ran out) and Meier's book (if you really hate ebooks). Personally, I'd recommend the Warescription AND Meier's book
(*)1280x720 is the rock-bottom minimum resolution viable for comfortably reading an O'Reilly-Manning-sized book in pdf form two pages at a time. 800x480 is just a hair below the resolution you really need to comfortably read ONE O'Reilly-Manning sized page at a time.
bitbang3r said:
<snip>
18 months from now, when Android tablets with 1280x720(*) displays or better are common and relatively cheap, <snip>
So, in summary, here's my recommended buying order:
If cash is abundant and you want a nice intro: Hello, Android (latest edition)
Absolutely mandatory: Beginning Android 2
Equally mandatory, but maybe a few weeks later: Pro Android 2
then, it's a toss-up between a commonsware "Warescription" for Murphy's other books (which gives you access to the latest and greatest versions of them for a year, plus perpetual ownership the last copies you downloaded before the year ran out) and Meier's book (if you really hate ebooks). Personally, I'd recommend the Warescription AND Meier's book
(*)1280x720 is the rock-bottom minimum resolution viable for comfortably reading an O'Reilly-Manning-sized book in pdf form two pages at a time. 800x480 is just a hair below the resolution you really need to comfortably read ONE O'Reilly-Manning sized page at a time.
Click to expand...
Click to collapse
The bolded above is the exact reason I am learning. I need to be able to write my own app for the upcoming tablets. We are planning to move a lot of document work to tablets over the next few years in the medical industry and the existing product lines are hilariously and prohibitively expensive. Since I already work extensively with our privacy laws and and regulations, I'm fairly sure that I can get a working solution for us over the next three years instead of investing millions of dollars in proprietary systems.
Thank you SO much for this advice. I'm ordering Beginning Android tonight and will pick up the other suggestions about halfway through the first book. My class will start in September. If you happen to have any other suggestions that might ease my way into programming concepts in general I would also appreciate those. Again, thanks a ton for the great advice.
Yeah i hear ya man. I took Java Programming in my senior year of highschool and got an A in it. So i know im capable for doing android, but im still finding my way around. hopefully one day i can actually do it! I hope!
bitbang3r said:
(edit: the following assumes you've more or less mastered Java already; I really don't know what to recommend for someone who's trying to learn Java AND Android programming simultaneously. I suspect part of the reason for the lack of books for THAT niche is due to the fact that it's more or less impossible to take any programming class in college that doesn't either involve Java or have it as a non-negotiable prerequisite, even if Java per se isn't directly relevant. It's just part of the baseline cultural background noise).
If you buy nothing else, buy "Beginning Android 2" by Mark Murphy. If you're not totally broke, buy "Pro Android 2" by Sayed Hashimi while you're at it. Don't try to skip the first and go straight to the second... there's a lot of medium-level stuff that's covered thoroughly in "Beginning" that's barely touched upon in "Pro".
Those two books aren't great if you like to jump around and learn things in random order as need arises, but they're probably the gold standard right now for books that comprehensively teach Android Programming in a sensible order from start to finish.
"Professional Android 2 Application Development" by Reto Meier is a great complement to those books, because it IS more of a "jump around and grab important details as the need to learn them arises" book. I refer to all three on a regular basis.
"Hello, Android" is one of those books that you'll probably never look at again two weeks after you first start reading it... but if cash isn't really a problem, it's a nice tutorial for brand new Android developers.
Content-wise, the pdf commonsware.com books by Mark Murphy (yeah, the same Mark Murphy who wrote the Apress book) are probably the best of all, because they literally ARE updated regularly as typos & bugs get found (every book has 'em, few books ever usefully fix 'em) and new versions of Android get released. The problem is, unless you have an ebook reader, let's be honest... ebooks kind of suck. Sometimes, a real book is nice to have. So, I'd say Murphy's books kind of break new ground between online articles and real books... they go into a lot more depth, more coherently, than any one online source of info about Android programming... but unfortunately, because they're ebooks, they're about as pleasant to casually read as those same online articles.
18 months from now, when Android tablets with 1280x720(*) displays or better are common and relatively cheap, eBooks are going to be the norm for Android books going forward, because THEN they'll let you have the best of all worlds -- the coherent editing and comprehensive content of "real" books, the up-to-date accuracy of the best online sources of info, and a reading experience that doesn't kind of suck. Five years from now (when the eBook experience has finally become civilized), I'll be shocked if programming books even exist anymore in printed form, aside from maybe books like "${Language}: How to Program" that deal with topics that don't really change radically from month to month and are more or less universal as college textbooks. Programming and system administration are the kind of topics that are really too volatile for paper books, and for they most part they've ALWAYS been... there just hasn't really been a civilized alternative to them. IMHO, Android tablets will be what finally make it a civilized experience, because for the first time normal people (meaning developers who don't work for huge corporate entities like Amazon and Sony) will be able to develop ebook apps with their own UI experiments. Right now, all we have are devices optimized for reading mass-market top-20 fiction... devices that largely suck for the specific task of reading (and referring to) programming books (where you generally flip around a lot, and 700ms latency every time you change a page will drive you insane in 3 minutes).
So, in summary, here's my recommended buying order:
If cash is abundant and you want a nice intro: Hello, Android (latest edition)
Absolutely mandatory: Beginning Android 2
Equally mandatory, but maybe a few weeks later: Pro Android 2
then, it's a toss-up between a commonsware "Warescription" for Murphy's other books (which gives you access to the latest and greatest versions of them for a year, plus perpetual ownership the last copies you downloaded before the year ran out) and Meier's book (if you really hate ebooks). Personally, I'd recommend the Warescription AND Meier's book
(*)1280x720 is the rock-bottom minimum resolution viable for comfortably reading an O'Reilly-Manning-sized book in pdf form two pages at a time. 800x480 is just a hair below the resolution you really need to comfortably read ONE O'Reilly-Manning sized page at a time.
Click to expand...
Click to collapse
Wow, thanks a ton! I'll be sure I pick up those 4 things later on.
Since I wrote the original post in this thread a couple days ago, I've spent some time trying to learn Java. As a total noob to programming, this has proven to be quite a challenge. Just about every book or eBook I see (A couple "java for dummies", "eclipse for dummies", "thinking in java", and I'm about halfway through the free sample of VTC's Java: Introduction to the Java Programming Language, which is an audio/video presentation thing) says that prior programming knowledge is necessary or that I should have some basis in C or something like that.
Also, there's command line as well as all of the different IDEs.. I'm assuming that these are all mainly interchangeable or what?
Should I just continue trying to learn Java and once I think I've figured it out just move on to Android or do you guys think I won't be able to get by without taking some sort of a programming class in school?
Thanks for all your help guys! By the way, how long do you think it might take to go from a noob to someone who can actually write an Android app?
for those of us that might be a bit hard up on cash http://developer.android.com/index.html
has a wealth of free information and sample programs. CHECK IT OUT!
Hello all, nice conversation that hasn't been diverted yet so I think I shall make a small contribution to this.
Programming courses and books that you can buy are a good way of learning but is not always an option due to mainly money constraints luckily we have this thing called internet , it has never been easier to learn programming than it is at the moment the plethora of resources available is absolutely incredible the only problem might be in finding things in a structured and well ordered way.
One of the tricks I've used in the past is to look up books that either get recommended or you like the look of and then find the index listing for that book which is usually given away free by sites selling books, then all you need to do is Google for the given topics =o)
As for learning Java to get started on the path to Android application building I think the biggest issue most people will be facing is that they find Java books but none of them seem to be making anything exciting, the problem is to make exciting things you really need to know a fair bit more about developing.
So that having been said I think as a short check list for someone looking to go from zero programming experience to developing their first android apps I would recommend something like this:
1. Go and read about Object Oriented Programming model
You won't fully grasp all the concepts straight away without having done any programming but it is good idea to get this stuff into your head straight away as it will start making more sense once you've learned a bit and then makes it easier to later on come back to this and get the lovely eureka! moments. Good place to start could be something as simple as Wikipedia.
2. Write console applications
By this I mean little java applications that you will be running from the command line on your computer. This is where most people I think get discouraged as they can't see how this relates to Android development.
Forget about graphics, user input, mobile devices etc for now, you can learn so much by writing these:
-Basic types & Variables
-Arrays
-Basic arithmetic and working with strings
-Loop structures
-Logic such as IF statements
-Creating new classes and objects
-Calling functions and returning values
Now all of the above will be used over and over and over again no matter whatever you are writing and the good thing is that it can all be learned by learning 1 additional non android specific thing: how to print out text to command line.
A good example application that you can write that uses most of the above would be a simple application you run from the command line, it fills an array with randomly generated integers between 1 and 20, lets say it generates 10 of them and then displays them to you in the order of smallest to highest.
No user input required, no graphics required etc, its not the most exciting thing but it will get you using all the basic building blocks.
3. Revisit the object oriented model
Do this again as it is pretty vital you understand it and after completing step 2 it will start making a whole lot more sense.
4. Install Eclipse and complete the Hello World tutorial on the android site:
There are plenty of guides on how to install the Android SDK and Eclipse environment and the best ones are from Google themselves. Follow them, if something doesn't work, try and figure out why it doesn't and then search for it, chances are that someone has already figured out why and you've just missed something.
Then complete this tutorial: http://developer.android.com/resources/tutorials/hello-world.html
5. Modify the Hello World tutorial:
Don't get ahead of yourself and start writing your killer app now, start slowly modifying the Hello World tutorial, learn how to display a piece of text from your application.
Now do everything you did with Step 2 but do it all on the Android app.
Visit this list but don't get too stuck with it:
http://developer.android.com/resources/faq/commontasks.html
6. Complete the Notepad tutorial:
If you've blindly followed my steps/similar steps this will be difficult and you should spend a good while dissecting all of it. The tutorial is actually excellent and touches on everything you pretty much need to write a fully functioning application. Don't go for the way of downloading sample source blindly following the tutorial, compiling in the end and then checking this as done.
I bet there are million things you won't understand about it so just keep going through it line by line and when you understand how it works, make it your own, start adding features to it, just silly things but do it =o)
7. Read, Read, Read & Start small.
You should now be at a point where you can start thinking about why you originally wanted to develop for android, if its a simple app you wanted to make start reading about topics that are specific to your app. Also this is a perfect time now to pick up an android application development book, up until this point all the free information has been as good as if not better than books.
If you want to make a game...be prepared to be spending atleast 2-3 times as long as you have to this point before it becomes even viable.
And final piece: Start small, for your first app don't start writing a full fledged facebook killer android social networking location based interactive photo editing physics calculator, do something simple and gradually build up to bigger projects...trust me on that =o(.
Anyhoo bored at work as you can probably tell, hope the above is a good outline for someone thinking of undertaking Android development if they have no previous experience. I don't mean to put people off just be prepared to spend a LONG time with this, it's not overly difficult but if you haven't done development before the sheer amount of new concepts you will have to understand from early on and WELL is very daunting.
.FxN
1. Install required components
* For Java use the latest version
* Android SDK
Once downloaded extract the folder to one of the PATH for example E: \ android_sdk_windows
* To Eclipse used Eclipse 3.5 (Galileo)
2. Add the Android platform and other packages needed to SDK
* SDK Run Setup.exe
* In the Available Packages menu to select all the packages downloaded
* select Install Selected and then select the Accept All to accept the selected packages
* select Install Accepted , Choose Install to install packages that we want to SDK
* Set the path to the Android SDK directory, by opening the Control Panel and then click on mycomputer system or right click and select Properties. Then on the Advanced tab select Environment Variables, click Edit on the path then input the Android SDK directory path
3. Install Android Development Tools (ADT)
fxn said:
Hello all, nice conversation that hasn't been diverted yet so I think I shall make a small contribution to this.
Programming courses and books that you can buy are a good way of learning but is not always an option due to mainly money constraints luckily we have this thing called internet , it has never been easier to learn programming than it is at the moment the plethora of resources available is absolutely incredible the only problem might be in finding things in a structured and well ordered way.
One of the tricks I've used in the past is to look up books that either get recommended or you like the look of and then find the index listing for that book which is usually given away free by sites selling books, then all you need to do is Google for the given topics =o)
As for learning Java to get started on the path to Android application building I think the biggest issue most people will be facing is that they find Java books but none of them seem to be making anything exciting, the problem is to make exciting things you really need to know a fair bit more about developing.
So that having been said I think as a short check list for someone looking to go from zero programming experience to developing their first android apps I would recommend something like this:
1. Go and read about Object Oriented Programming model
You won't fully grasp all the concepts straight away without having done any programming but it is good idea to get this stuff into your head straight away as it will start making more sense once you've learned a bit and then makes it easier to later on come back to this and get the lovely eureka! moments. Good place to start could be something as simple as Wikipedia.
2. Write console applications
By this I mean little java applications that you will be running from the command line on your computer. This is where most people I think get discouraged as they can't see how this relates to Android development.
Forget about graphics, user input, mobile devices etc for now, you can learn so much by writing these:
-Basic types & Variables
-Arrays
-Basic arithmetic and working with strings
-Loop structures
-Logic such as IF statements
-Creating new classes and objects
-Calling functions and returning values
Now all of the above will be used over and over and over again no matter whatever you are writing and the good thing is that it can all be learned by learning 1 additional non android specific thing: how to print out text to command line.
A good example application that you can write that uses most of the above would be a simple application you run from the command line, it fills an array with randomly generated integers between 1 and 20, lets say it generates 10 of them and then displays them to you in the order of smallest to highest.
No user input required, no graphics required etc, its not the most exciting thing but it will get you using all the basic building blocks.
3. Revisit the object oriented model
Do this again as it is pretty vital you understand it and after completing step 2 it will start making a whole lot more sense.
4. Install Eclipse and complete the Hello World tutorial on the android site:
There are plenty of guides on how to install the Android SDK and Eclipse environment and the best ones are from Google themselves. Follow them, if something doesn't work, try and figure out why it doesn't and then search for it, chances are that someone has already figured out why and you've just missed something.
Then complete this tutorial:
5. Modify the Hello World tutorial:
Don't get ahead of yourself and start writing your killer app now, start slowly modifying the Hello World tutorial, learn how to display a piece of text from your application.
Now do everything you did with Step 2 but do it all on the Android app.
Visit this list but don't get too stuck with it:
6. Complete the Notepad tutorial:
If you've blindly followed my steps/similar steps this will be difficult and you should spend a good while dissecting all of it. The tutorial is actually excellent and touches on everything you pretty much need to write a fully functioning application. Don't go for the way of downloading sample source blindly following the tutorial, compiling in the end and then checking this as done.
I bet there are million things you won't understand about it so just keep going through it line by line and when you understand how it works, make it your own, start adding features to it, just silly things but do it =o)
7. Read, Read, Read & Start small.
You should now be at a point where you can start thinking about why you originally wanted to develop for android, if its a simple app you wanted to make start reading about topics that are specific to your app. Also this is a perfect time now to pick up an android application development book, up until this point all the free information has been as good as if not better than books.
If you want to make a game...be prepared to be spending atleast 2-3 times as long as you have to this point before it becomes even viable.
And final piece: Start small, for your first app don't start writing a full fledged facebook killer android social networking location based interactive photo editing physics calculator, do something simple and gradually build up to bigger projects...trust me on that =o(.
Anyhoo bored at work as you can probably tell, hope the above is a good outline for someone thinking of undertaking Android development if they have no previous experience. I don't mean to put people off just be prepared to spend a LONG time with this, it's not overly difficult but if you haven't done development before the sheer amount of new concepts you will have to understand from early on and WELL is very daunting.
.FxN
Click to expand...
Click to collapse
Oh wow. This is great! Thanks a ton for taking the time to write all of that, I'm gonna go get started
I've already touched upon many of those things thanks to free ebooks and youtube tutorials and such, but now I know exactly what to do
Quick question though: what's the "notepad tutorial" ?
thanks again!
and @learnandroid, thank you as well for the instructions. i have eclipse set up now
A nice java book that I recommend is called Java Programming, comprehensive edition.
fichdak said:
Quick question though: what's the "notepad tutorial" ?
Click to expand...
Click to collapse
I can't yet post links, but just Google "Android notepad tutorial" - it's the first hit.
They take you through 3 different versions of the app, each slightly more complicated than the last. Definitely worth going through if you're new.
XDA has always been a fantastic community and you guys are the reason. Thank you for the thoughtful and very much appreciated advice and help.
I'm having a great time already. I really hope I can get into the class but it's already full with a waiting list. The books, tutorials and great resources are of course great but I have always liked to do new stuff with groups. I tend to learn more with some group goals involved along with the focused study.
Thanks again guys.
http://www.linuxclassroom.com/
This guy in San Antonio started an Android programming class for 8th graders and posted all of his lesson plans online. Might be a good place to start.
fichdak said:
Quick question though: what's the "notepad tutorial" ?
Click to expand...
Click to collapse
Sorry forgot to post the link: http://developer.android.com/resources/tutorials/notepad/index.html
.FxN
Great Thread full of info.
I have tried learning C# and Java on my own in the past but I could never grasp the concept and gave up.
I had an opportunity to go back to school full-time with programming in mind. I started last spring taking Software Development which teaches basic concepts of programming. Now I am starting my second semester in the fall taking intro to Java and c++ followed by advanced Java and c++ in the spring .
I hope I can transfer the knowledge from school along with the info provided in this Thread to build quality android applications in the future.
Thanks
-Bri
I know it's geographically limited to a small subset of the people here, but I'm pretty sure I remember reading somewhere that UC Santa Cruz actually has courses in Android Development (part of their certificate in embedded software development curriculum). However, I think it's safe to assume that a solid background in Java (including objects and threading) is a prerequisite. Anyone who lives within sane driving distance of Silicon Valley might want to check them out...
I definitely have to agree that if you're literally just starting with Java, don't even *think* about touching Swing until you're comfortable writing console apps. It's really easy to get overwhelmed by Swing. For the most part, Android programming isn't really harder than good Swing programming... the difference is, with Swing, you can still get away with doing some things that are bad, but will kind of work anyway (like blocking operations by a UI thread). Android simply won't tolerate or allow you to even *try*. It's good in the long run (I guess), but makes writing your first few real programs a lot harder than you probably expect it to be.
For example, Android won't allow classic "Modal" dialog boxes (where everything grinds to a halt until the user clicks something). Period, end of story. You really shouldn't do it anyway, but being allowed to do it in Swing makes it easier to take your first few baby steps and see your program (sort of) work. With Swing, you can staple the shell of your program together with bad things, then fix them and make them nice once the logic is worked out. With Android, you have to Do It Right the First Time, because it won't allow you to do it any other way.

[Q] Learning to Dev

I have been a member of XDA for a while and now I want to contribute. I have a basic understanding of computers and want to learn more. Obviously our greatest devs were not born devs they had to learn everything from somewhere. I'm looking for suggestions on where to start on the road to become the best dev I can be. Keep in mind I'm flat broke so I cannot hit up the local bookstore or download any paid software, but with the way the internet is today there must a free legitimate source for everything somewhere. So anyone willing to help a noob If I posted in the wrong section please kindly redirect me rather than flame me. Thanks in advance.
It all depends on what you want to contribute. I'm a beginner myself (only developing since august). It is easy to learn Java, for the most part. I would suggest heading over to http://developer.android.com/index.html for starters. There are many examples and if you want to know something specific, try using the search bar at the top right (it comes in handy). I have already published an app, a simple one, but still an application none the less. I am working on two other projects simultaneously (a live wallpaper and a home-replacement app). You can come to my website http://futurinnovations.blogspot.com/ to see what I'm working on. I am still in the process of learning, and being in college slows things down a bit. Just make sure not to give up. If your stuck, ask someone (or everyone) on forums like this.
Futur Innovations said:
It all depends on what you want to contribute. I'm a beginner myself (only developing since august). It is easy to learn Java, for the most part. I would suggest heading over to http://developer.android.com/index.html for starters. There are many examples and if you want to know something specific, try using the search bar at the top right (it comes in handy). I have already published an app, a simple one, but still an application none the less. I am working on two other projects simultaneously (a live wallpaper and a home-replacement app). You can come to my website http://futurinnovations.blogspot.com/ to see what I'm working on. I am still in the process of learning, and being in college slows things down a bit. Just make sure not to give up. If your stuck, ask someone (or everyone) on forums like this.
Click to expand...
Click to collapse
I forgot to mention I want to learn to dev for Android. I want to start out with simple apps then work my way up to building/porting roms. Also I just downloaded the Java JDK and am using Java's "Greenfoot" Tutorial to get started since I have no experience with Java. And I will be sure to check out your blog and thank you for the reply.
porting and building is something far different from app development...you have to know much more if you want to work with kernel,drivers,basically you have to know everything from hardware level to user level (if you want to be top of the class)...good luck
farukb said:
porting and building is something far different from app development...you have to know much more if you want to work with kernel,drivers,basically you have to know everything from hardware level to user level (if you want to be top of the class)...good luck
Click to expand...
Click to collapse
Well we all gotta start somewhere. Now is probably a good time for me as I'm only 18 and a senior in high school. Since I don't have a job at the moment I have plenty of free time after school and on weekends.
I'm only 18 myself. I started straight with downloading Eclipse and all of the appropriate software for developing and just dove in. I would recommend watching these tutorials: http://www.xtensivearts.com/topics/tutorials/. They helped me A LOT. I am taking a programming in C class in the spring semster, which I am looking forward to. Programming in Java for Android is different than regular programming. It's the same concepts, just different APIs and tools. I like using Eclipse because it is easy to learn and get used to. There are a lot of fancy features like a type of autocorrect (not like on the phone, but smarter). Like you said, just start from the basics, like "Hello World" (Hello Android) and practice creating different layouts using the tutorials given on the Developer site. Explore the site and look through everything because eventually you may need to know where its located for quick access. Just don't set too high of goals for yourself, other wise you might be more prone to give up (like I almost did). Good luck
Im in ths same boat as you we got to start somewhere
mit have a fantastic course in computer science online.
search for MIT open courseware then introduction to computer science.
I'm on 10 now, getting very complicated
crowstar said:
mit have a fantastic course in computer science online.
search for MIT open courseware then introduction to computer science.
I'm on 10 now, getting very complicated
Click to expand...
Click to collapse
Thanks bro I'm checking out that MIT course right now it looks really helpfull
This is a great starting point for Android development, as it deals quite well with getting the Android SDK and Eclipse IDE set up and working together.
http://www.vogella.de/articles/Android/article.html
Futur Innovations said:
I'm only 18 myself. I started straight with downloading Eclipse and all of the appropriate software for developing and just dove in. I would recommend watching these tutorials: http://www.xtensivearts.com/topics/tutorials/. They helped me A LOT. I am taking a programming in C class in the spring semster, which I am looking forward to. Programming in Java for Android is different than regular programming. It's the same concepts, just different APIs and tools. I like using Eclipse because it is easy to learn and get used to. There are a lot of fancy features like a type of autocorrect (not like on the phone, but smarter). Like you said, just start from the basics, like "Hello World" (Hello Android) and practice creating different layouts using the tutorials given on the Developer site. Explore the site and look through everything because eventually you may need to know where its located for quick access. Just don't set too high of goals for yourself, other wise you might be more prone to give up (like I almost did). Good luck
Click to expand...
Click to collapse
Hi, I'm 24. And I learn how to 'program' since 14-15.
It's easy to write apps for Android. But it's hard to write good apps.
You should take Software Engineering course (NOT Computer Science course).
If you take CS (Computer Science) course, than you will learn mainly about algorithm.
But if you enter SE (Software Engineering) course, you will learn about SDLC, software QA/testing, and planning to write programs for living
:-D
I personally don't like eclipse, it's just bloated IDE :-(
I use SciTE, apache ant, MinGW/MSYS (GCC 4.5.0), Java SDK, ActivePerl, Dev-C++ IDE. That's should be enough for development :-D
I will see if there are any software engineer classes at the college I am attending. If so, then I will sign up for it. Thanks for pointing me in the right direction. Is taking the programming class still beneficial?
Sent from my ADR6300 using XDA App
Futur Innovations said:
Is taking the programming class still beneficial?
Click to expand...
Click to collapse
I'd really recommend a class if it's a viable option. It will help you understand object oriented programming, where just working through examples won't actually teach you how to understand what you're doing. Things like classes, inheritance and polymorphism are pretty difficult principles to grasp unless you've got someone to explain them to you. Then it's pretty easy.

[Q] Thinking of making some applicatoins

so guys i am fairly new to this have a few ideas popping in my head and i would like to do some app development but i need a push into the right direction such as a great starter book that would help me understand the coding and app building for "dummies" or something that would get me on the right track anyone who has some great ideas please let me know asap before i buy something i regret, the input of new android developers would probably be the most helpful cause i would like to know what they used to get them going in the right direction.
Study Java first, I suggest head first Java. it's really a good book for beginners, I just bought it at Amazon and it's on sale.
Sent from my SGH-T959 using XDA App
I've researched alot about what u want n let me tell u one thing if u really want to become a developer then u may start from C++ with that skills in ur hand, java wud be much much easier and then go for android SDK this is the right track u may follow otherwise its not a hard and fast rule.. but I must warn u that its not a simple process and time taking. So be sure that whether u want to really learn it b4 u stopped working in between. Okay.???? All the best for your future... ^_^
send from my GT-S5670(updated to 2.3.4) using XDA app
i do realize there is a lot of work involved but this has always been a dream of mine at least since i have started android, doing rooting flashing roms etc... i figured i would jump on the band wagon and do some developing myself i realize that is some time consuming steps involved but i think it will be worth it in the end, if i find a great idea that someone likes and build on that hell i could make myself rich so to speak anyway thanks guys more ideas would be very helpful i am guessing that c++ is the language itself i need a bit more input before i jump the gun and buy something that i don't need yet more or less like buying a chager for i phone that i don't have yet thanks for the input.
maxcool12345 said:
I've researched alot about what u want n let me tell u one thing if u really want to become a developer then u may start from C++ with that skills in ur hand, java wud be much much easier and then go for android SDK this is the right track u may follow otherwise its not a hard and fast rule.. but I must warn u that its not a simple process and time taking. So be sure that whether u want to really learn it b4 u stopped working in between. Okay.???? All the best for your future... ^_^
send from my GT-S5670(updated to 2.3.4) using XDA app
Click to expand...
Click to collapse
Why recommend c++ when android apps are written in Java? If he is going to be learning from scratch anyways there is less than no reason to learn c++
Learning c++ would not help you with learning java unless you already knew c++ and since you don't just learn java.
There are some great intros to object oriented programming that use java as a base. Don't have any links at the moment. Just dont learn c++ if you want to do Android dev
From something awesome
thanks guys i decided that i am going to read up on some java, and the book i was looking as has two editions the first one made in 2005 which is way old and probably outdated and the second one i am not sure when it was made however it looked way fun to read btw i hate reading but i would do it to learn something else. i was looking at head first java but there is two editions which one should i get i see better review on 2nd edition than i do on the firlst however if i skip the first am i going to skip some knowledge that i would have been nice to know on my near road for success.
As I've already said earlier that there's not such a hard and fast rule that you have to learn c++ before Java but the better way is to go step by step, have a strong base, it'll help you in firm footing in your job. Then you'll be able to work on different platforms unless you will limit yourself and waste the talent and aptitude you have. I've also told you to go to an experienced person for better advice, if you really wanna do something.....
send from my GT- S5670(updated to 2.3.4) using XDA app
bfitzpatrickd2d said:
thanks guys i decided that i am going to read up on some java, and the book i was looking as has two editions the first one made in 2005 which is way old and probably outdated and the second one i am not sure when it was made however it looked way fun to read btw i hate reading but i would do it to learn something else. i was looking at head first java but there is two editions which one should i get i see better review on 2nd edition than i do on the firlst however if i skip the first am i going to skip some knowledge that i would have been nice to know on my near road for success.
Click to expand...
Click to collapse
If you're going to buy head first Java buy the latest one.
Don't worry this book is not boring.
Sent from my SGH-T959 using XDA App
you can start from here as a tutorial and then buy a book maybe.
http://download.oracle.com/javase/tutorial/index.html
bfitzpatrickd2d said:
thanks guys i decided that i am going to read up on some java, and the book i was looking as has two editions the first one made in 2005 which is way old and probably outdated and the second one i am not sure when it was made however it looked way fun to read btw i hate reading but i would do it to learn something else. i was looking at head first java but there is two editions which one should i get i see better review on 2nd edition than i do on the firlst however if i skip the first am i going to skip some knowledge that i would have been nice to know on my near road for success.
Click to expand...
Click to collapse
Since nobody else directly answered this question...
When a book comes out in a second, third, fourth ... hundred and ninety-six thousand and forty-third... edition, they're all pretty much the same book -- usually. The differences in editions are usually just updated information.
Especially when dealing with programming, new user interfaces will come out, or updates to the underlying core will be made, or whatever. Point is, the subject matter of the book changes, and the book is then revised to match. Since rewriting the whole book would be very time consuming (not to mention unnecessary) they just update pertinent parts. Usually, the book is 90% to 95% unchanged. However, don't expect an older book (say, e.g., from 2005) to have information related to the latest version of the software it covers.
If you're intelligent enough, you can probably read the older book to get the understanding, and then figure out the updates on your own if the later edition is too expensive or not available in your area or whatever (after all, you won't buy the revised edition of the book every time the software is updated), but it's best to start with the latest edition if you can.
Good luck on programming, especially if you've never done it. I wanted to get into it, and was even taking classes in college, but my junior year saw price and scheduling changes I couldn't handle with my then-new job. Very time-consuming. I understood the concepts -- we started with C and then C++ in junior college and at university we got into COBOL (why?) and Java, but between work and a fiancée that needed attention, when I was home I just didn't have time enough to devote to it to meet deadlines. However, were I single and only part-time employed, I probably could have handled it.
Completely agree with cj.... ;-) he is 100% right...
send from my GT-S5670(updated to 2.3.4) using XDA app
maxcool12345 said:
As I've already said earlier that there's not such a hard and fast rule that you have to learn c++ before Java but the better way is to go step by step, have a strong base, it'll help you in firm footing in your job. Then you'll be able to work on different platforms unless you will limit yourself and waste the talent and aptitude you have. I've also told you to go to an experienced person for better advice, if you really wanna do something.....
send from my GT- S5670(updated to 2.3.4) using XDA app
Click to expand...
Click to collapse
im sorry but this is crazy... while c++ may be a step, its on the wrong set of stairs! the base is just programming paradigms that are language agnostic. and if you want to teach those why not start at C? why skip that part of the 'base'? of course if you want to learn Java and dont know those basic programming paradigms you CAN learn them in Java (as you can in C++). a single Class program with a main() acts nearly identical to a single file C program. so the only reason to study other languages would be to learn their intricacies and the way they handle inheritance, abstraction, threads, etc... and if thats the goal then why start on a language other than the one you want to learn? if i wanted to learn how to make and use a MySQL database would you recommend me starting on another completely different data base structure?
[/rant]
thank you
-----
also i dont think this is the OPs 'job' he is just trying to learn some Android programming....
C++ teaches coding principles that apply to most languages, and the detail needed.. Skipping may take time out of the process, but to be an effective and effecient coder, you need the skills taught by learning C/C++..
Skipping the basis for most modern programming is just half-assing it, and will most surely lead to this guy not becoming "rich".
And really, what sense does it make to argue, if he is searching for information, it is all different means to the same end. What's it going to hurt to learn a language that will definitely benefit him.
You just want to be right and seem to be the "expert".
Sent from my SPH-D700 using XDA Premium App
azyouthinkeyeiz said:
C++ teaches coding principles that apply to most languages, and the detail needed.. Skipping may take time out of the process, but to be an effective and effecient coder, you need the skills taught by learning C/C++..
Skipping the basis for most modern programming is just half-assing it, and will most surely lead to this guy not becoming "rich".
And really, what sense does it make to argue, if he is searching for information, it is all different means to the same end. What's it going to hurt to learn a language that will definitely benefit him.
You just want to be right and seem to be the "expert".
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
thats wrong. they arent skills taught by c or c++ and c/c++ arent needed to learn them. they are universal paradigms that can be applied to any language.
logic is language agnostic.
and what would hurt him learning C++ when he wants Java is being trapped into the ways C++ does things that Java does another way.
---
i dont want to be an 'expert' im just trying to prevent this person from going down the path of learning C++ which can be used in sooo many different ways when he wants to learn Java which does things its own ways. its like if i asked what i should do to learn Android programming and someone said that i should learn to code for iOS first. durh
and yes this really bothers me. i have nothing against C++, its a powerful language for the things that use it. but to suggest it to a person interested in Android dev is shilling for a programming language that has nothing to do with what wants to be done.
Bro, don't waste your time on some stupid,silly, idiotic person with worthless attitude.... he seems to be very despirate to guide any guy according to him as if he influence the learner's life.. .. in simple words, leave it...!!!!
send from my GT-S5670(updated to 2.3.4) using XDA app
If I want to learn how to drive a car, should I start with an eighteen wheeler or a motorcycle to learn the paradigms of knowing whether to drive on the right or the left side of the road?
I'll butt out now
Edit: HEY! My two-hundredth post! Yea!
Now... I'm off to add a zero to that...
Oh, and PS:
killersnowman said:
if i wanted to learn how to make and use a MySQL database would you recommend me starting on another completely different data base structure?
Click to expand...
Click to collapse
I think COBOL would be an excellent base for that!
Cheers!

[Q] New Young App Developer Needing Help

Hello XDA,
I have just finished my first year of high school, and have spent 2 years around Windows Mobile and Android.
I want to start developing in different parts of Android, Applications being the top priority.
I have found and got many guides such as Sam's Teach Yourself for helping me build applications.
I know I can't start off building advanced apps. But the place I need help is where should I start, and what things I should learn such as Java, Adobe Air being a few.
If you guys can please maybe make a list I should follow or something...This would be greatly appreciated,
Thanks A lot
If you have an idea about java, the next step is to "google" for "Android Developers"...
I think it's the perfect place for beginners in Android Development...♫ ♪
Yep, you'll definitely need to learn Java. Knowing some Object Oriented concepts will help too.
The recommended IDE (Integrated Developer Environment) for Android is Eclipse (it's free!). I personally use IntelliJ (community edition is free - less features, but it's got all you need for Android dev).
Looking at tutorials etc is really good - imo the best way to learn is hands-on learning. A good starting place is the developer docs: http://developer.android.com/resources/browser.html?tag=tutorial
Once you've followed a couple of those, you'll probably be exploring new/random classes, so looking at the reference will help too: http://developer.android.com/reference/packages.html
Of course the best way is to just try something out to get started - even if it is something simple, or verbatim from the tutorials.
As for what app to start with... a simple one is always good. But what is important is make something that you feel like you need/want to use yourself. That way you will be more motivated to follow through with the idea, and you'll be your own user, thus be able to make good improvements
Thank you so much
Thanks a lot. I would have no idea where to start, despite many guides available out there.
Both you have made it a lot simpler.
Thanks once again.
pigeonaras said:
If you have an idea about java, the next step is to "google" for "Android Developers"...
I think it's the perfect place for beginners in Android Development...♫ ♪
Click to expand...
Click to collapse
pyko said:
Yep, you'll definitely need to learn Java. Knowing some Object Oriented concepts will help too.
The recommended IDE (Integrated Developer Environment) for Android is Eclipse (it's free!). I personally use IntelliJ (community edition is free - less features, but it's got all you need for Android dev).
Looking at tutorials etc is really good - imo the best way to learn is hands-on learning. A good starting place is the developer docs: http://developer.android.com/resources/browser.html?tag=tutorial
Once you've followed a couple of those, you'll probably be exploring new/random classes, so looking at the reference will help too: http://developer.android.com/reference/packages.html
Of course the best way is to just try something out to get started - even if it is something simple, or verbatim from the tutorials.
As for what app to start with... a simple one is always good. But what is important is make something that you feel like you need/want to use yourself. That way you will be more motivated to follow through with the idea, and you'll be your own user, thus be able to make good improvements
Click to expand...
Click to collapse
No problems
Oh, forgot to mention in my original post... the only reason I'm using IntelliJ is because I use it at work (so used to the shortcuts etc).
imo, both IDEs are comparable - just what you are used to.
If you haven't used either, probably go with Eclipse since there are a lot more tutorials/guides out there related to dev with Eclipse/Android.
I started developing about 8 months ago. I am going to be a Junior in High School, so we are in the same boat here.lol
Anyways, I spent a lot of time looking at many books and resources. Alos another thing that helps is to teach your self how stuff works by studying source codes. But dont only do this. Look at tut's and other resources as well. Remember, start small then work your way up! Dont go out and try to make a super amazing awesome app. You will just frustrate your self. So start simple. I was making small apps that only had text when i first started. Now where am i you may ask? I am the developer of the Android Markets only Honeycomb Launcher and a couple other larger apps!
Just remember it takes time, alittle money, patiences and PRACTICE! Make an app or at least work on an app EVERYDAY if possible.
If you get stuck use the resources on the Android site that Android gave to us.
http://developer.android.com/guide/topics/fundamentals/activities.html
Check out the DEV guides, resources and sample code.
Also, do you have eclipse and Android SDK already set up?
ZAIGHAM ALI said:
Hello XDA,
I have just finished my first year of high school, and have spent 2 years around Windows Mobile and Android.
Click to expand...
Click to collapse
I finished my 2nd year of high school, got an HTC Sensation 4G recently and am looking to make roms for other phones (currently looking at the Nexus S). I am getting bored so I would think it would be awesome if we could team up of something and create some roms for phones or something. I'm young like you, looking to make use of my general coding skills(had iPhone for 2 years, so i have some experience with jailbreaking and modding, etc.)
Would be very glad if we could team up or something and who knows, maybe become the next Cyanogen! Looking for a hobby, not profit.
Have a good day!
matistight said:
I finished my 2nd year of high school, got an HTC Sensation 4G recently and am looking to make roms for other phones (currently looking at the Nexus S). I am getting bored so I would think it would be awesome if we could team up of something and create some roms for phones or something. I'm young like you, looking to make use of my general coding skills(had iPhone for 2 years, so i have some experience with jailbreaking and modding, etc.)
Would be very glad if we could team up or something and who knows, maybe become the next Cyanogen! Looking for a hobby, not profit.
Have a good day!
Click to expand...
Click to collapse
Creating a ROM right off the back??? You are going to end up throwing your computer out the window! I know a few ROM developers and they say it is VERY challenging and frustrating at times.
I recommend you two join together or with others and create some apps first. Start small then work your way up...
IntelSoftApps said:
Creating a ROM right off the back??? You are going to end up throwing your computer out the window! I know a few ROM developers and they say it is VERY challenging and frustrating at times.
I recommend you two join together or with others and create some apps first. Start small then work your way up...
Click to expand...
Click to collapse
i concur... The Android operating system, including the Linux kernel, consists of roughly 12 million lines of code including 3 million lines of XML, 2.8 million lines of C, 2.1 million lines of Java, and 1.75 million lines of C++.
wrap your head around that... =)
depending on how complicated you want to go, you can try using phonegap or html5 to create apps, if not, you would need to learn java
PS: you want to make a rom from scratch? what?
Thanks to everybody above i really really appreciate it, i learnt a lot of nice advice.
killersnowman said:
i concur... The Android operating system, including the Linux kernel, consists of roughly 12 million lines of code including 3 million lines of XML, 2.8 million lines of C, 2.1 million lines of Java, and 1.75 million lines of C++.
wrap your head around that... =)
Click to expand...
Click to collapse
That is A LOT of code!!! You guys should probably start with the "Hello, Android" tutorial. That can be a challenge if you dont know how to work eclipse. But luckily, Android provides a nice little "Hello, Android" tutorial.
P.S. You or anyone will never past Cyanogenmod for awhile. I think they know what they are doing.lol
But it is always good to dream big! Like i want to be a Trillionare.lol (I dont even know how to spell it) "But dreams do come try"
Hey guys, I'm a senior now. I have done the hello Android tutorial, and I have the Android dev for dummies, but I know nothing about java and xml programming.
Thanks for the advice. If anyone else has any other tutorials, let me know. Thanks.
Sent from my PC36100 using XDA Premium App
I am in the exact same position as you. I have just got the "Head First Java" book, but I dont think it looks like it will help that much.
monkeychef said:
Hey guys, I'm a senior now. I have done the hello Android tutorial, and I have the Android dev for dummies, but I know nothing about java and xml programming.
Thanks for the advice. If anyone else has any other tutorials, let me know. Thanks.
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
See i was in that boat like you guys were, and it SUCKS! All of the tutorials are very simple textviews and buttons, but nothing that really teaches you all that much java.
Heres what i suggest. Play with the source of apps. Download some source codes and create new android projects in eclipse from THAT source. (LET ME KNOW IF YOU NEED HELP WITH THAT)
And with in those projects, view all of the sources and xml files. Learn how stuff works. such as imports and buttons and permissions. I first started messing with layouts, xml files, strings, and buttons. This is good, BUT you will get to a point were you will see force closes. Thats because the java must match... That got me into looking at the java files more and more. Now that is almost the first thing i dive into.
Like i said along time ago, i am not anywhere close to being an expert at all! But i am getting a good handle on Android in the following ways...
- Visit XDA daily and other sites. Stay up to date and learn what is going on now. not what was being developed a month ago. Stuff is aways changing!
- Surround yourself with a group of developers! They can and will be your BEST friends! As many of you had said before, many of you want a hobby not a profit. Trust me, thats what everyone says.lol. There is some good money to be made out there!!! Some of your best developers can make every developer on a team some money. They also have your back if you get lost or stuck on something.
- Try finding people in your same boat or position. Kind of like the other kid on the site... You two can work something out. Exchange emails. share names and interest. This doesn't mean y'all need to hold hands but just create some chit chat once in awhile. If you learned something, tell him about it!
- USE YOUR F'IN RESOURCES!!! Android/Google made this AMZING site called Android.com. On that site they have developer guides, resources, tut's, and even sample code! Another amazing resource is Stackoverflow.com. Here you can find a lot of answers to any problem. I must have visited that site 1000 times.lol
and dont forget about GOOGLE.COM. ask questions in your search, but be SPECIFIC. Be sure to include "Android" in your search so you can get android support not some iPhone or Windows support...
Anyways, just get out there! try to be the best you can! Absorb as much as you can. LIVE ANDROID! but also have a life.lol
IntelSoftApps said:
All of the tutorials are very simple textviews and buttons, but nothing that really teaches you all that much java.
Click to expand...
Click to collapse
very true. i had been a java programmer for 4 years prior to learning android dev and what really got me going was coming up with an idea for an app and moving to make that a reality. if you just go through and do tutorials you wont get as much out of it as actually trying to make something you can use, be it a small and simple something.
also, i had always done command line java programs and had ignored the java swing ui like the plague, but android has a great layout and ui system. if you are learning java for use in android dont be disheartened by javax.swing package
You should definitely learn an object oriented programming language first before delving into android. I would recommend Java as it is what you will use for a lot of development. A lot of these guides and tutorials including that dummies book expect you to know what a public vs private class is or what inheritance is.
Also another big part of android is XML. At least learn the basics of XML.
I recommend the Java for dummies book as it provides a good introduction to many of the Java concepts that you will need. Java and eclipse can be quite a lot of fun once you get to know it.
Sent from my Nexus S using XDA Premium App
If your a starter, I recommend to go for web based right way, I'm confident that in the near future most mobile device applications will be mainly web based just like desktops.
Thanks a lot, I will get that book asap.
apreichner said:
You should definitely learn an object oriented programming language first before delving into android. I would recommend Java as it is what you will use for a lot of development. A lot of these guides and tutorials including that dummies book expect you to know what a public vs private class is or what inheritance is.
Also another big part of android is XML. At least learn the basics of XML.
I recommend the Java for dummies book as it provides a good introduction to many of the Java concepts that you will need. Java and eclipse can be quite a lot of fun once you get to know it.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Sent from my SEX10 using XDA App
Sorry, but what "web-based" ?
Kevincod said:
If your a starter, I recommend to go for web based right way, I'm confident that in the near future most mobile device applications will be mainly web based just like desktops.
Click to expand...
Click to collapse
Sent from my SEX10 using XDA App

Learn or do it the easy way??

Ok guys, im currently learning Java and I'm still learning the basics. I'll say I know about 80% of the basics things in Java. I am really desperate to create my own app and then I stumbled upon the 'MIT App Inventor' (MIT AI). Its basically a simiplified way on creating a android app. Just drag and drop things etc. I reckon I can build my app using the MIT AI since a guy controlled his robot using the MIT AI so I see no reason why I wont be able to build my app using the MIT AI.
But if I use the MIT AI, I feel as if I'm going to to the cowards way. Like I'm not going to build my app using Java but just by dragging and dropping things into place. So what do you guys think?
I'll still be learning Java but as of right now, I leaning towards using MIT AI for now but i'll probably have a guilty feeling about it
Yeah, I recommend learning Java. You cannot do everything with the App Inventor. Basic things can be done with the App Inventor, but very complex things cannot.
nikwen said:
Yeah, I recommend learning Java. You cannot do everything with the App Inventor. Basic things can be done with the App Inventor, but very complex things cannot.
Click to expand...
Click to collapse
I guess for the time being I'll use MIT AI since the app I want to create is not that advanced. But there is a feature that I would like to put in my app later on when I learn Java since that feature is WAY TO COMPLICATED for me to put into my app for now...
How long did it take you to learn Java?
EDIT = Damn, just realized that I won't be able to implement the feature to my app later on since I wont be getting the source code for my app...
TwilightLoz said:
I guess for the time being I'll use MIT AI since the app I want to create is not that advanced. But there is a feature that I would like to put in my app later on when I learn Java since that feature is WAY TO COMPLICATED for me to put into my app for now...
How long did it take you to learn Java?
EDIT = Damn, just realized that I won't be able to implement the feature to my app later on since I wont be getting the source code for my app...
Click to expand...
Click to collapse
You've pretty much answered your own question Through my few years in programming, I've come to realize this: the easiest solution is not always the best.
The drag-and-drop programming environments look good on the surface, however as soon as you start implementing and experimenting with complex ideas, they becoming limiting. These type of environments are ideal for those just beginning and with little desire to advance their skills. You, on the other hand, already seem to know a bit about Java and have expressed a desire to learn more - a simple environment will just limit you.
My recommendation? Stick with Java. Start out with a small project like a calculator, and follow some tutorials. After you've grasped the basics, try jumping into a complex project, where you're forced to learn. I can vouch for this, because it's exactly what I did. I started with a few simple Android app and then worked on a bigger project. I googled, used StackOverflow and followed tutorials and learned a lot along the way.
Hope this helped, please feel free to ask anything else!
Yeah, im just self teaching myself Java. I know a basic C++. I dont really want to study computer science in college/university since the fee of the course is so overpriced for the course and to be honest, I see no point in studying it since you can learn off from the internet. Thats just my opinion. I dont really have a problem with people going to university to learn CS but I personally wouldn't.
I'm really just self teaching myself computer science. I know decent knowledge about hardwares in computers. I built my own computer back in '09 and still is running like a pro
The thing that is putting me off from learning any type of computer language is the time it takes to learn... I guess I just gotta be patient and keep learning.
So have you published any apps on the play store?
TwilightLoz said:
Yeah, im just self teaching myself Java. I know a basic C++. I dont really want to study computer science in college/university since the fee of the course is so overpriced for the course and to be honest, I see no point in studying it since you can learn off from the internet. Thats just my opinion. I dont really have a problem with people going to university to learn CS but I personally wouldn't.
I'm really just self teaching myself computer science. I know decent knowledge about hardwares in computers. I built my own computer back in '09 and still is running like a pro
The thing that is putting me off from learning any type of computer language is the time it takes to learn... I guess I just gotta be patient and keep learning.
So have you published any apps on the play store?
Click to expand...
Click to collapse
No, I have got no apps out there, but I want to release one soon.
I learned Java by reading (without testing) the book Head First Java. However, I had some Delphi and Python programming knowledge.
This book is really great. And it is fun to read it.
Learn, that's what it is all about , and it's going to be great fun too
Sent from my HTC Explorer A310e using Tapatalk 2
yep, im just currently following the bucky tutorials (thenewboston.org) right now. Ive actually got that book and read a few chapters. Its a good book but I didn't understand some parts of it. Thats why im going through all the bucky Java tutorials and then going to read the book so I have a full understanding of Java.
TwilightLoz said:
yep, im just currently following the bucky tutorials (thenewboston.org) right now. Ive actually got that book and read a few chapters. Its a good book but I didn't understand some parts of it. Thats why im going through all the bucky Java tutorials and then going to read the book so I have a full understanding of Java.
Click to expand...
Click to collapse
Sounds like a good plan.
Happy coding!
hey there. Im currently having difficulty learning about event handlers. I know what they do but im just confused on how to use them.
This is the framework of a typical '.addItemListener(){}' method:
.addItemListener(
new ItemListener(){
public void itemStateChanged(ItemEvent event){
}
}
);
I dont know what those keywords mean or when to use them. Could someone shine some light on this?
TwilightLoz said:
hey there. Im currently having difficulty learning about event handlers. I know what they do but im just confused on how to use them.
This is the framework of a typical '.addItemListener(){}' method:
.addItemListener(
new ItemListener(){
public void itemStateChanged(ItemEvent event){
}
}
);
I dont know what those keywords mean or when to use them. Could someone shine some light on this?
Click to expand...
Click to collapse
When you programm for computers, you need ItemListeners to get informed when the selected item of a JComboBox changed.
That means that the itemStateChanged method is invoked when the user selects an item.
However, you do not need them when you learn Java for Android. You do not need Swing and AWT at all!
Skip everything related to the UI as it is different for Android.
Ive been spending most of my time recently learning about GUI in Java... I feel wasted.
Thanks for the help though. Much appreciated.
I'll probably still finish the bucky vids and then move onto the head first Java book. Does that book contain everything I need to know in order to build a successful app?
I also came across this website. Seems much better and more easier to understand than the book I have:
http://mobile.tutsplus.com/series/learn-java-android-development/
Your thoughts?
TwilightLoz said:
Ive been spending most of my time recently learning about GUI in Java... I feel wasted.
Thanks for the help though. Much appreciated.
I'll probably still finish the bucky vids and then move onto the head first Java book. Does that book contain everything I need to know in order to build a successful app?
I also came across this website. Seems much better and more easier to understand than the book I have:
http://mobile.tutsplus.com/series/learn-java-android-development/
Your thoughts?
Click to expand...
Click to collapse
The head first book explains Java. It explains object-oriented programming very well and tells you everything you will need to get started with Android programming.
As soon as you have got Java knowledge, you can start with Android programming. You need Java for Android programming, that is what the book (and your link) explains, but it does not explain Android programming. I recommend this site for Android Tutorials: http://www.vogella.com/android.html It is great.
In a short form: Java knowledge are the basics, Android related things require Java knowledge and are related to the special conditions on the device. Therefore they have another API for the UI, background services and other things.
Btw, I needed to learn the Java UI things later when I wrote a desktop application. You did not waste your time. Your knowledge will be helpful later.
nikwen said:
The head first book explains Java. It explains object-oriented programming very well and tells you everything you will need to get started with Android programming.
As soon as you have got Java knowledge, you can start with Android programming. You need Java for Android programming, that is what the book (and your link) explains, but it does not explain Android programming. I recommend this site for Android Tutorials: http://www.vogella.com/android.html It is great.
In a short form: Java knowledge are the basics, Android related things require Java knowledge and are related to the special conditions on the device. Therefore they have another API for the UI, background services and other things.
Btw, I needed to learn the Java UI things later when I wrote a desktop application. You did not waste your time. Your knowledge will be helpful later.
Click to expand...
Click to collapse
Ahh okay. Thanks. So yeah, i'll probably finish with the bucky vids, then go the link I posted to reinforce my Java skills then go to the head first book. Then I'll probably go to the link you sent me although the link you sent me seems a bit too 'intimidating'... so I'm thinking of referring to this:
http://developer.android.com/training/index.html
for Android programming.
TwilightLoz said:
Ahh okay. Thanks. So yeah, i'll probably finish with the bucky vids, then go the link I posted to reinforce my Java skills then go to the head first book. Then I'll probably go to the link you sent me although the link you sent me seems a bit too 'intimidating'... so I'm thinking of referring to this:
http://developer.android.com/training/index.html
for Android programming.
Click to expand...
Click to collapse
Ok, the vogella tutorials might not be the right tutorials for you.
However, I do not like the official training sites. They are too difficult for beginners in my opinion. I would not start with these.
Some like the new boston videos: http://thenewboston.org/list.php?cat=6
(They are many. I do not want to intimidate you, but I thought that I should mention them as you like video tutorials. Don't worry, you will not need to watch even the half of them. I would recommend to watch the first ones and then watch the other ones if you need their content. SQL or WebView operations are unimportant for a beginner. )
nikwen said:
Ok, the vogella tutorials might not be the right tutorials for you.
However, I do not like the official training sites. They are too difficult for beginners in my opinion. I would not start with these.
Some like the new boston videos: http://thenewboston.org/list.php?cat=6
(They are many. I do not want to intimidate you, but I thought that I should mention them as you like video tutorials. Don't worry, you will not need to watch even the half of them. I would recommend to watch the first ones and then watch the other ones if you need their content. SQL or WebView operations are unimportant for a beginner. )
Click to expand...
Click to collapse
Yeah, I gotta admit, when I looked at the android sections I felt as if I wont even have the chance to build an android app since theres over 200 vids and theres too much to learn but then you said I wouldnt even have to watch nearly more than half of them so that lifted up my spirit
But im just wondering, how long does it actually take for a person to learn 'enough' Java to start making a android app?
TwilightLoz said:
Yeah, I gotta admit, when I looked at the android sections I felt as if I wont even have the chance to build an android app since theres over 200 vids and theres too much to learn but then you said I wouldnt even have to watch nearly more than half of them so that lifted up my spirit
But im just wondering, how long does it actually take for a person to learn 'enough' Java to start making a android app?
Click to expand...
Click to collapse
That really depends on his experience. I had some experience and I read the head first book and started. Of course, I learned afterwards, too. And of course, I am still learning. You do not need the UI things and stuff like this. You should understand Collections, inner classes and interfaces, though.
In case of doubt, start with the Android part and if you do not know something related to Java, search what it is. Learning by doing.
However, I cannot understand the order of some of the videos. I think that ToggleButtons (23) are not as important as RelativeLayouts (44).
Just finished watching the beginner section of Java from his vids. Probably going to watch the 'intermediate' vids tomorrow or probably forget about watching the vids and just read the book...
TwilightLoz said:
Just finished watching the beginner section of Java from his vids. Probably going to watch the 'intermediate' vids tomorrow or probably forget about watching the vids and just read the book...
Click to expand...
Click to collapse
I must say, stick it out the hard way. Automated-app builders will not teach you anything.
I say this because I myself have been developing Android apps for ~2 years. I had NO prior experience or knowledge in how any programming language was used or written. Now, through determination, I have 3 (still learning, so still basic) apps on the market.
I have self-taught myself Android(java) with the help of a few YouTube videos. I also learned some SQLite which will be used for all android databases, XML, and HTML. All which I have implemented into my apps.
So what I guess I'm trying to say is, if I can learn all of this in ~2 years by myself (albeit you'll run into many educational mistakes) then nothing is impossible. I didn't even make it through high school shamefully.
Regardless, knowledge is power. An auto-app will not do any justice IMO. Android is not the best starting point, but if you already understand programming logic, you should be alright.
Sent from my SPH-D710 using Tapatalk 2
Learn my friend! That's what XDA is about.
I'd say definetly get familiar with the general activity lifecycle, learn some basic things like intents and such, then think about something simple you want to try, and find out how other people are doing it. (Look for guides, or study open source apps etc.)
i've been teaching myself over most of the last year and am super impressed by what I;ve managed to figure out how to do. I still got years to go before I'd call myself a "good" developer, but just keep pluggin away.
It all depends on how you like to learn too. I read tons, and tried watchign videos, but I do much better by just jumping in and fixing errors as I go. then before you know it, you'll be able to do a lot of things. For me I found it became a lot easier when I started breaking stuff up into single parts. like If I want some app with a listview that goes to a webview, I'd make a simple Main Activiy with a list view, then make a new project with just the webview, then worry about linking a couple things together.
Every body learns different though.
Good luck!
(plus I think MIT, even though it's a neat idea, just helps to clog the playstore with junky apps.)

Categories

Resources