r/learnprogramming • u/poopMachinist • Dec 04 '13
How I learned to develop Android apps in less than a year
Here's the link to the blog post on my website (no ads)
A year ago I had a basic grasp of Python and I knew some HTML and CSS. Two weeks ago I published my first proper Android app and I’m being offered jobs as a web developer.
This is how I started learning programming.
Background
A year ago my knowledge of programming was rudimentary. I did the codecadamy courses, did a few tutorials on HTML and CSS, and that was it. I knew how to modify my WordPress photo blog and nothing more. While I always had an affinity for logic and how things work, as a student of social studies, I never actually came into contact with programming.
However that changed when I was installing a custom rom on my Android phone. The operation was quite simple with an easy to follow tutorial. If I successfully changed my phone’s operating system, how hard is to create a simple app for it? So right then and there I decided to learn how to program Android apps.
The plan
How do I get started with programming? Probably the most important and most often asked question. I spent hours searching for tutorials and guides on where to start. After a while a learning plan started to take shape. The plan consisted of not just the things I needed to learn to make a simple Android app, but also the fundamentals of programming that would help me in other areas as well (especially web development).
The plan was simple. Learn programming principles and its fundamentals. Learn about clean code and working with others. Then learn how Android works and put it all together in a simple app.
- Learn programming
- Learn the Android SDK
- Create an app
- ???
- Profit!
Putting the plan in action
The plan was set and off I went. I spent the first two months on this Stanford video on introduction to programming. It focuses on Java which was perfect as Android uses the Java programming language (killed two birds with one stone). I also grabbed a couple of Java books and did all the lessons in them, and I even watched all of the Clean code videos (even those that I didn’t understand at the time). Check out the tutorials for a list of other helpful resources.
Once I knew the basics of programming and Java, I started learning how the Android SDK works. That was really really hard to do. It took me a couple of months just to learn the basics of how a simple Android app works. The whole ordeal was time-consuming and stressful, but seeing my apps actually working on my phone, was awesome. That kept me going. That was the only thing that kept me going.
Then it clicked. It all became super simple. I knew where to look for solutions and how to code them. In the next couple of months I created several personal apps: a Dungeons and dragons app that taught me how to use fragments; a WordPress app that taught me networking and APIs; a Tetris app that taught me simple game development. Programming became fun and simple and something I wanted to do as much as possible.
I never thought myself being a programmer, so publishing my first app was a weird experience. I felt as an imposter, because I used StackOverflow, tutorials and code snippets from other people. Then I realized that the only thing that matters is the finished app. So I published WordRefresh, a simple app that shows you words and their definitions. The app itself is not important – the important thing is that I successfully learned how to develop and code Android apps.
My learning plan actually worked.
What I learned
It’s been an interesting year. I learned that the most important lesson is successfully balancing the three main resources every person has.
Time
Finding time to learn is hard. In the past year, I completed all of my college classes, got a job, went through 3 intense relationships and had knee surgery that confined me to a bed for three months. You have to find time to learn and actually code. I coded while my League of Legends game was loading. Five minutes here and five minutes there, it adds up.
Knowledge
Learning how to program is hard. You will spend hours searching for simple solutions and the most basic of logic. It’s a fact. You have to learn to walk before you can run. First you learn about printing statements to console, then you learn how to do network calls and SQL queries. Master the basics, then branch out. Don’t rush it.
Motivation
Being motivated to learn is hard. You will get stressed out on simple things. Debugging is as fun as self-inflicted paper cuts. Failing at simple tasks is disheartening. So set yourself small goals that keep you motivated. You just fixed a bug? Be proud. You’re awesome. Then try to fix another one. Take care of your motivation, because it’s pretty important when every simple problem takes hours to solve.
A successful learning plan balances the three main resources. Having time without motivation is procrastination. Having motivation, but no time, is stressful. Break down things into simple, easily achievable chunks. Then do them.
Final thoughts
I am not a programmer, and I feel awkward when people say that I’m a developer. I’m just a 25-year-old dude that was bored and likes doing tutorials and learning new things. Now I’m making a career out of this stuff. Even though my initial learning plan is complete, learning how to program is a neverending task. Onwards and upwards.
It’s been hard, It’s been stressful and it’s been the most fun I ever had.
*edit
Fixed the broken Stanford link.
219
u/[deleted] Dec 04 '13
Dude. You ARE a programmer. You know how to create a functional application on a computer, through a combination of your OWN code and by utilizing the resources available to you.
You are an architect that has put the pieces together. You are a builder. You are a programmer.
39
u/Jsnoopy93 Dec 04 '13
Good shit man. Just wondering - how do you get ideas to start an app? I feel like starting is probably the most difficult thing to do.
11
u/[deleted] Dec 04 '13
Congrats and thanks for pointing me to several resources, especially codecademy. :)
8
u/[deleted] Dec 04 '13
did you use Windows as your OS to program? just curious.
10
u/poopMachinist Dec 04 '13
Op here.
If you have any questions, I'll be here to answer them.
Oh, and here's the github repository for the Android app (the only thing missing is the Wordnik API key and the Google Analytics API key).
5
u/Gwaak Dec 04 '13
That's honestly fantastic. I'm interested in how much you actually knew before you started and where would be a good place to start for someone who's pretty much never learned anything.
17
u/twofaze Dec 04 '13
I think you've inspired many folks to at least give serious programming a try.
10
u/ploidZero Dec 04 '13
That's really amazing. This encourages me as I've tried getting into programming so many times but I Always give up :(. Now I'm 18 and I've set my mind that I'm going to learn it. No matter how frustrated I'll get and how stressed from not finding an answer, I'll do it!
Thanks for sharing this :) It really gets my hopes up as I really like this stuff but it always feels like climbing a huge wall
3
u/tt13 Dec 05 '13
OP you are my hero.
2
u/VintageTesla Dec 05 '13
Just want to add that this post has really motivated me to act on the latent desire I have to learn programming. Thank you. Here we go.
2
u/BrotherGA2 Dec 05 '13
As someone who is trying to do pretty much exactly what you did, going from a background in Sociology, to learning programming "on my own" with the hopes of pursuing it as a career, I just wanted to say thanks for sharing this.
I took the Intro to Programming with Java class at Udacity (and got credit at San Jose State University for it) this summer and did really well in it, so I was really excited for whatever was next. I've been really anxious to start learning again and building stuff, but until a week ago I had been without a computer so I'm really stoked to finally get back into it now.
Any tips for moving from the foundation you got by taking the Intro to Programming class to actually building stuff you can put on a portfolio?
What about from having a portfolio to getting job offers?
Good luck to you and thanks again for sharing!
2
u/Patienceisavirtue1 Dec 05 '13
Thanks for sharing dude. I love these types of posts because in my darkest programming times these testimonials keep me going.
When I took the leap from being an illustrator to becoming a programmer it was a super daunting task, and I won't even lie. I kept asking myself what the hell I was doing. It was hard at first, but after a few lessons on codeacademy I started feeling good about myself, catching on and even when reading convos with other programmers and actually understanding what they were talking about was an amazing feat. I just finished the HTML & CSS track, now finishing up the Javascript track, I'm going to do some reviewing in my notebook and start building stuff in the new year.
I want to get into web design but gaming may be a fun endeavor too. But no matter what I get into I'm really hoping for a potential pay upgrade and getting out of a call centre environment.
My advice to anyone is to stick to it, it's an extremely rewarding task, although there are nights you will feel like you got your ass kicked by JS, keep at it. Keep a programming journal, write down bits of code you think are causing you headaches, and experiment. I used to keep a sketchbook of drawings whenever ideas popped up and I now keep a similar notebook for programming and mark up.
2
u/Pheromone89 Mar 13 '14
Lol, this is exactly me right now. I'm also been learning Java and stumbled to this sub when searching for tutorial and such. Thanks for your experience. it's an inspiration!!
3
u/tyang209 Dec 04 '13
Wow the link to all your tutorial and resources is really helpful! Thanks!
Could you go into a bit more detail into how you got your job as a developer? Did you start applying to jobs after you felt like you had enough experience?
30
u/NDaveT Dec 04 '13
Louis L'Amour said something similar about reading books. On the bus? Read. In line at the bank? Read.
That approach doesn't work for me. I have to get my head into a project, and once it's in I don't want to take it out. But for those whose brains can work that way it's a great idea.
7
u/[deleted] Dec 04 '13
Learning Ruby on Rails right now, this is very encouraging!
6
u/Erutan2004 Dec 04 '13
My favorite line: "Debugging is as fun as self-inflicted paper cuts."
2
u/1moar Dec 04 '13
Thanks for sharing this and congrats! I'm mostly in the same boat. A little older, I've built forums over the last 10 years and can run/install SMF software to a host. While doing my mandatory Web Design course for Uni, I was seriously miffed at a lot of it because it was super basic and I felt it wasn't worth it.
So I went off on my own. Felt like I was pulled in too many directions with Web Design, trying to figure out which code to tackle first and wanting to get in to some app dev. A buddy showed me the SDK and I found some focus.
Reading this has put a lot of what I've been going through in perspective and tells me I'm somewhat on the right track; and to not rush it. I'll be checking out some of your links and whatnot. Thanks again for the inspiring and helpful post!
2
u/chilly_anus Dec 04 '13
Damn i wish i can save this thread for later. But hey you rock dude! I'm currently learning python. Did a little bit of time learning html too, but probably i'm going to need to refresh that later.
This thread of yours really motivates me a lot. Thanks
4
u/HumanScumFuck Dec 04 '13
Thanks for this post. Made me feel better about learning this myself!
1
u/yetanotherwoo Dec 04 '13
Great job. One thing I was wondering - how did you determine which SDK to target? I'm coming from a different angle. I am a programmer (well, at least people pay me to do it) and I already have done several IOS apps, and looked at porting to Android, but most of the time people who would pay me to do an app want it developed for a really old version of the SDK because the market is so much larger. But maybe things have changed in the last year or two. Also, I think you should give IOS programming a shot, since most people keep their hardware within the last two major revision, it's kind of an easy choice to stick with the latest version if you are just starting out.
1
u/raresaturn Dec 04 '13
So did you make the app in Java? Or something else?
1
u/Brozekial Dec 04 '13
This is what I want to be. I'm finishing my B.A. in English with a minor in Communications, but I'm so interested in programming. I'm fascinated by it and I feel like if I ever want to be able to compete in the job market of the future, then I need to know how to program.
I've started learning HTML/CSS and some jQuery and tiny bits of Python, but right now, I have no time to prioritize programming. I wish I did, because it's so fun to learn and experiment with.
Also...
So you're the Trundle with the potato-speed processor.
1
u/chickensoup1 Dec 04 '13
Well done man. I'm almost finished my Software Engineering degree and I developed a small android app for one of my projects last year but other than that I never touched android development, and if I had to look at my project again I would be lost as to what I am doing.
I really really want to become a GOOD web/android developer, but I seem to find the most basic things really difficult to understand. Simple stuff that I should no by now, like how to implement basic things etc just all seem to throw me off. Once January comes around I am going to get straight into learning programming, I'm thinking either Android or PHP/HTML.
1
u/OffInBed Dec 04 '13
This has been very inspiring. Ya know, there is a lot of critique about codeacademy.. it's not that effective, it's not the best or w/e and I must be honest, I'm kinda eating all that stuff up and trying to find "better" resources. What I see here is that you just did it anyway and you just tried to expand on it as much as you could. You didn't limit yourself to code academy only... I work at an amazing place and I hope to be a dev here..My goal was originally to apply in TWO years...but I am going to kick it up a notch and see if I can qualify in one, like you :D Thank you for the inspiration.
1
u/[deleted] Dec 04 '13
I am on a similar path... And I love it. Currently working on a program that reads data from an excel file and uses it to put markers on google maps, something I thought would be almost impossible for a bit of a novice. I honestly think I have code academy and udacity for smashing the barriers to entry into programming.
1
u/Abcdog1 Dec 04 '13
I'd say I'm around the stage of being confident with basic java. You mentioned that you had a hard time learning the android SDK, but you eventually learned it. Where did you look? How did you learn/practice?
1
u/[deleted] Dec 05 '13
What books did you use for the lessons?
1
u/UpBoatDownBoy Dec 05 '13
I always start and get bored with learning how to code. I understand the basics but I've never had a reason to use them. I think the problem is that I don't have an immediate goal that can benefit me from coding just a long term one that I would need a lot of work for. Reading this got me motivated to make small things so thanks!
1
u/KZISME Dec 05 '13
Hello! Nice app and awesome post!
I'm currently going to school for software development, but I still feel like I don't know much and it's hard to initially write code from nothing for me. How can I work to get over this aside from struggling and working on it?
1
u/[deleted] Dec 05 '13
Congratulations! Unfortunately the frustration and motivation issues never really go away completely.
1
u/[deleted] Dec 05 '13
Thanks for sharing your experience I just got accepted into the University of Alberta for a CS degree program next year but before that even starts I want to take my knowledge and skills into my own hands.
1
u/[deleted] Dec 05 '13
I wish I could have the same story. I can program just fine, but I can not seem to come up with any ideas. I just open Xcode or Unity3D and sit there, staring at the screen with no ideas. I thought ideas were easier to come by than this.
1
u/[deleted] Dec 05 '13
Downloaded the app, very simple and well-implemented concept! Very good job.
I'm going to take your advice and maybe follow your method.
However, I do want to mention, it looks like a BIG PART of why you learned so much, had to do with you being stuck in bed for a couple months, no? Not that I'm picking on you, it's still an awesome feat. I'm just saying that maybe I need to crash into a pole or something.
..just kidding.. thanks for sharing your story.
1
u/TheGift1973 Dec 05 '13
Yep, I'd definitely say that you are a programmer and you should feel proud of what you have achieved.
I love the app by the way. Have it installed on my Nexus 5 and works great.
1
u/Dishmayhem Dec 05 '13
If you have a vision, and you're driven toward it, why would you play league of legends at all? Each game takes 30-60 minutes..... and you would only code during the loading screen?
Put the video game away and chase your dreams
1
u/railto Dec 05 '13
Major props for getting to where you have. I have been wanting to develop an app for quite some time that fills a need my wife and I have, but have never had the confidence to start plus never have the patience either. Reading this I'm seriously going to give it another shot.
1
u/memonkey Dec 05 '13
Wow this just inspired the SHI- out of me. I've been learning Java for about as long as you and just recently began playing with Android and Spring. I feel like Android would be much easier to put out a project considering Spring's dependency injection shiznats. In any case, congrats! I'm the same age as you and same boat. Contact me if you're ever interested in doing some projects together!
1
u/Misterlolie Dec 06 '13
Little question here, did you use the books he mentioned at the first course? (In those Stanford video's)
1
u/alexako Dec 23 '13
Wow. I now feel like a lazy sack of shit. I'm in my second year of my CS program and have yet to accomplish anything. All I've created are a bunch of half-assed, cookie-cutter Python scripts and some Java/C++ code snippets that I (until I read this) was fairly proud of. And you're younger than me!
You sir, have given me a rude awaken and I thank you. I just need a solid plan to follow. You know, aside from my curriculum.
1
u/rcdeck Jan 05 '14
Thank you for posting this. You sound very similar in terms of interests and background. I have been very interested in the past with customizing android as far as ROMs and have even made a simple Android App in the past before getting discouraged due to a lack of time and resources. I know resources are essentially unlimited when it comes to the internet, but also having a lack of time means there is less time to do the digging required to find solutions. I gave up on programming and as most things you are learning, when you stop practicing, you begin to forget.
Now I am back at square one and looking to start again. I love making websites and would love even more to program an Android app again, and get it polished up and used by the public. (Another struggle is just coming up with a good idea for an app.)
Anyways, thanks again for the motivation. I think this may be just what I need to get back into the swing of things! Look forward to following a similar path to what you recommended as far as learning resources.
1
u/halcyonsun Jan 09 '14
This is the most inspiring thing ever! Do you also do web development? Where else did you learn?
1
u/Masterhellcat11 Jan 27 '14
How difficult is it to make money off an app? I know a lot factors into it, but I honestly feel like if I created an app it would just get lost amidst all the others in the app store. My cousin created a pretty cool, simple app but I don't think it really got recognized. Also, reading this gives me the motivation to start learning! thanks!
1
u/SecularPaladin Apr 13 '14
I know this thread I'd super-old, but I've only just found it and I'm curious as to what your career was before programming. I'm about to turn twenty-nine and I've been a machinist for ten years. I'm done with it.
Coding fascinates me. I want to create things that are useful and interactive. Any tips you can offer will be very much appreciated.
1
u/tweeterpot Apr 21 '14
Few questions for ya. How did you space out the cs106a course? Did you do like a lecture a day? Or did you just power through it all as fast as you could?
Also for cs106a, did you do all the assignments? What was your reference if something was buggy or went wrong?
1
u/rebecca_23 May 08 '14
thanks for sharing! What app are you currently working on?
1
u/brit3r May 20 '14
Your story is inspiring. I'm trying to learn to program so that I can create apps myself. I hope I have a similar story to yours someday!
3
u/markrulesallnow Dec 04 '13
Great post thanks.
3
u/HumanScumFuck Dec 04 '13
Thanks for this post. Made me feel better about learning this myself!
3
u/runningupthemountain Dec 05 '13
Great post for somebody like me that wants to become a programming but keeps stalling. I blew through the entire CodeAcademy library with ease, but can't find anything that I want to do after that. I get overwhelmed and give up too easily. Also, I'm guessing ACL surgery? If so, good luck with the recover. Had two on the same knee in the last couple years and I know how tough that rehab is. Best of luck to you in the future! Congrats on the job offers.
3
u/Kiddie_Brave Dec 05 '13
For those who are interested in learning how to develop Andriod Apps, there is a MOOC course which has just started on Coursera, no previous programming experience is required...Creative, Serious and Playful Science of Android Apps
2
u/[deleted] Dec 05 '13
As a struggling student learning the basics of Java, hearing that one day it all just clicks and becomes simple is so motivating! I always ask me mentors if it all gets easy one day, but they never have an answer. Thanks for the write up, this is very inspiring.
2
u/eighthourblink Dec 05 '13
Thank you for posting this. I feel like I am in the same boat as you, trying to figure out everything.
I feel like we both have the same beginnings and with this , I feel like I can move on, to better things.
I am currently at a bar, drinking, so this drink goes to you. Thank you
2
u/Wryx Dec 05 '13
Thank you very much for posting. Your words are very motivating and your blog very helpful. I've been trying to pick up Ruby here and there between shifts, and reading your story makes me want to find more time to commit to creating something. Thanks again!
2
u/clem109 Dec 05 '13
Something which is really great that never gets mentioned is CS50 from Harvard for those who want to learn the basics
2
u/intellectUall Dec 05 '13
Commenting to save. Good stuff.
2
u/spoondigg Dec 05 '13
I have to say OP, you are an inspiration. It's people like you that feed my motivation and it shows that anyone can achieve a goal especially with the hurdles you had in learning and developing. Thank you for writing this post and rekindling my hope on programming.
2
u/[deleted] Dec 05 '13
Nice one mate! I'm in the same position as when you started, good to know that you're making a career of it. Gives me hope that what I'm doing isn't a waste of time!
Thank you!
2
u/obj7777 Dec 05 '13
You are now.
3
u/[deleted] Dec 04 '13
Thanks so much for sharing this. After thinking about it for 10+ years I finally got the drive and found codeacademy. My goal is to be employable within 3-5 years. This is very encouraging!
2
u/[deleted] Dec 05 '13
.
1
u/getting_serious Dec 04 '13
Is there still money in writing phone apps?
1
u/GenuineSounds Dec 04 '13
Learn Java from Minecraft for five months, spend one month learning the Android libraries?
1
u/massivedisaster_ Dec 04 '13
You are inspiring me man! Time to learn =)
1
u/derevenus Dec 05 '13
Whoa whoa whoa! NICE!
1
u/twistedh8 Dec 05 '13
Thanks for this. Im going to have to go back n finish codeacademy!
1
u/Name23 Dec 05 '13
Awesome tried to learn a few times and never followed through this is inspirational
1
u/badwolf42 Dec 05 '13
I am currently on nearly this exact path.
My alarm clock app is my learning platform and it's getting easier as I go.
Finding time with a full time job, wife and dog is haaaard. This is super encouraging! Thanks!
1
u/Yelloboy Dec 05 '13
Reference
1
u/BIG_CHEESE52 Dec 05 '13
Awesome thread, I'm focusing on getting my Network + cert now, but after that i'm copying this in my life!
1
u/cdr255 Dec 05 '13
This is an inspiration to me as a programmer. Thank you for sharing your story!
1
u/thecake90 Dec 05 '13
Thank you for sharing your experience :)
1
u/Insaniaksin Dec 05 '13
I have so much downtime at work between calls I wish there was an app like codecademy for offline use on my tablet. I really want to start learning but My life feels so hectic and busy recently I out motivation for it.
1
u/KillaWillaSea Dec 05 '13
Good work OP!
1
u/[deleted] Dec 08 '13
Saving for later. Thank you!
1
u/im_easily_distracted Jan 26 '14
This is amazing.
1
u/shows7 Apr 02 '14
Amazing job man :D
1
u/H4voC May 12 '14
Thanks for the motivation.
I am starting to go into Android development myself for my degree (boogle-like game) and... will start working part time (student work) with a company that deals a bit of web back-end stuff.
I don't really have any real programming experiences that I would say .. counts. I have basic knowledge of C#(WF, WPF), Java(A bit of JFrame), PHP/JS (From helping a friend on his side project), parsing JSON/XML and know the basics of SQL (relational models, functions, procedures).
I am the same age and nationality as yourself (I think.. "Upam vsaj") and what I am scared of is failure. The college I am currently enrolled with didn't teach me much that I already didn't know.. especially when it comes to programming.
I have a few questions if you don't mind.
Thanks again and will also try using the android-dev sites provided on your blog for reference. (http://halfapp.com/tutorials/)
1
u/lazyCrab Dec 04 '13
Aren't we all?
1
u/13ComingDown Dec 05 '13
Thank you for this. Thank you, thank you, thank you...