Books or tutorials - Android

Hello!
Thanks for taking the time to help!
So i am trying to create my own rom for the nexus s, and I am almost done setting up the environment on my debian Linux vm. I was wondering though, is there some sort of step by step tutorial to get the android source for debian? I'm stuck on trying to get the correct repositories.
Also for rom building, what exactly do I have to change once I get the source?
One last thing, are there any good books/tutorials for rom/kernel building? I'm still trying to improve my c and Unix skills
Thanks!
Sent from my Nexus S using XDA App

I found many good books at google.. including about java, linux, c...and much more

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.

[Q] Best Way To Start Developing?

I have NO knowledge of developing at all but I would like to begin building AOSP Kernels and have a very special script in mind.
i found this, i read it and became very intimidated.
now i want to do it too
http://wiki.cyanogenmod.com/index.php?title=Building_Kernel_from_source
NewZJ said:
i found this, i read it and became very intimidated.
now i want to do it too
http://wiki.cyanogenmod.com/index.php?title=Building_Kernel_from_source
Click to expand...
Click to collapse
Can this be translated to english?
I'm trying, I'm starting small by learning command line, i have kubuntu up and running and successfully have amarok configured
I am not a dev, but I do understand how OS/kernel/hardware interaction works somewhat and kernel development is probably the most difficult thing to develop. Especially when HTC only releases Kernel for their Sense version of Android. Sense is so intertwined and intrusive that most drivers in HTC's source will not work with AOSP Android and will probably have to be recompiled or modified in some way for them to work.
It may be easier to start small with making an app or theme. You may also learn stuff from visiting and reading in the Android Development and Hacking forum here.
I'm not trying to dissuade you from doing what you want, because if you can start at making and AOSP kernel then more power to ya. I am just informing you that this may be the most difficult place to start if you want to get into Android development.
So basically what this details is half setting up the environment necessary to make changes to the CM7 Kernel.
This is rather difficult stuff though. It's not a place to start out. Instead try making your own ROM. Look up dsixda's kitchen.
You might also want to get into learning a programming language. My personal favorite is Python.
Android is built using Java which there are good tutorials online for. I personally find Java annoying, but that's because I know Python. The style and syntax of Python is heavily different from Java.
Trial and error buddy just always have a nandroid for your builds and know the fastboot commands for starters if things ever get ugly
Sent from my PG86100 using Tapatalk
Yeah. I'm not really skilled with command though. I just know random commands for adb and terminal emulator.

[Q] Where should I start if I want to learn how to develop Android apps?

I'm wondering what are the steps I should take to learn/know how to develop apps for Android OS.
It would be very appreciated if you would consider me as a complete nooblet and advised me what I should learn/study.
For example, first thing I assume I should do, is study to code/language for Android platforms. So what is it?
What are the necessary development environment required? (Linux PC?)
My ultimate goal is to be able to create a launcher (ex. Go Launcher Ex).
I'm willing and able to invest my time into properly learning how to develop apps for Android, and I just need some help on an outline of a
syllabus, per say, of how I should progress with my studies.
On another note, I was wondering what the difference is between Launchers and Themes?
I was reading up on this Theme guide http://forum.xda-developers.com/showthread.php?t=916814 and it got me wondering if this only pertains to themes
or ADW launcher?
As you can see I'm quite confused
Thank you for your time.
Download SDK and start looking at the examples. You'll find an excellent step-by-step tutorial at developer.android.com/training/basics/firstapp/index.html
http://www.xda-developers.com/xda-tv-2/how-to-build-an-android-app-part-3-arduino-development/
refer this series of 5 awesome episodes by Adamoutler
Thank you for the replies
I will look into every mentioned content.
Linux seem's the right choice, for app development and ROM development, i personally use Linux for ROM development, kernel compiling also most of tutorials are based on Linux, and for app development i use windows, you can do both on windows but i prefer a full Linux OS that Cygwin for more complex Android stuff.
hmmm, as I stated above, my ultimate goal is to create a launcher of my own which I can create themes and customize at will.
Launchers fall into the Apps category if I'm not mistaken, so I wouldn't need another testing platform, and just use my trusty ol' PC with Win 7 x64, right?
Creating Launchers would be an 'Advanced' step in App development. First you have to get used with the Eclipse and android-sdk, debugging, editing and modifying the xml's etc. So I'd suggest you to take some sample tutorials based on App development. If you have enough knowledge in Java, then its so easy. But getting straight into creating Launchers would be slightly difficult IMHO.
Anyways I've created some Threads (You can see by visiting my Profile) based on beginner level app development. If you're interested you may refer and do as mentioned in the guide.
~Cheers
So the initial step I should take is learn comprehensive Java.
Thanks for the input.
coolsandie said:
Creating Launchers would be an 'Advanced' step in App development. First you have to get used with the Eclipse and android-sdk, debugging, editing and modifying the xml's etc. So I'd suggest you to take some sample tutorials based on App development. If you have enough knowledge in Java, then its so easy. But getting straight into creating Launchers would be slightly difficult IMHO.
Anyways I've created some Threads (You can see by visiting my Profile) based on beginner level app development. If you're interested you may refer and do as mentioned in the guide.
~Cheers
Click to expand...
Click to collapse
I started learning not to long ago as well, and I have found that youtube is pretty good. I can't sit and read books for a decent amount of time, so videos really help me. Here is one I have been watching :
http://www.youtube.com/playlist?list=PL2F07DBCDCC01493A&feature=plcp
or this bootcamp series is pretty good.
http://www.youtube.com/playlist?list=PLE08A97D36D5A255F&feature=plcp
I downloaded all the videos so I can watch whenever and jump around. Feel free to pm me, I have some more resources...
Just picked up a Java book :fingers-crossed:
In addition, looking into various Java beginner tutorials to back up the readings.
Hopefully, after I gain some basic understanding about Java (language), my transition into app dev for Android will be easier
AER0 said:
Just picked up a Java book :fingers-crossed:
In addition, looking into various Java beginner tutorials to back up the readings.
Hopefully, after I gain some basic understanding about Java (language), my transition into app dev for Android will be easier
Click to expand...
Click to collapse
If a Launcher is your ultimate goal, go with Java.
If you would also settle for lesser goals like simple timer apps, barcode scanner apps etc, trash your Java book.
Start with Python and the Python for android. You will be able to programm your first semi-sophisticated apps within a week.
AER0 said:
Just picked up a Java book :fingers-crossed:
In addition, looking into various Java beginner tutorials to back up the readings.
Hopefully, after I gain some basic understanding about Java (language), my transition into app dev for Android will be easier
Click to expand...
Click to collapse
i can suggest a few books...java for android developers , the android cookbook , linux in a nutshell , linux kernel by o'reily
Try to modify some android app/games first just like what im doing now:good:
Learning Java is for sure the first step, then look at the SDK examples.
Will do :good:
Thanks for the suggestions

[Q] Android: How to get started developing learn to develop?

I am very interested in learning how to develop for Android. Could anyone let me know what the best way is to get started I have installed the Java JDK and Eclipse and so far created the Hello World! App as per Google's own how to get started tutorial.
I have no experience programming except very basic HTML (Dreamweaver).
My goal is to learn how to develop for Android, from as much as I know it is Java based, should I learn Java before trying to do anything else, or should I just follow Google's own Tutorial ?
If there are books to get which ones are the best ones to get going? Which websites are the best ones to learn? What other resources should I consider?
I don't mind having to spend a couple dollars, but I have looked around and where I live there are no Java courses available.
You should first learn Java or at least the basics on Object Orientated Programming.
I want to pass you 2 links for video tutorials about Android Programming, maybe will help:
http://www.xtensivearts.com/
http://www.youtube.com/playlist?list=PL34F010EEF9D45FB8&feature=playlist-comment
maximillion82 said:
I am very interested in learning how to develop for Android. Could anyone let me know what the best way is to get started I have installed the Java JDK and Eclipse and so far created the Hello World! App as per Google's own how to get started tutorial.
I have no experience programming except very basic HTML (Dreamweaver).
My goal is to learn how to develop for Android, from as much as I know it is Java based, should I learn Java before trying to do anything else, or should I just follow Google's own Tutorial ?
If there are books to get which ones are the best ones to get going? Which websites are the best ones to learn? What other resources should I consider?
I don't mind having to spend a couple dollars, but I have looked around and where I live there are no Java courses available.
Click to expand...
Click to collapse
Having an understanding of Java will be good, as you'd be more comfortable when writing or understanding the code structure/syntaxes. You can also learn while doing Tutorials on Android, but scope on Java will be limited though. So basically its your choice.
Tutorials from the Android developer website is good. You can also consider going to these websites, as they have some good resources :
Video Tutorials : http://thenewboston.org/list.php?cat=6 (Already specified by above person)
Another set : http://www.vogella.com/articles/Android/article.html
Linux.com's series of Fresh Tutorials : http://www.linux.com/learn/docs
And if you Google for more Tutorials, you'd get more too. Cheers!
djeordje said:
You should first learn Java or at least the basics on Object Orientated Programming.
I want to pass you 2 links for video tutorials about Android Programming, maybe will help:
http://www.xtensivearts.com/
http://www.youtube.com/playlist?list=PL34F010EEF9D45FB8&feature=playlist-comment
Click to expand...
Click to collapse
Much appreciated thank you very much. I'll get started on that right now.

I wanna learn android coding

Ok ok I know there are a million tutorials if I just google this but I was hoping one of our local experts would give me some direction on how to get started. I have to start from the ground floor kearning languages etc. So what program(s) will I need? Know of any good tutorials?
Sent from my SCH-I545 using xda app-developers app
Get this
Text Editor
Get this
Archive Tool
Read all of this
Everything Android Development
Get this
Android SDK
Get this
Java Runtime Environment
Get this
Dsixda's Kitchen
Read all of this
Beginners guide to development
Read all of this
General Android Cooking
As far as learning the coding itself... Google it. There are probably a billion different links and walkthroughs on all sorts of coding. My suggestion is to focus on one small aspect of android development to begin with. For me it was kernel and other performance tweaks. But I already understood the code well enough to skip the basics as I was a linux nerd first.
You da man...Dubbsy
Search Android Development for Absolute Beginners on YouTube
This is a really good playlist on YouTube by mybringback, you don't even need to know any languages, you kind of learn to use JavaScript, XML etc on the way. The whole playlist is travis guiding you through making an android app
You need ADT/ Eclipse I think, he tells you all you need in the first video
Sent from my SCH-I545 using xda app-developers app

Categories

Resources