r/androiddev • • Dec 04 '13

How I learned to develop Android apps in less than a year (x-post from /r/learnprogramming)

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.

  1. Learn programming
  2. Learn the Android SDK
  3. Create an app
  4. ???
  5. 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.

178 Upvotes

48 comments sorted by

View all comments

0

u/BEARFIST Dec 04 '13

I can relate to this except I took the procrastination route. League of Legends loads? go to r/videos. Free time at work? Browse slickdeals/theverge/facebook. Free time after work? Grand theft auto 5/league of legends. So you are right about having an agenda. The reason why I don't spend time learning androiddev is because I don't incorporate the learning as part of my work day. I was able to work out successfully after work because I made it part of my work day, I made it a habit of making it mandatory. But it's just something about programming and coding. It's so daunting and honestly, scary. But I made some progress by signing up for some free courses online. I hope to get to where you are on day.

My main question is, how are you getting offered jobs as a developer? And are you now a developer?

1

u/[deleted] Dec 04 '13

[removed] — view removed comment

1

u/BEARFIST Dec 04 '13

I did javascript on Codecademy. That helped me understand how to think logically in a computers point of view.

1

u/poopMachinist Dec 04 '13

Currently I'm employed as a project manager for a sizable website (at least for my region). I do content creation, a bit of UX design and I coordinate the renovation of the site (outside contractor).

The jobs that I'm being offered are mainly in web development. I secured a pretty big project for a friend, and after he worked with me, he offered me to show me the ropes in proper web development (as a business), and use him as my starting point for a career in web development. The other offer is more of a mobile developer using PhoneGap and the like. I have to learn the framework first, and evolve from there.

I'm not actually certain on which route to take (or to stay at my current job), but it's nice having possibilities.

Oh, and the offers are nothing fancy. I'm 25, I have six months of working experience, but you have to start somewhere.

1

u/poopMachinist Dec 04 '13

I answered about the job offers in this post and this post talks about how I started.

Currently I am not employed as a programmer, but as a project manager for a website. This might change in a month, as I'll be probably taking the web development gig.

1

u/THE_KIDS_LOVE_IT Dec 05 '13

I've been in your position, specifically battling League of Legends taking up my free time instead of working on my apps.

I've probably uninstalled LoL 8 times over the past 2 months and gone through long periods of inactivity from my apps. Currently I have the game uninstalled and 4 apps published to the Play store.

The best advice I can give you is a.) uninstall LoL right now and b.) just get started programming. When deciding between doing a time waster or programming, if I just win the battle of opening Eclipse and getting started, I have no problem working on my apps for hours. It's just getting started that's the hardest part.