Learning to Develop for the Android Platform - General Questions and Answers

I'm a college student, Just finished a C programming, and Intro Java Class, ( i am starting a CSE minor at UCSD which i plan to finish by summer), relatively intelligent, very interested in technology.
What do I need to learn? Are there any books/textbooks anyone could recommend i read or follow to help me learn?
Im interested in developing apps and also custom roms!
I have just set up Eclipse and the Android SDK on my Mac. I know about the tutorials on googles developer site, i am just starting these but it seems like they require so prerequisite knowledge. I notices that the code in the my first app look alot like java. (if it isnt completely java)
Any other ideas or links anyone can share?
Any help/guidance would be greatly appreciated. Thanks!!!

Hi frarredo,
Make the tutorials from android-developers web site is a good start point, and in my opinion, you should use the android-developers web site always as the main reference to build your android applications. However, you have very good references in the internet like Vogela tutorials and others.
My first advice to you is: start reading the android documentation before you start the implementation process. You do not need to read all the documentation and can give a quick read to get a general idea. But, is very important that you understand some basic Android concepts. As you said, the tutorials seem to require some previous knowledge. If you read, it is much easy to understand what you are doing
I know that sometimes this is boring but is really very important.
The android-developers have a very good documentation, so take a look at: developer. android. com/ guide/ components
(I can not post links yet, sorry)
If you want to know more about Android and in the future build custom roms or whatever, I suggest you to read a very good book: Embebed Android from Karim Yaghmour.
Last, but not least, you have all the forums from xda

Related

Where and How can I learn to develop roms/apps?

I hope I'm posting this in the right forums (I read the rules, but still).
Anyways, I'm wanting into get into Android development like doing applications or even hacking roms. I'm always reading at how awesome you guys are at developing stuff. Sadly, I don't have much experience. Majoring in Computer Engineering, but I can't wait for years.
So does anyone have any points on how to get started? Even if it takes me a year, I'm fine. I just want to get to know this stuff. Can I start with, say, Java? Thanks, and I apologize if this is the wrong board!
I would definitelly recommend first familiarizing yourself with Java and getting the language down and going to learn how to turn that knowledge into developing for Android from there. There are a lot of easy to find ways to learn Java right online from Youtube and articles people have written, however Android is a little harder to find help learning. Everyone seems to want you to pay them ridiculous amounts of money. And when you do find tutorials on it they will assume you have an advanced knowledge of working with the Java Development Kit and normally Eclipse as well.
Hi! But even if i learn "well" (not to mention basics) can i customize any rom as i wish or rather make some changes on? I've to get into java world beacuse my knowledges about are not necessary as android deserve...
Thanks in advance!
For app development, u hav to learn java and google APIs thoroughly.. u can learn from various development forums..
For Rom tweaking u need to learn linux scripts and other stuffs like directory tree n much more..

How to make an app?

I'm putting my theming project aside for now and get onto creating an app that I've always wanted to create that I do not see ANYWHERE in the market, forums, android websites, etc.
I've been reading and reading and reading different threads, instructions, etc. But no clue where to start. I've been reading on App Inventor but realized that it is very limited and I have my high doubts that App Inventor will not be able to achieve what I have in mind to make.
I've got the latest SDK and AVD Manager, JDK, Java, and have been using my emulator to test edited APKs. I'm pretty sure I'll be using my emulator to see how my app progress is coming along and see possible FCs and other issues and correct them as well as adding more to the app to make it even better.
But right now I'm stuck at where to begin here. Right when I was about to create this thread, I was making the name of the Title of this thread and was given threads relating to my title name and saw one thread that was sort of mentioning what I'm asking here.
I read the link provided in that thread ( http://developer.android.com/guide/topics/fundamentals.html ) and got some clues but just not enough to get me started here. I just need that push to get me going and eventually push it out to the market and make some money as a side project and learn from that and possibly make more useful apps. I cannot disclose my ideas here because then someone else (who has experience making apps) could take those ideas from me and go make it.
Is anyone willing to work with me here to get me started? I've helped countless people so it would be nice for a change for someone to help me out here.
There are so much Android development books on the market that I suggest to start with one of them. It's the best way to get some knowledge of the design principles used by the Android development framework.
Another method is to start with some examples found on the web. Just search for Android examples or something like that and you get tons of links
Another method is just to create something, get stuck and try to search for a solution (the most pragmatic method )
Yeah I know. That's why I'm constantly researching. I'm seeing some similarities between Java coding and building scripts in IRC (which I used to do, nothing big, just really small stuff). But my main problem is knowing what exactly are the main tools I need. I've had Eclipse for awhile but never used it. It has a lot of stuff in it and I get lost after a couple executions.
I'm just anxious to get started somewhere and get the momentum rolling for starters.
Could someone point me to a good book/ebook ? There are many out there but I'm sure that are some better than others...
If any french-speaker knows one in Voltaire's language, I'm in too. But English is fine...
DannyBiker said:
Could someone point me to a good book/ebook ? There are many out there but I'm sure that are some better than others...
If any french-speaker knows one in Voltaire's language, I'm in too. But English is fine...
Click to expand...
Click to collapse
Yeah, a good book (english) would be great. Can anyone recommend one?
You don't have to buy books but they do contain a lot more info in one book and would be better to have than trying to scour the internet and pull a bunch of infos together and try to put it together to understand step by step on how to get started and everything else.
Here's a link to a lot of android development books:
http://www.amazon.com/s/ref=nb_sb_s...pment&sprefix=android+application+development
Here's a link to some more info to getting started that is also useful:
http://developer.android.com/guide/basics/what-is-android.html
You may also need to get a Java coding book to help you put codes together properly and understand what each coding does, and tweaking them to work better.
Here's the link to Java coding for Android stuff for beginners:
http://www.amazon.com/s/ref=nb_sb_s...x=java+for+dummies&rh=n:283155,k:android+java
I just bought 2 books for Android application development and looking around for a good Java coding for beginners.
mdonova33 said:
Yeah, a good book (english) would be great. Can anyone recommend one?
Click to expand...
Click to collapse
professional android 2 application development by Reto Meier: http://www.wrox.com/WileyCDA/WroxTi...ication-Development.productCd-0470565527.html
Or, the Busy Coder's guide to android development by Mark L Murphy: http://commonsware.com/Android/
Last one is more written in a "let's get dirty" style. Really like that
TheSwaggeR said:
...
I just bought 2 books for Android application development and looking around for a good Java coding for beginners.
Click to expand...
Click to collapse
I think any java book will do, as long as it covers the principles of object oriented design and the data structures used by Java. You don't need any info about GUI programming in Java because that's all covered by the Android application framework.
The best Java books are the ones written by James Gosling et al, the designers of Java. But that may also be over the top for Android application development. Just some basic Java will do to get you started. The algorithms needed for basic apps aren't that complex.
App Inventor is a great tool to develop your android app. It simplifies the development and the editor is very intuitive.
Check out my blog on App Inventor and AppToMarket and a Workshop
http://Amerkashi.Wordpress.com

[Q] !!! What's the Best Book to learn Android Development for beginners!!!

The subject says most of it really. I'm looking for a book that will teach me to develop for the Android market. A book for beginners. The kind of book with lessons, tasks, examples etc..
I'm a complete novice when it comes to Android Development, I've no understanding of the Java programming language at all and only minimal xml knowledge. However I am very good with computers and learn quick, I've got the time the patience and the motivation + (a Samsung Nexus S & a HTC Desire S).
I know it takes time and practise but its something I really want to learn and have plenty of time on my hands at the moment.
I've done webdesign so understand html, css, online shopping carts etc.. not that that's going to help me a lot.
Maybe I'll need a couple of books one for Java and another for Android please provide your thoughts on this.
Any suggestions maybe with links (if allowed) would be greatly appreciated.
Many thanks in advance.
Marc
aka - NexusCrazy
Though I've no links to books which you could buy..
Android applications are written in Java (J2SE, not a pared-down Java Mobile/Micro (Java ME) as found on many low-end phones) using an open-source J2SE implementation based on Apache Harmony along with tons of Android-specific libraries for things like UI and handy third-party libraries for things like HTTP requests and JSON parsing. That Java code is compiled and then transformed into Android-specific files in a format called .dex, and runs on the phone in a highly optimized VM runtime called Dalvik. Luckily, you’ll almost never have to think about any of those pieces in between writing your code and running it on the phone, since the tools take care of them for you.
You’ll want a recent version (3.4 or 3.5) of the Eclipse IDE (Integrated Development Environment) for J2SE, the Android SDK, and the Eclipse ADT plugin to interface with those tools and provide project templates. Be sure to check out Google’s complete installation instructions for details.
Here are some other links to get you started;
http://www.codeproject.com/KB/android/AndroidGuide.aspx
Android Developers website
Have fun programming,
Senax
I just started out and the android developer site is really awesome. I come here for regular roaming looking for answers.
They have a bunch of "real" tutorials that is a step by step building apps like a picture that you touch and it makes a noise, to this pic call app and etc.
I just started my first CS class and we are using "Java: How To Program" 8th. But I have researched these forums looking for the same question.
The most up to date forums that had recommended books:
Beginning Android, Head First and The Dummies Android Book. Although most of the stuff i read said the android site has pretty much everything you need to know and that books will help with getting to know the basics!
What about roms?
im going through a similar phase in my life with wanting to learn about Android and im downloading the ebooks to my rooted nook color now.. What would be the first few steps in just building a rom... im not interested as much in building programs... but i am a flashaholic.
The best book to learn about android development hasnt been published yet. I geuss thats just because you cant publish XDA Forums xD
Hopefully you're a pro by now, but if not, I picked up "Hello Android" today from Amazon, and it has received a lot of positive reviews.
Sent from my HTC ThunderBolt using XDA App
From my perspective I knew nothing about Java/Android, but I had a couple other programming languages under my belt. Just jumping into tutorials really helped me more than any reading material. Also there are a ton of helpful stackoverflow posts related to android, so if you get stuck a quick google search will usually help you out
Tutorials are best
Books help, but i like tutorials because they are direct information with real cases
unusualbob said:
From my perspective I knew nothing about Java/Android, but I had a couple other programming languages under my belt. Just jumping into tutorials really helped me more than any reading material. Also there are a ton of helpful stackoverflow posts related to android, so if you get stuck a quick google search will usually help you out
Click to expand...
Click to collapse
That's the way i took .
I knew C, SystemC, some bash and C++.
Started with the hello world tutorial and then i just dove in with an idea.
API documentation, StackOverflow and Google eventually got me where i wanted to be.
Then just repeat this process often enough with other ideas and will get comfortable with writing android apps.
But the android sdk is vast and i still find something cool and new everyday.
Also try #android-dev on freenode irc.
I took a couple of courses on C++, Java, and one in C. However, I really get lost when I look at how Android apps are developed. Also has anyone tried mobile development tools?

Learn Java

Does anyone know of a good online source or book to learn java from? I'm about to install Linux on my laptop and would really like to know where I can learn Java and what IDE would be preferable.
Also, any links to Android development tutorials (basic stuff at first) would be much appreciated.
http://developer.android.com/resources/tutorials/hello-world.html
Just google "android hello world"...
Thanks man, I've seen plenty of third rate tutorials yet sadly didn't think to look at android's dev site.
Mmm personally get a dummy or concise to the point book. A book that doesn't dwell on every syntax and functionality available. Books that do tend to intimidate the beginner at first. (ME!) XD
Then when you get experience with the language, you can get one of those more proficient books. And start reading or finding the things you need.

Android Development Traiing

Hi Guys,
I have been visiting this site for quite a while, mainly the development forum, but have not really contributed that much due to my lack of knowledge in Android Development.
I want to change this and am interested in taking a course to learn how to develop in the Android OS.
Is anybody aware of any courses I could take that are based solely online (ie, no classroom work needed)? Bearing in mind that I have no real programming knowledge to start with so will need an "A-Z" course. I am based in the UK so UK sites would be preferential.
I have done a Google search but to be honest there are so many different companies out there I was wondering if anyone had any first hand experiences?
Cheers
You can teach yourself, find some textbooks (I won't tell you where) online and start reading, download eclipse and netbeans, do some reading about object-oriented programming and being learning the basics of java, start trying to develop applications in eclipse (you will need to download all of the appropriate SDK's, Java, Android, etc), there are plenty of starter posts called "How to program Android" etc. located on the various android forums on the net- I would suggest just jumping in and reading as much as you can. I did, I'm not a full-fledged developer, but I am now capable of programming applications and understanding source code. I need to get acquainted with GitHub now so I can actually begin working on open-source projects, and I have a ton of learning to do myself, but that will take you a long way from being a noob.
luna_c666 said:
You can teach yourself, find some textbooks (I won't tell you where) online and start reading, download eclipse and netbeans, do some reading about object-oriented programming and being learning the basics of java, start trying to develop applications in eclipse (you will need to download all of the appropriate SDK's, Java, Android, etc), there are plenty of starter posts called "How to program Android" etc. located on the various android forums on the net- I would suggest just jumping in and reading as much as you can. I did, I'm not a full-fledged developer, but I am now capable of programming applications and understanding source code. I need to get acquainted with GitHub now so I can actually begin working on open-source projects, and I have a ton of learning to do myself, but that will take you a long way from being a noob.
Click to expand...
Click to collapse
Thanks for the advice. The problem with me taking it on myself is that...well...I wont do it! I have 9 or 10 Learn Linux books on my shelf and have read maybe three pages out of them.
This is why I was wondering if there was any online courses I could take, which would guide me through step by step from start to finish. I appreciate it may be more expensive this way but I feel it is the best way for me to learn
The toolset for creating Android apps while easy for a programmer to pick up, is probably not the best for first steps in programming IMHO but it can be done.
FWIW On the side of "Java" and "Android" sides, I would suggest picking up a copy of "Java in a nutshell". learning the concept of Model/View/Controller (MVC), and inhaling Google's website on Android development. Each will be useful at some point in your growth.
Sent from my Transformer Prime TF201 using Tapatalk
Spidey01 said:
The toolset for creating Android apps while easy for a programmer to pick up, is probably not the best for first steps in programming IMHO but it can be done.
Click to expand...
Click to collapse
Okay, so what do you think the best start to programming is? I really feel it is something I would love to learn. I realize it will be a big challenge...but I think I am up for it
Go for it!!!
I would recommend getting to know a bit of Java first. The Java Tutorials found on the Oracle website are an excellent place to start. I've been learning to program for Android for the past month or so, it's hard going, but very rewarding.
bendonahue said:
Okay, so what do you think the best start to programming is? I really feel it is something I would love to learn. I realize it will be a big challenge...but I think I am up for it
Click to expand...
Click to collapse
Eh, for years I have debated between Assembly and shell script depending on the goal. Programming languages are only a slice if the craft.
Sent from my Transformer Prime TF201 using Tapatalk

Categories

Resources