Which book would you recommend for beginning Android development? - Android Q&A, Help & Troubleshooting

I know that there are a ton of online tutorials and info, but I like something I can hold in my hand. I basically have to write a (fairly basic) Android app for part of my senior design project, and I need to start from scratch. I'm a computer engineer, so I'm fairly familiar with coding and the such as well.
Sent from my Galaxy Nexus using Tapatalk

TheBiles said:
I know that there are a ton of online tutorials and info, but I like something I can hold in my hand. I basically have to write a (fairly basic) Android app for part of my senior design project, and I need to start from scratch. I'm a computer engineer, so I'm fairly familiar with coding and the such as well.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
I have a thread i created with alot of info about a the android history,terms and definitions... http://forum.xda-developers.com/showthread.php?t=1466228 ,i also developed a simple little app based off of my thread,that you indeed can hold in your hand.... http://dev-host.org/UGR
I hope this comes in handy for your future endeavors.

Diablo67 said:
I have a thread i created with alot of info about a the android history,terms and definitions... http://forum.xda-developers.com/showthread.php?t=1466228 ,i also developed a simple little app based off of my thread,that you indeed can hold in your hand.... http://dev-host.org/UGR
I hope this comes in handy for your future endeavors.
Click to expand...
Click to collapse
Thank you very much, good sir. I am sure that will be a handy aide.
Sent from my Galaxy Nexus using Tapatalk

The above link TheBiles is very useful, but if u want to go a little deeper check this link.
http://forum.xda-developers.com/showthread.php?t=667298

If you already familiar with other coding, I would recommend the following book by CommonWare
The Busy Coder's Guide to Android Development
http://commonsware.com/Android/
As per title, this book is really for busy coder It is well written.

Related

[ADVICE] DEV-section

We all know that it has been a mess here since a while.
I thought to post this, so MAYBE some people do listen to CYANOGEN himself instead of the DEVs around here.
Here you go: http://forum.xda-developers.com/showthread.php?t=667298
cyanogen said:
I really dislike the "chef" moniker when it comes to Android, since we are more of an open-source community. I think it implies a "file pusher" mentality. But then again, I am biased against proprietary versions of Android like Sense, so feel free to disregard all of this.
Here's my advice for those looking to make their own Android ROMs.. Stop. Write an app or two first, learn how the system works from a developer standpoint. Learn some Java. Read the developer documentation. Learn how to use Git. Then learn how to build AOSP from source. Read the porting guides, and learn how the build system works (the links below have almost everything you could possibly want to know). Now try to put your new found skills to work on enhancing the platform by writing code or making theme overlays. And share! And put that **** on your resume. There is a *ton* of information out there but any kind of "step-by-step rom cooking guide" is going to be a complete fail- it's too broad of a subject.
Android Developer Guides: http://d.android.com
Working with AOSP source: http://source.android.com
Platform Developer Guide: http://pdk.android.com
Android Gitweb: http://android.git.kernel.org
Git Ready (Git tips and tricks): http://www.gitready.com/
Building CyanogenMod: http://wiki.cyanogenmod.com/index.php/Building_from_source
How Dexopt works and what are those odex files: http://android.git.kernel.org/?p=pl...bcd225e47b2cc7abb2a366112d3aeb45936;hb=master
The PDK site is absolutely vital if you are going to work on custom ROMs. Read every single page. Twice. Some of the info isn't up to date, but you'll get a really good idea about what goes into actually configuring Android to work on a real device.
Click to expand...
Click to collapse
I hope this helps.
And I don't say you should not "Develop" the "ROMs", I say we should publish them in ONE topic. Were everyone can acces them easily, but it will be ordened nicely.
If that thread will be anywere, than I will take responsibilty to make it.
reserved
reserveddd
There will be posted many ROMs in here if so, reserved!
I will help you too
reserved
dhruv.always said:
I will help you too
reserved
Click to expand...
Click to collapse
Thanks
You mind posting your next ROMs in here?
Not to be rude ofcourse...
Greets!
mDroidd said:
Thanks
You mind posting your next ROMs in here?
Not to be rude ofcourse...
Greets!
Click to expand...
Click to collapse
Yeah if u delete 1-2 of ur reserved posts so my roms come in 2nd or 3rd post
I understand this advice
thanks for linking this.. those are really useful links
mDroidd said:
We all know that it has been a mess here since a while.
I thought to post this, so MAYBE some people do listen to CYANOGEN himself instead of the DEVs around here.
Here you go: http://forum.xda-developers.com/showthread.php?t=667298
I hope this helps.
And I don't say you should not "Develop" the "ROMs", I say we should publish them in ONE topic. Were everyone can acces them easily, but it will be ordened nicely.
Click to expand...
Click to collapse
Seems to me the pdk site is down???
+1 do this...
I personally dont belive in binary tweaked and enhanced ROMs, they are more filled with bloatware and totally unneeded scripts making the system slower... and those themes?? Yea i can download them too...
Sent from my HTC One X using xda premium
RockR172 said:
+1 do this...
I personally dont belive in binary tweaked and enhanced ROMs, they are more filled with bloatware and totally unneeded scripts making the system slower... and those themes?? Yea i can download them too...
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I too. Themed ROMs are not worth
+1 from my side too
mDroidd said:
We all know that it has been a mess here since a while.
I thought to post this, so MAYBE some people do listen to CYANOGEN himself instead of the DEVs around here.
Here you go: http://forum.xda-developers.com/showthread.php?t=667298
I hope this helps.
And I don't say you should not "Develop" the "ROMs", I say we should publish them in ONE topic. Were everyone can acces them easily, but it will be ordened nicely.
Click to expand...
Click to collapse
I totally agree with this. O1 P500 Community could use a little cleaning up.
By the way, I have been wanting to learn actually developing Android but just can't find the resource to hook me up. Those links are just what I needed.
My opinion is that we can ask a kid politely till we die of old age,
and i'm not far by comparing what is happening here whit kids behavior.
Long story short moderators must do something, us users can relay do nothing,
if a user is like that, our posts will defensively not impress him and in most cases he will never read them..
RockR172 said:
+1 do this...
I personally dont belive in binary tweaked and enhanced ROMs, they are more filled with bloatware and totally unneeded scripts making the system slower... and those themes?? Yea i can download them too...
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
DJoptimus-One said:
I too. Themed ROMs are not worth
+1 from my side too
Click to expand...
Click to collapse
But you download and flash such roms?
mcapoy said:
I totally agree with this. O1 P500 Community could use a little cleaning up.
By the way, I have been wanting to learn actually developing Android but just can't find the resource to hook me up. Those links are just what I needed.
Click to expand...
Click to collapse
Good for you that you find it now, if you tried searching the same earlier you would have learn how to develop in Android coz that link is almost 2 years old. Basically you wasted 2 years waiting for such links to come.
This thread is of no purpose, the theme roms and other roms will go in this section ONLY as its right now. No need to create threads like this one, to avoid warning.
Thread closed!

Looking to be a dev apprentice...

So yeah, like it says above. Is there a dev who wouldn't mind teaching me some things? I'm not exactly a noob. Have an IT degree and experience writing in C++. No expert, but I learn quickly.
Would love to improve the dev community for this phone and many others in the future. Know devs don't really come into the general section a lot, but if u do or could pass it along I would appreciate it.
Thanks
Sent from my EVO using xda app-developers app
I would PM some of the top ones here and see what they say.
Sent from my EVO using xda app-developers app
I'm no developer (just working on apps, not ROMs), but I would suggest you read this thread. As Cyanogen says, you should start by learning some Java and working on an app or two. I would suggest acquiring a book to help you get started.
I started off with this guide for getting started with apps. I would suggest reading through the links in Cyanogen's thread and continuing from there.
SoraX64 said:
I'm no developer (just working on apps, not ROMs), but I would suggest you read this thread. As Cyanogen says, you should start by learning some Java and working on an app or two. I would suggest acquiring a book to help you get started.
I started off with this guide for getting started with apps. I would suggest reading through the links in Cyanogen's thread and continuing from there.
Click to expand...
Click to collapse
Thanks, went thru that thread. Cyanogen's post was really informative. Me and a friend taught ourselves java when we were 15. But that's been 15 years, millions of brain cells, and seems like 2 lives ago.
Have to relearn it again. Remember back then we read java for dummies, lol. Anyone remember those? Taught us html pretty well, but I used that more than java.
Will check my local library for what they have and youtube tonight for tutorials.
Thanks again
Sent from my EVO using xda app-developers app
Anthonicia,good luck and thanks for wanting to contribute.
Sent from my EVO using xda premium
Definately a step in the right direction man ive been trying to do the samething with themeing ive taught myself a little along the way but found a buddy on here thats an awesome themer by the name of dased14 im sure some of you know him from the 3d anyways just wanted to give you the best of luck and hope to soon run a rom of yours
Tux approves of my EVO
Anthonicia said:
So yeah, like it says above. Is there a dev who wouldn't mind teaching me some things? I'm not exactly a noob. Have an IT degree and experience writing in C++. No expert, but I learn quickly.
Would love to improve the dev community for this phone and many others in the future. Know devs don't really come into the general section a lot, but if u do or could pass it along I would appreciate it.
Thanks
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Sounds like you have an aptitude for these things, if your like me you learn best with the hands on approach.
http://forum.xda-developers.com/showthread.php?t=502010 ADB for dummies by VanillaTbone
http://forum.xda-developers.com/showthread.php?t=633246 Dsixda's kitchen
http://forum.xda-developers.com/showthread.php?t=1272270 The Beginner's guide to rom development by isidromxz
http://forum.xda-developers.com/showthread.php?t=1320891 Interactive Phone Modification Guide OP by pstevep, MANY MANY guides by some of the best themers, devs and contributors on XDA
http://forum.xda-developers.com/showthread.php?t=1167623 Android Utility by tommytomatoe, full of jewels of wisdom, read start to finish!!
http://forum.xda-developers.com/showthread.php?t=1167623 how-to "What do you know about rosie?" by tommytomato
http://forum.xda-developers.com/showthread.php?t=705800 how-to unpack Android Roms on Windows by nikoan89 Great for learning how to extract system and boot.img's, very helpful if you want to base from RUU
"Hey, that's not a bug, that's a feature!" Linus Torvalds, 2001
Thanks for all the kind words and info. I really doubt I will have a rom out anytime soon. Have a few ideas for apps I would like to work on, so if that is the best way to learn then ill probably try that route.
It is all created by man, so the logic comes easy to me at times. Well, if it makes sense anyways. Sometimes I smh in frustration, "why did they decide to do it like this when the opposite makes so much sense?".
Sent from my EVO using xda app-developers app
Anthonicia said:
Thanks for all the kind words and info. I really doubt I will have a rom out anytime soon. Have a few ideas for apps I would like to work on, so if that is the best way to learn then ill probably try that route.
It is all created by man, so the logic comes easy to me at times. Well, if it makes sense anyways. Sometimes I smh in frustration, "why did they decide to do it like this when the opposite makes so much sense?".
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Do yourself a favor, NEVER fall back on construction. Everything is backwards and nothing is done right anymore. Lol
If your wanting to get into apk development there is a video guide tutorial that's excellent. Very comprehensive guide and its easy to follow along. Can't think of the OP's user name atm, I'll post a link later when I get home.
EDIT: Sorry for the delay, this isn't the video guide but not too bad- http://forum.xda-developers.com/showthread.php?t=1244196
[Ultimate Guide][Part 10 released][12/11/2011]Android App Development - From Scratch by, michael.the.don
"Hey, that's not a bug, that's a feature!" Linus Torvalds, 2001

How to program Android apps

I've never programmed an Android app before, but a few years back I did do a bit of Java programming on my PC. I'm looking for recommendations on a book that gives step-by-step instructions on how to program apps using the Eclipse IDE. I have tried the training found here:
http://developer.android.com/training/index.html​
but I need a lot more details on the fundamentals with lots of examples.
Pete
For a start you shall use mit app inventor by google
Sent from my GT-I9070 using xda app-developers app
Need help with the android API
I love android and more importantly, would love to develop for android . But the problem is I need some help on how to develop apps for android. Developer.Android is great, but there's no one for doubts and there are things that I cannot understand directly by looking at the code and other given info. I love XDA community because of their love for development, and I trust people at XDA for providing the right help.
I could really use some help on the issue, where do I look for getting familiar with API and every thing else to finally develop an app?
I am not asking for some complete guide books or something else like a complete tutorial (maybe yes but i think the they are hard to find and are not that substantial), just a happening place where there is some substantial material that offers a little more help on what developer.android has for develop.
Just let me know what's the best way for me to continue, even if it is sticking with developer.android and trying to understand it !!
AlexCoolBoss said:
For a start you shall use mit app inventor by google
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Thanks. I will try out the MIT App Inventor. Just curious, how does it compare with the Eclipse IDE for developing Android apps?
Pete
MIT App Inventor it is just for a start! You can t do very complicated things but it is the best for learning the basics...it has virtual emulators, some useful tutorials, you shall take a look
Sent from my GT-I9070 using xda app-developers app
AlexCoolBoss said:
MIT App Inventor it is just for a start! You can t do very complicated things but it is the best for learning the basics...it has virtual emulators, some useful tutorials, you shall take a look
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Thanks. I tried the first tutorial. It was fun, but seems like a game! I think I really need to get back to the Eclipse IDE and learn how to use it. Anyone have other suggestions to help me understand the fundamentals of Eclipse.
Pete
I started with this. http://thenewboston.org/list.php?cat=6
you can use eclipse with android sdk of course. :fingers-crossed:
if you want to make games with 3d or something like that you can use unreal or unity.
blazingwolf said:
I started with this. http://thenewboston.org/list.php?cat=6
Click to expand...
Click to collapse
Thanks. That looks very helpful. I'm now working on the second video with 198 to go .
Pete
Those are the tutorials to use.
Enviado desde mi XT912
Thanks for the tutorials! I'm in the same boat. I'm wanting to learn to develop, and the android and java sites leave some things a little unclear (to me anyways).
I built an app in one day, only resources were the Android developer website and StackOverflow.
I am 15 years old...
It's easy. If you want to do something, just search it on google. I had 0 java experience before!
EDIT: I recommend http://developer.android.com/training/basics/firstapp/index.html
Sent from my Galaxy Nexus running Android 4.2 JB
Th
Thank you
An app a day?
What app did you make in a day?
Mine (PhotoDream) took me 3 months, and It hope it will worth.
mDroidd said:
I built an app in one day, only resources were the Android developer website and StackOverflow.
Click to expand...
Click to collapse
elfranchu said:
What app did you make in a day?
Mine (PhotoDream) took me 3 months, and It hope it will worth.
Click to expand...
Click to collapse
Well you won't know it.
It is for Dutch students in my state/province/region. It is used for checking school schedules, check if student can stay at home (because a teacher is sick or w/e) and save schedules for offline usage.
ATM, my app is limited to support only 5 schools, wich are 10k students. It has that limit because the headmaster forbade me for the time being...
Anyway, it has a pretty neat layout and dus what it's supposed to do

Want to learn to program android apps and games.

Hi everyone, I have been using the Android OS for a few years now, and I love it. I have just decided today that I am no longer going to just watch from the sidelines as apps get released. I want to get my greasy little mitts in on the action.
I would really appreciate some advice on what I should start with. I would like to learn Java, and or Python. I just need to know what direction I should go in. I really want to create games. Any advice would be amazing
Sent from my DROID BIONIC using xda app-developers app
Here
For app Development Learn to make android apps
For Game we have one here
[GUIDE] Android Game Development Tutorial! (Beginners welcome)
May find More...
You shouldn't have started a new thread,search!
XDA Rules
Hit Thanx :good: if you see help coming your way
I just browsed, when I should have been searching lol... I will use those links. Thank you soo much
Go here codeacademy.com you can learn Java and Python
Sent from my SGH-I997 using xda premium
CinderCloud said:
Hi everyone, I have been using the Android OS for a few years now, and I love it. I have just decided today that I am no longer going to just watch from the sidelines as apps get released. I want to get my greasy little mitts in on the action.
I would really appreciate some advice on what I should start with. I would like to learn Java, and or Python. I just need to know what direction I should go in. I really want to create games. Any advice would be amazing
Sent from my DROID BIONIC using xda app-developers app
Click to expand...
Click to collapse
I really would advise learning java. A really good tutorial sight is thenewboston.com. It has a multitude of programming tutorials as well as android tutorials. After going through these tutorials, I would recommend using the andengine library for games as it makes collisions, physics, and animations much easier to deal with. Good Luck!
deathblade said:
Go here codeacademy.com you can learn Java and Python
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
codeacademy.com does NOT teach Java, only JavaScript. I searched for the Java course and there is none to be found.
try deitel and deitel
lanwarrior said:
codeacademy.com does NOT teach Java, only JavaScript. I searched for the Java course and there is none to be found.
Click to expand...
Click to collapse
try the deitel and deitel ebook for android programing it is a bit difficult if your a beginner but it sums up everything you need to know i find it great
you can even try the lynda series for android they are a straight forward approach and easy
CinderCloud said:
Hi everyone, I have been using the Android OS for a few years now, and I love it. I have just decided today that I am no longer going to just watch from the sidelines as apps get released. I want to get my greasy little mitts in on the action.
I would really appreciate some advice on what I should start with. I would like to learn Java, and or Python. I just need to know what direction I should go in. I really want to create games. Any advice would be amazing
Sent from my DROID BIONIC using xda app-developers app
Click to expand...
Click to collapse
I love android coding, and maybe I can teach u something.
I can't post links yet (this is actually my first post in the forums!), but I found the Android Bootcamp 2012 video series from NewCircle priceless. It's available for free on YouTube and it is based on the development of an entire app from scratch. It is slightly outdated, but very well made.
I also followed the Coursera's course on Android by prof Adam Porter: it's free as well and it just ended, so it's really up to date. It is based on a different approach though, covering different topics and providing several little projects, instead of a single one.
Imho though you do need some knowledge of Java. I came from a C++ background, so i was able to follow those courses while also learning bits of Java too, but starting with zero knowledge of both the Android api and Java could really be overwhelming, just warning you.
While following the Coursera's course, I saw people recommending a free course about Java taught by John Purcell on the Udemy platform (I might be wrong on the guy's first name).
Sent from my Galaxy Nexus using XDA Free mobile app
frabena said:
I can't post links yet (this is actually my first post in the forums!), but I found the Android Bootcamp 2012 video series from NewCircle priceless. It's available for free on YouTube and it is based on the development of an entire app from scratch. It is slightly outdated, but very well made.
I also followed the Coursera's course on Android by prof Adam Porter: it's free as well and it just ended, so it's really up to date. It is based on a different approach though, covering different topics and providing several little projects, instead of a single one.
Imho though you do need some knowledge of Java. I came from a C++ background, so i was able to follow those courses while also learning bits of Java too, but starting with zero knowledge of both the Android api and Java could really be overwhelming, just warning you.
While following the Coursera's course, I saw people recommending a free course about Java taught by John Purcell on the Udemy platform (I might be wrong on the guy's first name).
Sent from my Galaxy Nexus using XDA Free mobile app
Click to expand...
Click to collapse
After taking that Coursera clas by Prof. Porter I was able to put an app in the app store. Aww yea.
Yea me too, it was a really cool course. Are you planning on following the next course? It seems like a tough one!
Sent from my Galaxy Nexus using XDA Free mobile app
frabena said:
I can't post links yet (this is actually my first post in the forums!), but I found the Android Bootcamp 2012 video series from NewCircle priceless. It's available for free on YouTube and it is based on the development of an entire app from scratch. It is slightly outdated, but very well made.
I also followed the Coursera's course on Android by prof Adam Porter: it's free as well and it just ended, so it's really up to date. It is based on a different approach though, covering different topics and providing several little projects, instead of a single one.
Imho though you do need some knowledge of Java. I came from a C++ background, so i was able to follow those courses while also learning bits of Java too, but starting with zero knowledge of both the Android api and Java could really be overwhelming, just warning you.
While following the Coursera's course, I saw people recommending a free course about Java taught by John Purcell on the Udemy platform (I might be wrong on the guy's first name).
Sent from my Galaxy Nexus using XDA Free mobile app
Click to expand...
Click to collapse
Can you link me the videos? just want to be sure I have thesame video as yours.. Please pm/post me the exact link.
thanks
PM sent
Sorry, I still am too new to post links on the forums
Sent from my Galaxy Nexus using XDA Free mobile app

[Q] I want to learn how to develop for Android but...

I've been wanting to get into development more and more recently, and Android seems like a pretty awesome platform to develop apps for.
I ultimately want to develop a basis for a 2D OpenGL ES game that I can expand on, and also develop a chat client that works on XMPP and can detect when certain apps are opened and closed, and how long their open for.
I have... zero experience with any actual coding also, aside from maybe a few copy/paste edits on some random C++ stuff back in the day. Only real reason I haven't actually just "dove in" to Android development was because it looked... really confusing? Idk...
Is there any guides or learning methods anyone can recommend to help me out? I'm thinking I should just start from http://developer.android.com/training/index.html and just go from there, but is that the best place for beginners, or is that basically for people who have experience with some coding?
AW: [Q] I want to learn how to develop for Android but...
First you should watch the series on youtube from adam outler on how to build youd first app.
Sent from my GT-I9000 using xda app-developers app
---------- Post added at 07:59 AM ---------- Previous post was at 07:53 AM ----------
For games you can follow this guide: http://forum.xda-developers.com/showthread.php?p=28321618
Sent from my GT-I9000 using xda app-developers app
Just a bump
I'm still kind of interested in Android development, but I guess I'm kind of intimidated by how much I'd need to learn and the time required to actually produce any kind of usable app...
espionage724 said:
Just a bump
I'm still kind of interested in Android development, but I guess I'm kind of intimidated by how much I'd need to learn and the time required to actually produce any kind of usable app...
Click to expand...
Click to collapse
You can try eclipse IDE to make android apps but you must learn java and xml to do that... I'm currently learning that...
Sent from my Micromax A87 using xda premium
Another great resource for beginning Android development in the New Boston Android development tutorials http://thenewboston.org/list.php?cat=6. They cover topics ranging from the basics to making a simple game with OpenGL. And don't be intimidated by the time needed to learn everyone starts as a beginner when they learn something new but with practice you'll be writing great apps before you know it. The key is practicing with a positive attitude .
Sent from my SCH-I535 using xda premium

Categories

Resources