what is the best book to lurn about android development - Android Q&A, Help & Troubleshooting

hi,
i know java and i want to learn how to develop for android, i know that the best way is just to start writing little apps from tutorials. But i want to study the best way to develop with thoughts about battery life, background apps and etc. So i think that a good book will do the job.
What is the best book you can recommend about these issues (i want new book that talks about android 2.2+)?
thanks

Idk a book but if you watch some of the old google io videos they might help.
Sent from my R800x using XDA App

http://www.amazon.com/Android-Programming-Tutorials-Mark-Murphy/dp/0981678041/
http://www.amazon.com/Coders-Guide-Advanced-Android-Development/dp/098167805X/

Related

[Q] learning how to develop apps

i want to start making apps for android but dont know where to stat i have the sdk on my desktop but thats about it. If someone could please help me or push me in the next step please do so.
Just go to the dev guide on the Android website to start making your first Hello World app. As for language, Android (I could be wrong) uses Java. Again, I could be wrong.
Sent from my GT-I9000M using XDA App
Indeed, Android uses Java. I'd suggest learning it before attempting to program for Android or else you'll feel like it's gonna be too difficult. There's plenty of books on Java, and some powerful Google searching will lead you to step-by-step guides to learning Java.
Also, go through the Android Dev Center for a lot of information. There's plenty of guides there on things like 'how to design your app to flow with the overall android feel' and 'designing icons to fit general android homescreen look'.
You're gonna want to download Eclipse for Java Programming. It's a free Java development environment much like Dreamweaver and Visual Studio are for web development.
Oh, and PLAN! Like any good development project, your project will not get anywhere if you don't know where to start and when to end it.
Plan first. Then plan the planned elements. Java is object-based programming, and just like building a house each object needs to be solid or else it'll crumble to pieces.
Same here. Thx for the advice.
elindemann said:
Indeed, Android uses Java. I'd suggest learning it before attempting to program for Android or else you'll feel like it's gonna be too difficult. There's plenty of books on Java, and some powerful Google searching will lead you to step-by-step guides to learning Java.
Also, go through the Android Dev Center for a lot of information. There's plenty of guides there on things like 'how to design your app to flow with the overall android feel' and 'designing icons to fit general android homescreen look'.
You're gonna want to download Eclipse for Java Programming. It's a free Java development environment much like Dreamweaver and Visual Studio are for web development.
Oh, and PLAN! Like any good development project, your project will not get anywhere if you don't know where to start and when to end it.
Plan first. Then plan the planned elements. Java is object-based programming, and just like building a house each object needs to be solid or else it'll crumble to pieces.
Click to expand...
Click to collapse
Actually, you're doing things the hard HARD ...HARD way....
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go. It takes far less time to learn JavaScript , CSS and HTML then it does to learn pure JAVA, and then learn to implement Android's API.
There are a few things that Titanium Mobile can't do, but they are always working on it to make it better. And of course - it's free
I've made a few apps using it. Including an HTML eBook reader, Chinese Flashcard App, and a Simple Chat Client.
Their JavaScript API takes a bit to get used to, but after that, you can easily spit out a simple app in about a day or so.
I have a web-app Template that lets me dump a Web-app (html/css/js) into a project, and spits out a nice new shiny Android app ready for the market.... I also wrote code that lets you access the Menu Button on android too. So it's not like using PhoneGap where it's just a Browser session with an icon on your phone.
PM me if you're interested, and i'll show you everything i learned about Titanium Mobile so far (i'm still learning actually). Or if you want an app done, i can do it for you... free if it's easy enough
DaoMingJin said:
Actually, you're doing things the hard HARD ...HARD way....
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go. It takes far less time to learn JavaScript , CSS and HTML then it does to learn pure JAVA, and then learn to implement Android's API.
There are a few things that Titanium Mobile can't do, but they are always working on it to make it better. And of course - it's free
I've made a few apps using it. Including an HTML eBook reader, Chinese Flashcard App, and a Simple Chat Client.
Their JavaScript API takes a bit to get used to, but after that, you can easily spit out a simple app in about a day or so.
I have a web-app Template that lets me dump a Web-app (html/css/js) into a project, and spits out a nice new shiny Android app ready for the market.... I also wrote code that lets you access the Menu Button on android too. So it's not like using PhoneGap where it's just a Browser session with an icon on your phone.
PM me if you're interested, and i'll show you everything i learned about Titanium Mobile so far (i'm still learning actually). Or if you want an app done, i can do it for you... free if it's easy enough
Click to expand...
Click to collapse
Wow, I'm very interested. I might check it out.
sent from my pimp hero running Froyo CM6 and the XDA app
If you know the C or C++ language you could try out MoSync, depends what you like, some programmers like the level of control and speed you get from C++. If your content with simpler apps then maybe phonegap or appcellerator for you.
I guess that when mobile apps get more sophisticated javascript programs will be just as complex as C++ programs.
Thats my view, but then I like C++ better.
/Tony
MoSyncTony said:
If you know the C or C++ language you could try out MoSync, depends what you like, some programmers like the level of control and speed you get from C++. If your content with simpler apps then maybe phonegap or appcellerator for you.
I guess that when mobile apps get more sophisticated javascript programs will be just as complex as C++ programs.
Thats my view, but then I like C++ better.
/Tony
Click to expand...
Click to collapse
It really depends on how much control and you really need. If you're going to write games, then you do need speed that C++ and the Native Application Development API on android can give you. If you're writing a social networking app, the speed of C++ would really be an overkill.
As far as i've read, PhoneGap still has a lot of issues. And the build process is a bit more complicated than on Titanium Mobile.
If you're just using the regular Android API to write apps, i don't notice a lot of difference in speed execution between writing it in pure Java, or using Titanium mobile (using native code and UI elements - i don't mean putting everything into a WebView).
The current app that i'm writing now i don't think can be written using Titanium Mobile or PhoneGap (unless i added some native functions and did my own fork of PhoneGap).
More or less, i'm writing an App for Android and JRE/Linux systems that will allow me to enumerate, and access USB status bits, and USB data frames of a given USB device, and then allowing that USB device to be accessed through a TCP or UDP connection.
I might be able to do this with Titanium Mobile, but i don't think i can. As the only files you're allowed to access are on the SD card, application data directory, and temp directory.... i think there's one other place you're allowed to access too, but i never used it. However later today i might just try to see if i can access the /Dev/DSP01 (aka sound card) on an android device. If i can, i think i could write it using titanium mobile. I'm already halfway done with this app in pure java, so i wouldn't actually rewrite it in Titanium Mobile now.
DaoMingJin said:
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go.
Click to expand...
Click to collapse
Thanx mate!
If you looking a book or something to teach you the basics Beginning Java Programming for Dummies and Android Application Development in 24 Hours are good reads.
I'd rather not fill the forum with more threads so I'm just going to ask my question here. What is the best way to read the android dev guide on the device itself? Just going to the site directly? Ideally I'd like a pdf or something designed to be read on a small screen. The site can have formatting issues when read on a small screen.
Sent from my SPH-D700 using XDA App
I've been developing for a long time (nearly 30 years), and whenever I need to learn a new language I start with the Sams range, "Teach yourself whatever language in X days/hours". They're pretty good and this is available for Kindle, which is great if you use the Amazon Kindle app...
http://www.amazon.co.uk/Teach-Yours...1_fkmr2_2?ie=UTF8&qid=1287485537&sr=8-2-fkmr2
It obviously costs, but I really do rate those books as brilliant starting points. The rest is google and friends on here.
Hope this helps - good luck mate.
Personally, I've been coding in Java for what... four years now? I'm feeling dwarfed here by johncmolyneux but honestly, the best way to learn is to not use an IDE like Eclipse, but to use something that you have to hand-code everything yourself, such as Geany! You learn fairly quickly after writing a few applications.
If you are thinking "titanium", "mosync" or "phone gap" it is worth doing a bit of background research. There are several extremely powerful tools out there that can help you build cross platform apps - these are among the top ones.
bit more discussion about this here: http://forum.xda-developers.com/showthread.php?p=16703287#post16703287
There are a few useful reports comparing them - check out ours by googling "triballabs cross platform"
The Google App Inventor makes it pretty easy to create your own Android apps. Best part is you don't need to learn any programming languages. You won't be creating anything too complicated like a video game for example, but it's a good start nonetheless.
http://appinventor.googlelabs.com/about/
If you want to learn the basics of Java, then please check out a book called as "Head First Java". They really explain the basics with the help of real life examples to make things much simpler so that people understand.
Beginner app projects
I'm also just getting started with app development. Something I've been looking for is a beginner app project. Wish I could find a walkthrough of a simple app like a game of Hangman or something like that. I've been through the android developer training web site and got some good info but some things I'm still a little stuck on. Id Love to see an actual app (rather than just a mock up of some fields and buttons) and then a slightly dumbed down explanation of the code. Might be a lot to ask but man it would be great!

[Q] app for streaming music??

Hello xda, as u can see i am new to this site.
I joined because I recently had an idea to make an app that would stream music to my phone. I want anyone to be able to use this app.
Here are my questions tho:
First of all i have no clue where to start. I have seen some ways on how to stream online radio stations, but thats not what i am looking for. I want this app to be like a radio station, but play only certain artist off of my computer. It does not have to be fancy. Im looking for a program to use to develop this app, or insight on how to do it. PLEASE help if anyone understands what i am asking for lol
derrickthaller said:
Hello xda, as u can see i am new to this site.
I joined because I recently had an idea to make an app that would stream music to my phone. I want anyone to be able to use this app.
Here are my questions tho:
First of all i have no clue where to start. I have seen some ways on how to stream online radio stations, but thats not what i am looking for. I want this app to be like a radio station, but play only certain artist off of my computer. It does not have to be fancy. Im looking for a program to use to develop this app, or insight on how to do it. PLEASE help if anyone understands what i am asking for lol
Click to expand...
Click to collapse
First things first I would start by learning Java and taking a look at the official Android developer documentation and training. For developing your app the Eclipse IDE and the ADT bundle (Android Development Bundle which includes the Eclipse IDE and Adroid SDK) will include all the tools you need to get started. Once you have worked through writing some basic apps,I would recommend checking out this tutorial on how to make a basic music streaming app. While the tutorial is outdated and uses an outdated version of Android the principles and concepts shown still very much apply today.
I have limited knowledge of Java already, just basics. In that TUT he is using http to stream his music. My question for this is there anyway to not do it via http but rather straight off my hdd or even cloud?? Also I do appreciate you replying so quickly, the TUT you sent is very helpful.
derrickthaller said:
I have limited knowledge of Java already, just basics. In that TUT he is using http to stream his music. My question for this is there anyway to not do it via http but rather straight off my hdd or even cloud?? Also I do appreciate you replying so quickly, the TUT you sent is very helpful.
Click to expand...
Click to collapse
What your looking for is something similar to this app here. One way would be to use cloud storage api's for Android such as Dropbox, Google Drive, etc. to stream the music. Directly off your hdd do you run Linux or Windows because you could look into integrating Samba share as a possibility. Also I would recommend then brushing up on your Java knowledge to make your Android programming experience more enjoyably and seamless (Not having to look up new Java things every minute).
App Making Program
derrickthaller said:
Hello xda, as u can see i am new to this site.
I joined because I recently had an idea to make an app that would stream music to my phone. I want anyone to be able to use this app.
Here are my questions tho:
First of all i have no clue where to start. I have seen some ways on how to stream online radio stations, but thats not what i am looking for. I want this app to be like a radio station, but play only certain artist off of my computer. It does not have to be fancy. Im looking for a program to use to develop this app, or insight on how to do it. PLEASE help if anyone understands what i am asking for lol
Click to expand...
Click to collapse
I love your idea, but really love your desire to make it yourself. A tutorial is the best way to learn app creation. When you "walk" thru the process, or learn as you go, you are learning a new skill that you can expand into other avenues.
I have taken app creation to making my website so others can take their great idea and make it into a reality....good luck and have fun!
DLL
website owner
http://easyappcreation.com

[Q] Book suggestion(s) needed (preferably German book(s))

Hello guys,
I wish to read about Android development or what I need to basically know anyways, if I would want to create, build, modify, add features etc. to rom's/kernels as well as coding apps.
I'm not looking for a simple way to archive this, I'm rather looking for learning about the real coding.
Would you be so kind and suggest me good book(s) for that?
Since I'm German, I'd preferable read German books, but if the best books are in English, then I'd rather go for English ones.
Thank you all in advance.
You'll have a hard time finding german books about android platform development.. At least I didn't find any.
Embedded Android by Karim Yaghmour is a pretty good reading to get into Android internals, the aosp and a custom device tree in the aosp.
But it assumes you have some knowledge about Java, C, C++ and the likes.
Edit: Also Android Internals: A Confectioner's Cookbook by Jonathan Levin gets often recommended though I didn't read it yet so I can't give you a personal opinion on it.
Sent from my AOSPA One m8 using XDA Free mobile app

Help

Hi im looking to develop a game or two and have lots of ideas but have no idea where to even start or begin. Looking for help and have some really good ideas about simulation games. Please help of how to get started thanks
Sent from my GT-I9505 using Tapatalk
This largely depends on how well you know about programming - if you have no experience at all, you should first consider downloading any IDE, for example, Eclipse or IntelliJ, and use any of the uncountable online tutorials (just google for "java tutorial"). Once you know the basics and created some applications, you can use Android Studio and (again with the help of tutorials and templates from the web) create your games.

You are new to Android development? Consider reading this post!

Hi everyone. I want to share some resources that may helpful for anyone who still don't know where to start.
If you don't have any background, consider learning programming using Scratch or Alice. It seems just suitable for kids but actually for everyone who want to think logically.
If you have some basic background and want to have solid Java background (which I recommend) before moving to Android development, you should start with "Head First Java". They also have "Head First Android", but personally I don't like it so much.
After you have a solid Java background, you can start learning Android using this free course on Udacity. It has 5 parts that cover everything that you need to make literally any app on Play Store.
After you completed the above course, let's make your own project. You don't have to learn other courses or textbooks in order to make an app. You should try to make your own app using what you have learned with the above course. When you making your project, you will encounter real-life problems. By solving it (using Google, StackOverflow, XDA, other tech forums, ...), you will learn more than any course or textbook can help you.
I hope you will find this post helpful for you. If anyone has a question, please leave your question below
Hi, new user here. Thanks for the read
Hi,
I just signed up on this forum and came across this thread and so decided to post a question. First, i have been a full-stack developer and now working on Cloud, AI/ML but android mobile app development is new to me and i am pursuing a self-paced training. My intention is to start off by learning the basics of android and the ide, the various elements and work my way up to the advanced level. Then start learning and work on flutter. I have a fair bit of experience on Java as i have developed java enterprise and web application (JSP, applet based) in the past.
Right now, i am looking at the Android Basics to Advanced nanodegree program offered by Google on the android site, udemy, udacity, etc and lots others on the internet. just wanted your opinion which course would be a good place to start.
Thanks.

Categories

Resources