Hacker News new | past | comments | ask | show | jobs | submit login

I wrote an Android app based on a blog post of mine which got popular:



It reached the reddit front page for a day, and earned £3,000 during that day. Since then, it's averaged ~£150 per month, with only small input from me (minor updates)

I saw your write-up on this before; very cool work. Could you talk a little about the programming side of things and what you had to do to go from your initial mock-up (what did you use for that?) to the Android app, and how that process went? I saw that you'd written it was your first time with Android/Java.

Thanks! And sure, I wrote the initial simulation code in Matlab, which is very simple, just adding 2D arrays which Matlab is fairly quick at.

I then saw the traction the blog post was getting, so wanted to capitalise on that quickly. I had an Android phone, so for simplicity (and ease of monetisation) decided to write an app for that. From zero knowledge of Java it took probably 30 hours over a weekend to get the app out, then perhaps another 10 hours over the next week on a few updates and bug fixes.

Getting the app up and running was relatively simple, most of the time was spent looking up API functions in Google's SDK documentation (and SO!). The only complication was making sure the CPU-intensive parts ran in a separate thread to avoid locking up the UI, and dealing with different device display sizes and resolutions. Everything else (dealing with input, generating images etc.) wasn't particularly difficult, but did take time to implement.

I could have used this last month. I went through 4 crap routers before caving and buying a 250$ router to cover my home.

Applications are open for YC Winter 2023

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact