Best Resources?
This is a discussion on Best Resources? within the Droid Development forums, part of the Droid Hacking category; So I'm trying to get into the whole Android development thing, but I can't seem to find any solid books on the subject. The language ...
-
Best Resources?
So I'm trying to get into the whole Android development thing, but I can't seem to find any solid books on the subject. The language has a base in Java, so could I just go get a book or three on that and then maybe some random Android book to bridge any gaps that arise?
"The only verdict is vengence; a vendetta, held as a votive, not in vain, for the value and voracity of such shall one day vindicate the vigilant and the virtuous."
-
-
A gun in the hand is better than a cop on the phone.
Only the Skilled Survive
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
Drill Sergeant Frick's Rules For Un-armed Combat.
1. Never be unarmed.
2. See Rule #1
USMC rule # 23 of gunfighting: Be polite, be professional, but have a plan to kill everyone you meet.
-
Problem is, I'm weary on these books now.
I went and bought one of the books from Amazon, Professional Android Application Development, and just about every single line of code in the book generates errors in Eclipse IDE.
When I confronted the author on it, he tried telling me that everything should more or less be the same with Android 2.0 as it was when he originally wrote the book a year ago, but... apparently not. The Eclipse errors testify to that.
"The only verdict is vengence; a vendetta, held as a votive, not in vain, for the value and voracity of such shall one day vindicate the vigilant and the virtuous."
-
I wonder why he is assuming that everything should be the same? Sounds as if he was lazy and pushed to book out without proper research.
I'm looking into a local CC for classes myself....
A gun in the hand is better than a cop on the phone.
Only the Skilled Survive
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
Drill Sergeant Frick's Rules For Un-armed Combat.
1. Never be unarmed.
2. See Rule #1
USMC rule # 23 of gunfighting: Be polite, be professional, but have a plan to kill everyone you meet.
-
Yeah, I was questioning why he wouldn't just go and look at the new SDK himself, and say, "Wow, things are a bit more different than I'd originally thought, I'd better go and make some revisions for the new copy being pushed out."
Fortunately, Amazon has a great return policy, so I think I'll be doing that with this particular book pretty quick.
And though I'm not an expert programmer by any stretch, I come from at least a Visual Basic background, so I consider myself at least a little knowledgeable.
And I was looking into a Sam's guide for Java, seemed pretty thorough. But again, didn't want to get it without knowing how much ground is shared between Android and straight up Java.
Good luck on the CC route, though. Checked out my own, and all they offer is C++. Bah.
"The only verdict is vengence; a vendetta, held as a votive, not in vain, for the value and voracity of such shall one day vindicate the vigilant and the virtuous."
-
-
I've read all those books, and while they did help me understand Android a bit, they didn't quite satisfy me with every aspect of it.
Here is a book I signed up for, it's actually 3 books. You pay $35, and you get a year membership. The author responds to emails, is very knowledgeable with Android, and is on the google android forums as well.
CommonsWare
Well worth it. His approach to the books is as if he's a buddy that is just chatting with me over some coffee. So far it's the best I've found and while I am only a few chapters in on the first one, I checked out the chapter on deploying to Market in the advanced book and it was by far the best info I've found about the entire start to finish experience.
Hope some of you find it as useful as I am. Incidentally, it's the only resource I have found that discusses Android 2.0. I haven't found anything specific on it just yet, but the year membership includes updates and anything else he may put out.
I'd REALLY love to see an advanced game/music based book for Android. How to establish a solid game loop, avoid garbage collection as much as possible, mix many audio sounds with background music, animate, collision detection, AI, and more, would be a VERY good book to come by!
Last edited by andjarnic; 12-09-2009 at 09:29 PM.
-
silverx10, if you have almost no java knowledge, and are basing this off of Visual Basic experience, you have a long road ahead of you. Unless you want to be one of the many developers that don't understand not only java, but the inner workings of JVMs, garbage collection, memory management and "pointers", and more so the details of the android lifecycle... you're going to be spending quite some months really digging in on learning java entirely (the language, not the much vaster libraries available), and that is just the surface. Too many apps on Android crash due to not following the basic rules of android life cycle. Sadly, what has happened on iPhone is going to happen 10x over on Android since there is no restriction on apps submitted like iPhone does. Because every person who has a wee bit of computer experience thinks they can write an android app in a month, the market is already getting polluted with programs that crash quite a bit. Worse, because unlike iPhone, android apps can linger around, they drain the battery often times. I've had several apps that I quit (hit back, home, etc) and 40 mins later my phone is dead. Why.. cause they got some thread or service still running, using up cpu time.
I don't mean to put you down, not trying to at all. Just that you should know ahead of time that learning the java language is one part of it, learning the java libraries that you can use on android is a bigger part, then there is learning the android libraries, and the lifecycle and all that good stuff. You don't have to memorize most of it, but knowing where to look, what to ask, how to tinker with things, is going to take some good amount of time before you'll come close to being proficient and that's all before you really get started on any sort of serious android app.
As a Java veteran of 10+ years, I am a good month in on a few hours here and there, and far from fully understanding the capabilities of Android. Game programming is one of the areas I want to pick up on and I expect several months if not longer before I can put out a basic decent game. Sure I can lift example code form the google demos, but they are far from examples I'd want to use for a high quality games with high end graphics, sound, music, AI, etc.
Anyway, for what it's worth, just keep in mind it will take quite some time to pick up and learn it all, but between this forum and google dev forums, you should have plenty of resources to help you along the way.
-
Put me down? lawl, nah. Your post didn't do that by a long shot.
It doesn't take a genius to realize that there's a significant difference between Visual Basic and just about every single programming language out there.
Code:
Private Sub Command1_Click()
MsgBox "Clicked!"
End Sub
Is in almost no way, shape, or form, similar to anything in anything else. But there are still similarities, hence my even bringing up Visual Basic in the first place.
That being said, Android development really doesn't look that difficult at all. The SDK and DevGuide and other resources that Google provides are all quite top notch.
In regards to your... "Android lifecycle", well... that's been covered quite well in depth in both books I've read thus far, and is also not that difficult to wrap your mind around.
People who think Programming is for computer experts are not only wrong, but incredibly condescending, I think. With just a bit of time and effort (and of course, the right instruction where necessary), almost anybody can learn to code.
And code properly.
Though I do appreciate your insight and suggestions.
And as far as the iPhone App Store's more stringent requirements for app submission, I find that as more of a flaw than anything else. The Android Market Place is more of an app store for the people.
We get to try them all: the good, the bad, and the ugly. And then we vote down the bad and the ugly, and vote up the good.
Last edited by silverx10; 12-10-2009 at 01:01 PM.
"The only verdict is vengence; a vendetta, held as a votive, not in vain, for the value and voracity of such shall one day vindicate the vigilant and the virtuous."
-
I agree and disagree with you... agree that with the right bit of work/effort you can learn, and disagree in that not "anyone" can learn it. I have found after working with many CS degree colleagues over the years that some are just totally not cut out for it, period. They can't grasp simple things no matter how many times you explain it, and that is all well and good. But, in your case, I would agree that if you have the right mindset, which I suspect you do, you'll pick it up. If you can read the Android books and get the gist of what they say, you'll be fine. The more important thing is understand the language in my opinion, wrapping your head around OOP, the concepts of inheritance, polymorphism, and all those other big resume words that you almost never use on the job.
I still find it very useful to understand a lot more than just the language, but also how the JVM in general works. How it loads classes, deals with memory, how "pointers" in Java really work (and why you should know about them), how to work around the GC kicking off, and so forth. Those are the concepts that to me, separate the boys from the men. You spend a few months learning (and asking questions.. be happy to help, just PM me if you need any help), you'll learn it.
As for the iPhone, there is both a pro and a con with it. As my buddy says (who believes iPhone will always provide a more robust/well rounded environment over Android), the benefit of Apple being so strict, as well as only having their one "device", is developers know that the hardware specs are the same (for the most part.. you could argue the old 3G vs the new 3Gs spec difference), and they know that their app has to pass a set of somewhat stringent tests in order to get approved (along with being appropriate). That does allow for a certain level of built-in quality control on apples part. On the other hand, you lose out on many of the things Android is going to allow developers to do, including working directly within the apps that ship with the phone, like contact management and more gps control.
In the end, I think Android will take a commanding lead over iPhone in terms of apps and overall market share of devices. But, I still think iPhone will represent a big chunk of devices out there in the coming years. There are just too many apple fan boys, and while they may not represent the same market share in the PC world with only 8%, the power and capabilities of smartphones may make PCs almost a thing of the past for all but the most demanding uses. I would honestly not be surprised to see in two to three years time, a smartphone (be it iPhone or android) that has the pico projector, laser keyboard and such built in, and the ability to dock to a monitor, keyboard/mouse, etc and most people will just use that. Already with wifi if you could connect a keyboard/mouse/monitor to one of these they would be plenty for most users who basically use just a browser to do everything. This is probably why google is building the OS in the same manner..they realize that most apps on the web are as good as any desktop, and with central storage, they can simply go anywhere and access everything. I am looking forward to that to be honest! Can't wait for most users to be centralized and standardized on a browser only setup. Would make it a lot easier to deal with my family who always get viruses, download things, etc. Probably will make the virus market a lot tougher too.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Search tags for this page
best droid development language
,
best resource for learning a droid
Click on a term to search our site for related topics.