Learning android development - Android

Hello Xda community , I want to get into java and android development. I want to develop apps for android but I have no experience with programming languages. Can anyone here suggest me some good books to get started with? Your help will be appreciated.
Regards

atta123 said:
Hello Xda community , I want to get into java and android development. I want to develop apps for android but I have no experience with programming languages. Can anyone here suggest me some good books to get started with? Your help will be appreciated.
Regards
Click to expand...
Click to collapse
you will need Cpp knowlege too here a book for it :The C++ Programming Language (it's from the developer of C++ but it's prety difficult to learn from it) I think that Stefan R. C++ for dummies will be better for you

Two good books
Android Application Development: Programming with the Google SDK
and
Professional Android Application Development
are two pretty good books. The latter is for people with some previous programming experience so you might want to give the first one a try.
---------- Post added at 07:48 AM ---------- Previous post was at 07:35 AM ----------
Also be sure to take a look at developer.android.com/develop/index.html it's a great source of information.

A very comprehensive book in Android programming is Professional Android 4 Application Development, from the author Reto Meier. It is very up to date, covering the Android 4.x APIs. There is a Kindle edition, as well (the one I´m reading).
But, IMHO, the best introductory text in Android Programming is the Android Developer website (developer.android.com). Look under the section "Develop", for the subsections "Android Training" and "API Guides".
Regards,
Bruno

Related

Starting with Android app development

I have very little programming experience, just some in C and C++. But I'd like to start learning how to develop for Android.
Any good books/ebooks which will help me started? Or any guide or anything such?
Ill help you out if you want. Email me [email protected].
i wanted to start too, i just wanted to know if it is harder to learn to program for android than for example to programm with c#. and what's the best way to get started
meaningQo said:
i wanted to start too, i just wanted to know if it is harder to learn to program for android than for example to programm with c#. and what's the best way to get started
Click to expand...
Click to collapse
Just like me...
1. Start with learning Java as a programming language.
Don't waste time on learning how to create GUI in java as it is irrelevant to Android, but make sure you know the basics of how threading works, what collections you can use, learn the java event listeners model (concept only) etc.. Also make sure you're using Eclipse as it would probably be your primary IDE for Android development. For an experienced C++ programmer this step should take no longer than a week.
2. Install the Android SDK (follow http://developer.android.com/sdk/installing.html).
3. Read the developers guide basics.
4. Learn from examples!
The Android SDK comes with many example projects, just add a new Android project in eclipse and choose "from example" in the window that will follow.
There are also many open source Android projects you can learn from.
roee88 said:
1. Start with learning Java as a programming language.
Don't waste time on learning how to create GUI in java as it is irrelevant to Android, but make sure you know the basics of how threading works, what collections you can use, learn the java event listeners model (concept only) etc.. Also make sure you're using Eclipse as it would probably be your primary IDE for Android development. For an experienced C++ programmer this step should take no longer than a week.
2. Install the Android SDK (follow http://developer.android.com/sdk/installing.html).
3. Read the developers guide basics.
4. Learn from examples!
The Android SDK comes with many example projects, just add a new Android project in eclipse and choose "from example" in the window that will follow.
There are also many open source Android projects you can learn from.
Click to expand...
Click to collapse
good advice. but consider IntelliJ as well as Eclipse. i find IntelliJ nicer and faster to use
Another useful thread on this topic is here:
[Q] How did you learn to develop?
http://forum.xda-developers.com/showthread.php?t=1206082
As mentioned there, it would be good to get a general noob dev guide set up on here so that people can get started with developing.
Well i just started learning development in android as well,i have been trying hard to find sources to help me understand until i stumbled upon a gold mine....!
here it is:http://www.youtube.com/user/CornboyzAndroid
http://www.youtube.com/user/mybringback
this guys videos are awesome explains in detail....
Hope this helps all new learners like me,also the user in those videos has been doing this out of his busy schedule for free,if those videos teach you something or help you in anyway then please consider making him a small donation....!
I would also suggest to post your questions (or find answers) on the stackoverflow website (http://stackoverflow.com). It is full of smart guys
Another approach would be to build your apps in html / javascript using frameworks like JQuery, and then use a tool like PhoneGap which will bundle it into an app that will run cross platform
Found another good book:
android application devlopment for dummies.....!
great book see if u can find it,if u dont then let me know i will upload it ...!
its the best book i have seen for android
edit: ok here is a link for the book,i am doing this just because many ppl pmed me to upload it,if the mods feel the link shouldnt exist u can always delete it
http://stor1070.uploaded.to/dl/JnhVLWv0qz
link added to the above post
Thanks for this, good resources.
adicool said:
Found another good book:
android application devlopment for dummies.....!
great book see if u can find it,if u dont then let me know i will upload it ...!
its the best book i have seen for android
edit: ok here is a link for the book,i am doing this just because many ppl pmed me to upload it,if the mods feel the link shouldnt exist u can always delete it
http://stor1070.uploaded.to/dl/JnhVLWv0qz
Click to expand...
Click to collapse
Page not found
Error: 404
I would love to get that book but the link is not good. Thanks anyway.
i will be uploading it tonight then,u will see a link soon
Found the book here for download: http://www.google.com/url?sa=t&sour...s61ws8oFg&sig2=vQS3EtQFTFUaJWLnsmYGXQ&cad=rjt
Sent from my Transformer TF101 using Tapatalk
Ok another few of my good resources as always for laerning android:
Get hold of Android course videos by Plural sight
Android with java essential videos by Lynda.com
Android using essential java by O reilly
adicool said:
Ok another few of my good resources as always for laerning android:
Get hold of Android course videos by Plural sight
Android with java essential videos by Lynda.com
Android using essential java by O reilly
Click to expand...
Click to collapse
I have all 3 . They are really great sources. I've been learning development on android past 2 months.
Sent from my SAMSUNG-SGH-I997 using xda premium
you can also develop apps in adobe air. I have been able to port over some of my flex code into adobe air. You can compile into android, blackberry playbook, and the IOS with flash builder 4.5.1 only problem is flash builder is not free.
I'm currently churning my way through Thinking In Java. There's a free version on the official mindview.net website.
Learning Java as a programming language will pay off in the long run (I believe) as C# shares many fundamental areas with Java and so adapting to it should be easier if you have a good foundation in Java.
If you have previous experience with C++, then Java should not be too big a step for you.
I've heard that all those "Java for Dummies" books are pretty useless as they focus a lot on basic stuff and less on programming structure/patterns, etc.
as for the leap from Java -> Android Apps, I think the official android dev site is pretty sweet.

Build own App

Hee,
I was wondering what is the best program or site to build your own android apps?
Jay448
google
you are long way from home, my friend. there is GOOGLE and your going to spend a day on reading its not like posting on this forum.
the web site "Stack Overflow" helps me a lot!
and if i had problem,i google it.
If you have to ask, app developing probably isn't for you...
The official Android Developer's Guide has a pretty good intro to Android app development. However, you need to know how to program in Java before you start with this guide.
If you know C++ you could make it without Java, since you can build apps using C++ if your target platform runs Android version 2.3 or higher. I would however recommend learning how to develop apps in Java first.
Sorry, I can't link to the developers guide because this is my second post in this forum and outside links are not allowed, but you could search for "android developer guide" on google and you should find it.
Happy deving, wish you best of luck
In my experiment, best way to learn new tech is try to make something with it rather than read document and tutorial.
There are many open source android on code.google.com, choose one of theme then try to custom it by adding feature, improve user experiment...
anddev and stackoverflow is good place to solver issue.
mobitourist said:
In my experiment, best way to learn new tech is try to make something with it rather than read document and tutorial.
There are many open source android on code.google.com, choose one of theme then try to custom it by adding feature, improve user experiment...
anddev and stackoverflow is good place to solver issue.
Click to expand...
Click to collapse
developer.android.com
I actually just started learning Java and it's quite difficult for a beginner to learn all this stuff in short amount of time. It will probably take years to fully understand this sort of stuff.
Sites to learn Android App Development from
Lars Vogel Android Tutorial
Official Android Developer Site
TheNewBoston Video Tutorial on YouTube
The best software to develop Android Apps would be
Eclipse - Juno - Either the Java or the JEE version (I personally use the Java x64 version)
Photoshop - for image editing
Illustrator - for SVG based image editing
There are instructions on the Android Dev Site on setting up Eclipse for App Dev
PS-im new so i cant post url's if u want the specific url's feel free to PM me

[Q] New to development!

Hey im a programming student in my second year and ive been wanting to play around with some android development (mostly because my school doesnt teach java or php. Im pretty experienced with visual basic and C#. But my questions is can someone help me out with a link to or something where I can take a look at some open source code for some android apps? It can be as simple as tic tac toe I dont car. Im just basically doing some research myself. Also is eclipse the best compiler for android development? Thanks
You can find quite a number of examples under 'Resources' on developer.android.com.
You may be interested to know that Eclipse is not a compiler, it is an Integrated Development Environment (IDE). What is better or not is largely a personal preference, but starting out you are likely to find more tutorials assuming you use Eclipse than anything else.
Source of pre-installed Android Appliaction is open. And you can program with eclips for Android App.
Sent from my LG-SU760 using XDA
Android is open-source, but not the apps.
You can run Eclipse, and create a new project from existing samples. You will be able to choose from a list (this samples come from the sdk, if you downloaded them).
There are some games (snake, ...) and demo apps like API demos.
And Eclipse is very good for Android development, especially if you use the plugin ADT tools.
I am more than happy to have all the eyes I can on my code. I would post a link, but (no rant here)...
AWOL: ArchWiki Offline
by
Tetractys Productions
Search for this on the Google App Store with search term "archwiki".
The code isn't great as I am a novice with both Java and Android, but you will find use of Activities, WebViews, Menus, using external Jars and perhaps a little more. If your scholarly background leads you to make a suggestion or two... please do.
Also... don't buy most of the books. They suck. The "cookbooks" seem pretty good and the Android Developer Documentation and Stackoverflow are your friends. I wasted enough money on Android books I will never read. Hope you don't fall for that too.
Rant:
10 post requirements encourages low quality posts. Perhaps its a good trade-off, but from where I'm sitting I'm drinking HaterAde.

language for android app development

Hello , i have an IT project lined up regarding the programming of an android app (a high level)
i would like to know that which is the best free book/pdf document is available online for learning android programming.
i have started learning python, i just wanted to know whether it can help me in any way?
Emmm....I think python won't help. By the way what languages do you know? If you like you can continue your project with Mono Android. Which is compatible with Microsoft Visual Studio and you can do many things easier with it. In that case you have to know C#. Here's the thread with many links. http://forum.xda-developers.com/showthread.php?t=2223114
Sent from my SonyX8 using Tapatalk 2
---------- Post added at 11:57 AM ---------- Previous post was at 11:55 AM ----------
Here's the thread for setup Mono Android. http://forum.xda-developers.com/showthread.php?t=2223010
Btw if you would like to go on this, pm me problems you have, I will help you as I can. Good luck.
Sent from my SonyX8 using Tapatalk 2
virk36 said:
Hello , i have an IT project lined up regarding the programming of an android app (a high level)
i would like to know that which is the best free book/pdf document is available online for learning android programming.
i have started learning python, i just wanted to know whether it can help me in any way?
Click to expand...
Click to collapse
Do yourself a favor and simply use Java if possible. That is how they intended to develop on Android. In my experience anything else is good only if specifically needed.
JAVA is the most used language to make apps for Android but there are alternatives and the biggest I see is Mono fro Android which uses C# as a programming language
const_char said:
Do yourself a favor and simply use Java if possible. That is how they intended to develop on Android. In my experience anything else is good only if specifically needed.
Click to expand...
Click to collapse
I second that. Android is mostly designed around C and Java. Even if you code C/C++, you sometimes have to use JNI to call back into Java, because some functionality is only exposed in a Java package, not in native code.
So Java is the best way to make full use of the Android platform, and gives you the best compatibility. Most tools, documentation and other resources are also aimed at Java development.
Java is default android development language
virk36 said:
Hello , i have an IT project lined up regarding the programming of an android app (a high level)
i would like to know that which is the best free book/pdf document is available online for learning android programming.
i have started learning python, i just wanted to know whether it can help me in any way?
Click to expand...
Click to collapse
you can develop android app with python but maybe your released app size is so big
because your app must statically have python interpreter.
it is not easy stuff, if you have not many experience of android development.
python is not too far from java or c/c++ so it may help anyway, but now you should go to java ...
but the most important is now to know how to use the Android framework
Nowadays, Java is the most useful language to create application for android, but I will prefer mono for C# as a programming language.
yeah...man u should use java it would really help u.....i m 14 i too wanna develop apps...so i learn JAVA it's the best ....
By the way gud luck with ur project
Sent from my IRIS402 using xda app-developers app

[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

Categories

Resources