Best Way To Learn Android? - Droid X General

Hey everyone I would like to know the best way to start learning android. To start off I know that Java is heavily used and so is XML. XML is usually the theming part and Java is for Rom building if I'm correct. I'd like to know how to go about learning it and which path to take first. Do I buy books? Do I follow guides online? Do I look up youtube videos? Also do I have to be smart to learn Java or XML. I am no genius but I consider myself pretty smart if I use repetition and keep pushing myself to learn which I am fully capable of doing. If someone could tell me on how to go about learning Android Development that would be great.
Thanks,
Sean Myers

could anyone please help me out here??

i learned how to theme a little from here, and i made a theme for my music. http://forum.xda-developers.com/wiki/index.php?title=File:Motorola_Droid_X.png#Guides_.26_Tutorials

mattmartin77 said:
i learned how to theme a little from here, and i made a theme for my music. http://forum.xda-developers.com/wiki/index.php?title=File:Motorola_Droid_X.png#Guides_.26_Tutorials
Click to expand...
Click to collapse
Nice link I might give something a try. I did try and find some books but they werent in enough detail for what I needed for our phones. Besides java,xml,.png isnt some linux? Going through lots of lines code?

You do need to know some linux because some of the rom has to be done in a linux os.

Http://developer.android.com
Sent from my Rooted DroidX running Liberty ROM v2.0.1 + Green Serenity Theme using XDA Premium app.

Maxgap1705 said:
Http://developer.android.com
Sent from my Rooted DroidX running Liberty ROM v2.0.1 + Green Serenity Theme using XDA Premium app.
Click to expand...
Click to collapse
Yeah... I was gonna say, google has a sdk and all that that, they'd be the best place to find info on their OS and how to develop for it.

smyers1012 said:
Hey everyone I would like to know the best way to start learning android.
Click to expand...
Click to collapse
Try to create and deploy the "Hello Android" app described here:
(I can't post external links until I have 8 posts here, sorry:
developer.android.com/guide/tutorials/hello-world.html )
I did it under Windows XP using eclipse, and deployed it to the emulator running on my PC and to my unrooted stock DroidX (Android 2.2) as my first Android project.
Knowledge of XML is always a good thing, but not required in that tutorial.
Once you have a basic app working and deployable, you can modify it to try more advanced things.
Sent from my unrooted DroidX using XDA App

do developers tend to have professional education in linux or are most of us self educated?
there is a vast amount of information out there. where woukd you send someone with little to no kniwledge of linux to learn the basics? i read and read posts, but often i am behind the curve on the basics so i cant understand all of the posts.
last question. if i run ubuntu on my computer will i be learning the same basic stuff for both ubuntu and android, as far as development goes? commands and logic? so far xda has been by far the best source of information. been reading the android developer page. its interesting.

Try the "Hello Android" book. It really helped me get the sense of the Android OS. http://www.amazon.com/gp/aw/d/1934356565/ref=redir_mdp_mobile/189-8058323-8893839 let me know what you think?
Sent from my DROIDX using Tapatalk

went ahead and bought it. shouod get it in a few days

bitterevp said:
went ahead and bought it. shouod get it in a few days
Click to expand...
Click to collapse
how did you like it?

Related

time for me to learn about cooking ROMs

It seems there isn't a lot of activity around the Arc yet, so I am going to attempt to learn how to cook SE Xperia ROMs, from scratch :-S
I would appreciate pointers to the best tutorials and software (it will speed up the process); I am a very quick learner so I hope to be able to contribute something to XDA Devs, even if it comes out half-baked!.
Wish me luck...(gulp!)
Nice i also was planning to work on android roms (just for fun) I'm a fulltime Linux user so i know my way around Linux systems. But nice to hear some others also intrested.
here is a handy tutorial to start
http://forum.xda-developers.com/showthread.php?t=775505
http://forum.xda-developers.com/showthread.php?t=704561
I know there was a thread with unix scripts i can't fin it anymore, lost it forever
Sounds good. I think the first thing we need though is a recovery with nandroid, makes testing experimental roms (ie, ones I made made myself which likely wont work) a lot safer!
I would take linux courses just for that, I hope one day we will have courses for Android dev.!
Till then I love to mod the look of statusbar,icons,lockscreen and camera. I just have to change the appropriate png pic and edit some xml files
vegetaleb said:
I would take linux courses just for that, I hope one day we will have courses for Android dev.!
Till then I love to mod the look of statusbar,icons,lockscreen and camera. I just have to change the appropriate png pic and edit some xml files
Click to expand...
Click to collapse
It's not hard to learn Linux. Just start using it fulltime and get familier with the terminal. I never followed a Linux course and now i'm now my way around. I ahve ubuntu servers and using ubuntu fulltime (for 4 years) now it's easy to use ubuntu because you can do everything from the GUI.
I write about Linux and read/follow sites related to Linux.
If you don't use it it's hard to learn just try to install dualboot and try using fulltime Linux. You will have problems like something isn't working well fixing the issue will help you learn stuff
cool
thanks for the links, I shall read them later. I will have to get a linux system running, I'm assuming I can duel boot it on a laptop...time to google...
thintin said:
thanks for the links, I shall read them later. I will have to get a linux system running, I'm assuming I can duel boot it on a laptop...time to google...
Click to expand...
Click to collapse
It is possible and easy with ubuntu.
Hi
I am a cooker of WM Rom and now i have SE Arc
I already run the dualboot ubuntu\W7 in my Pc
I am very happy to see this thread, because at the moment are new to Linux
I started to know the kitchen for Android and I must say that it is very fun to work
I will be happy to learn and to help in the limit of my knowledge ...
best regards
alesscam said:
Hi
I am a cooker of WM Rom and now i have SE Arc
I already run the dualboot ubuntu\W7 in my Pc
I am very happy to see this thread, because at the moment are new to Linux
I started to know the kitchen for Android and I must say that it is very fun to work
I will be happy to learn and to help in the limit of my knowledge ...
best regards
Click to expand...
Click to collapse
Welcome to the Android world
I also did some ROM cooking for my X1 but this is a little bit different and you have more freedom making changes to the ROM that's why i love Linux.
I people have problems with Linux they can always pm me i will do my best to help you learn it.
Sent from my LT15a using XDA App

[Q] Learning Android SDK

Hi I am new to Android SDK, I know a little like creating an android project, android project structure, compiling it & testing it on a phone, but I do not understand anything in the source code. So I need to start from the basics, is this tutorial good for basics ?
http://www.cbtnuggets.com/series/219
Have a look at the official developers guides: http://d.android.com/guide/index.html
Theres really a lot of helpful guides that should teach you (almost) all basics you need to code on android.
Why should I not learn this first ?
http://www.cbtnuggets.com/series/219
Springles said:
Why should I not learn this first ?
http://www.cbtnuggets.com/series/219
Click to expand...
Click to collapse
Oh sorry, I didn't notice the topic list further down the page. If you really have no knowledge of (object-oriantated) programming some tutorial like this would indeed be a good idea. About this one I can't tell you if this will help you, since its paid content. Looking at the topic you will get all basics you need for starting with the link i wrote above. (Also theres some videos you won't ever need using the Android SDK)
IMHO: I would not pay that much money for video tutorials without excactly knowing its worth it! (Independent reviews!)
Theres a lot of free tutorials explaining the java basics out there, if you're not in hurry I would rather read some of those. (I sadly only know some in my native language)
Well I am in a hurry, ill watch it on my friend's laptop, hehe.
Springles said:
Well I am in a hurry, ill watch it on my friend's laptop, hehe.
Click to expand...
Click to collapse
In that case I would at least have a look at local courses that you could take since its always better if you can ask back for an explaination if you don't understand something. (And if you are new to programming I'm pretty sure this will happen )
Forsaken said:
(Also theres some videos you won't ever need using the Android SDK))
Click to expand...
Click to collapse
Can you tell me which video chapter's are not needed to learn ? http://www.cbtnuggets.com/series/219
1-19 and 28+29 should be everything you need to understand how to use the android sdk. 12 & 18 (swing) is also different on android (afaik its not swing there) even it's quite simlar to it, so depending on how specific those videos are they might be a help anyway.
Can you tell me what is the equavelent package for:
java.awt & javax.swing for android ?
Springles said:
Can you tell me what is the equavelent package for:
java.awt & javax.swing for android ?
Click to expand...
Click to collapse
There is no equivalent package, as the graphical interface is completly different. I will suggest you take a look to developer.android.com under the section of activity and view:
http://developer.android.com/guide/topics/fundamentals/activities.html
http://developer.android.com/guide/topics/ui/index.html

Need help with developing, eager beginner

I am a total beginner, don't know coding or anything. I would love to learn how to write code and any other android related development. I own an HTC thunderbolt and an HTC Droid Eris. I could use either phone for developing, just to learn. I have ambitions to make awesome thunderbolt roms, but I don't know how...
Please do not ignore this if you can help, I would love to become a part of this community and learn something new. If anyone could kindly please point me in the right direction, I would greatly appreciate it.
Sent from my ThunderBolt using Tapatalk
It's a must that you have to learn java first
http://download.oracle.com/javase/tutorial/
Then read everything here;
http://developer.android.com/guide/publishing/licensing.html
Work thru all the links on the left side of the screen.
________________________________
http://ron-droid.blogspot.com
rigman said:
It's a must that you have to learn java first
http://download.oracle.com/javase/tutorial/
Then read everything here;
http://developer.android.com/guide/publishing/licensing.html
Work thru all the links on the left side of the screen.
________________________________
http://ron-droid.blogspot.com
Click to expand...
Click to collapse
I appreciate this! Sorry for the late reply, i kinda forgot i posted this , i wouldnt need any C or C++ backgrounds before java? I knew c++ once, but that was a long time ago
icanhazdroid said:
I appreciate this! Sorry for the late reply, i kinda forgot i posted this , i wouldnt need any C or C++ backgrounds before java? I knew c++ once, but that was a long time ago
Click to expand...
Click to collapse
No, there's no need to learn C or C++ before Java.
icanhazdroid said:
I appreciate this! Sorry for the late reply, i kinda forgot i posted this , i wouldnt need any C or C++ backgrounds before java? I knew c++ once, but that was a long time ago
Click to expand...
Click to collapse
You don't need any C or C++. You can use either, though, if you use the Android NDK, which lets you use either Java, C, or C++. However, it's complicated and you probably shouldn't use it unless you know what you're doing.
You said you wanted to write roms. If it's true you will need c too for the kernel development. If you only want to write apps for Android java is enough.
I might learn C later on down the road, but Java sounds like all i need for now as far as kernels go, whenever i get around to being good enough to writing roms Ill probably just use kernels from other devs (with permission of course).
Guys tell me learning to code and finally developing mods and apps(no roms) generally take how much time?
If u want to know my technological skill level i ld say i am not from computer engg background but I am in India's best technology institute which is also 3rd best in d world after mit and berkley.please help
Sent from my GT-I9100 using XDA App
abhiwltya said:
Guys tell me learning to code and finally developing mods and apps(no roms) generally take how much time?
Click to expand...
Click to collapse
It clearly depends on the app complexity.
I started from scratch (I'm basically a C developer, I didn't know anything about Java) and published my first game in 5 months, working nights and weekends.
The second one, will be hopefully published next september, so after 4 months of dev (nights and we).
Zappescu said:
It clearly depends on the app complexity.
I started from scratch (I'm basically a C developer, I didn't know anything about Java) and published my first game in 5 months, working nights and weekends.
The second one, will be hopefully published next september, so after 4 months of dev (nights and we).
Click to expand...
Click to collapse
I too am trying to learn how to makes apps and games for android, been a goal of mine for ages.
How did you learn? what did you use/read? any help/advice/guides/tutorials would be very welcome! I am very determined!
FK1983 said:
I too am trying to learn how to makes apps and games for android, been a goal of mine for ages.
How did you learn? what did you use/read? any help/advice/guides/tutorials would be very welcome! I am very determined!
Click to expand...
Click to collapse
I've also started as good as from scratch (i've got a VHDL background with little C/C++ experience during my study).
I've started with the book Beginning Android. I didn't read it from A to Z but just started to fool around with the examples given in the book.
Besides that i've searched a lot on the internet for examples to try to understand how they work.
A website which I still use a lot to find my answers is Stackoverflow were you can see my the questions which i've asked.
First search on the internet. There is really a lot information out there. If you really can't find the answer, just ask. There are a lot of people willing to help you with your questions.
After about half a year fooling around with examples, in weekends and evenings after my daytime job, I've released my first App on the market. I'm currently working on my second app.
Tricky-Design said:
I've also started as good as from scratch (i've got a VHDL background with little C/C++ experience during my study).
I've started with the book Beginning Android. I didn't read it from A to Z but just started to fool around with the examples given in the book.
Besides that i've searched a lot on the internet for examples to try to understand how they work.
A website which I still use a lot to find my answers is Stackoverflow were you can see my the questions which i've asked.
First search on the internet. There is really a lot information out there. If you really can't find the answer, just ask. There are a lot of people willing to help you with your questions.
After about half a year fooling around with examples, in weekends and evenings after my daytime job, I've released my first App on the market. I'm currently working on my second app.
Click to expand...
Click to collapse
Thank you for all the advice! been having a look and will make a start shortly!
If anyone else has advice to add it would be welcome as I have a feeling I will need all the help I can get!
Learn basic Java first. It's easy to play with Android developing when you have some knowledge in Java.
Android have Java and XML, so if you know Java all you need to learn is the XML which is easier because there's no logic in it.
Sent from my SGH-T959 using XDA App
You could also start by theming ROM's. That's where I have started and it's a lot of fun. I've put together a comprehensive "how to" page to get anyone started.
http://forum.xda-developers.com/showthread.php?t=1140034
Just an update, I just started learning Java today because I've been busy with other things, and I'm actually liking it so far After that I'll probably do C++ again, I forgot all of it, but knew it once upon a time...
As far as theming goes, I wouldn't mind doing that because it's generally fun, but I would rather spend my time learning how to develop first

Team Darkforest - we are recruiting now!

Alright, so I'm looking for a developer or two, that can tick some of the criteria, because I'm a bit busy, and another dev on the team would be awesome.
What we need:
Graphics designer, preferably UI design but a few logos, icons here and there
ROM development, you need to know the basics
Kernel development, if you know C/c++ great, if not I can teach you how to compile kernel etc.
App development, you need to know the basics of Java.
And you need to be a good developer too
Anyone? PM.
Sent from my Dark R800i using Tapatalk 2
I would love to help, but alas, I've not done any dabbling in Android. You would just end up training a power user, so good luck getting some help!
lightningdude said:
I would love to help, but alas, I've not done any dabbling in Android. You would just end up training a power user, so good luck getting some help!
Click to expand...
Click to collapse
So am I but if you can teach me I would be proud to be a part of the development!
Sent from my R800i using XDA
Would love to, but my only coding experience is with private Ragnarok servers so I'd need to learn the basics first.. Mind you I learn anything tech-related very fast.
Not sure what kind of graphic design you need but I make my own signatures, avatars and guild emblems.
Is there a good guide you know of to start off with? For coding, I mean.
Also my phone is screwed so testing wouldn't work too well.
Sent from Asgard
We all know these phones work through good ol fashion magic...so aslong as we agree on that then we be cool...ill be expecting a pm shortly...oh ya i work only 2.25 days of the week, I dont do deadlines and a mandatory raise every 2.5 months based on my alchemy skills.
I love to help out but I only know c/c++
Sent from my R800i using xda premium
Sent you a pm, in case you're interested in an American branch
Sent from my phone, please excuse any Swypos.
I'd love to help but I only know very little when it comes to Java.
KeiranFTW said:
Alright, so I'm looking for a developer or two, that can tick some of the criteria, because I'm a bit busy, and another dev on the team would be awesome.
What we need:
Graphics designer, preferably UI design but a few logos, icons here and there
ROM development, you need to know the basics
Kernel development, if you know C/c++ great, if not I can teach you how to compile kernel etc.
App development, you need to know the basics of Java.
And you need to be a good developer too
Anyone? PM.
Sent from my Dark R800i using Tapatalk 2
Click to expand...
Click to collapse
I would like to join... but i dun know anything... (or at least i know what is needed to get me by my testing of roms..) i know the basics of photoshop... interested in kernel dev.

ShaperProbe

Forgive me if this is the wrong area but since it's development related I think it should go here.
We all talk about speed tests and have theories about which one works best. I use ShaperProbe http://www.cc.gatech.edu/~partha/diffprobe/shaperprobe.html on the Mac and PC. They make a command line Linux version that is awesome but I tried with my newbish Linux skills and can't figure out how to compile it as a Android Linux tool. I realize it wouldn't be an APK but I'd share my results if I can get it working.
I've tried Android Terminal IDE and a virtual terminal and neither of them have make installed and I'm afraid I've reached my skill limit. I'm not asking anyone to do it for me but some assistance would be awesome.
enzonix said:
Forgive me if this is the wrong area but since it's development related I think it should go here.
We all talk about speed tests and have theories about which one works best. I use ShaperProbe http://www.cc.gatech.edu/~partha/diffprobe/shaperprobe.html on the Mac and PC. They make a command line Linux version that is awesome but I tried with my newbish Linux skills and can't figure out how to compile it as a Android Linux tool. I realize it wouldn't be an APK but I'd share my results if I can get it working.
I've tried Android Terminal IDE and a virtual terminal and neither of them have make installed and I'm afraid I've reached my skill limit. I'm not asking anyone to do it for me but some assistance would be awesome.
Click to expand...
Click to collapse
Should be in the HTC thunderbolt themes and apps
Sent from my Liquid ICS HTC Thunderbolt
jonah1234 said:
Should be in the HTC thunderbolt themes and apps
Sent from my Liquid ICS HTC Thunderbolt
Click to expand...
Click to collapse
Actually, it should be in the general Android software development forum.
Sent from my ADR6400 using xda app-developers app

Categories

Resources