r/androiddev • u/SupahSoftware • Sep 29 '18
I've been doing Android development for 6 years. I've published over 10 apps to Google Play, have over 5 million downloads, and I've worked full time as a mid-senior level Android engineer for the past 3 years on 3 production level apps. Here to answer any questions you guys have.
I know there are many good developers in this subreddit with better credentials than mine, and this mini-AMA might not be beneficial for most, but I wanted to spend some of my free time today answering questions that people have about anything Android development (Working in a professional environment on production level apps, working as a solo developer on the side, publishing applications, increasing downloads, really anything you guys can think of.
13
u/Faust_0 Sep 29 '18
As a self taught developer what is the number one thing that equalizes me against other prospective individuals who have a degree backing them? How could I wow you in the interview process or even getting there?(portfolio recommendations perhaps)
37
u/SupahSoftware Sep 29 '18
To set yourself apart from people who have degrees, at least as far as a resume is concerned, you should have a couple of things - Published apps to Google Play and a wide range of experience in different technologies / libraries / software architectures.
Having RxJava on your resume and being able to talk about Rx confidently is definitely a good wow factor, especially for an entry level position.
Edit: Make a few practice apps using RxJava, Retrofit, Glide, Recycler views, nice clean animations, etc. Master it, and you'll stand out. Bring in that app to the interview and talk through how the app is working, show them why you chose to use some of your animations and how they help create a better user experience. I like seeing what people make in interviews!
7
u/Faust_0 Sep 29 '18
Awesome! Seems like an easy to read blueprint. Thanks for the info. I'll be taking it to heart and practice.
2
u/slai47 HALF Sep 30 '18
Apps with a lot of different libraries and even styles of coding. Back when there was a debate, I had two apps with one activity to rule them all and one with many activities. I even did MVP and MVI styles in certain apps. Showing you can work on anything helps. Degrees no a days get you your first job, nothing else. The more experience you get the better.
22
u/Krizzu Sep 29 '18
What are expectations for each level (junior, mid, senior)?
What do you think about Kotlin? Have you used in any app?
Any advice for people getting into andro dev?
Any favorite podcasts/blogs/whatever to stay relevant in industry?
Thanks for doing this!
24
u/SupahSoftware Sep 29 '18 edited Sep 29 '18
Some qualities of a senior engineer would be able to answer almost any technical question thrown their way, make complicated architectural decisions, able to write good testable code, able to fix complex bugs, write documentation, be able to translate requested features into sizable stories to make development cleaner and more efficient, and more. If you posses some of those, or are average at most of the above stuff, you'd probably be considered mid level. Another few qualities of a senior engineer would be able to make decisions on which libraries to use and why, knowing ALL of the types open source licenses, which licenses are okay to use in your project and which you should never ever use.
For isntance, very important: If you use a library in your app that is under the LGPL license, your app must FOREVER from that time on, be open source, and ALL of your code then is licensed under LGPL. And even more fun, some licenses aren't actually compatible with eachother, therefor certain libraries aren't actually able to both be used! My team usually tries to stick to MIT or Apache v2 licenses, and if we can't find a library under those licenses, then we write our own code!I LOVE Kotlin. Everytime I have to go back and work on some of my older apps, there's always a large audible sigh when I look at Java. Kotlin really is the way of the future. If you're working on a Java app currently, I recommend integrating Kotlin and writing all of your new classes in Kotlin and converting your old classes a long the way / overtime.
Advice would be to stick with it. It's HARD at the start. There's SO much information and and intricate things to know but you'll get better. Do fun things! Don't just write your apps - play with animations, UX/UI, code architecture, learn new things!
Unfortunately I'm not really a podcast person, sorry about that. I most like to jam to some music when I'm doing solo work.
No problem! I hope this helped a little bit and thanks for stopping by!
4
u/Krizzu Sep 29 '18
Thank You for replay!
What do you think about current android tooling? Do you think it's bloated or not? Personally, I'd love to see some open source apps, written mostly "purley" in Java/Kotlon, without that much extra libraries. Every project I checked has immidiatelly DI lib + other crazy stuff, which you have to look up first to understand how it works.
3
u/SupahSoftware Sep 29 '18
I agree, there are a lot of projects that could have been GREAT examples, but they create way too much overhead with their use of libraries and too much DI.
I think Android tooling isn't too bad right now, and it's headed in a good direction. There's definitely a learning curve though.
9
u/mck182 Sep 29 '18
Small clarification on the LGPL part - technically your app must be released under LGPL only if it links to an LGPL lib statically, but your app can use LGPL libs just fine if they link dynamically.
Now granted, Android apps are linked statically so it's always the case on Android, but if you're looking to use LGPL libs outside of the mobile dev world, chances are you'll be fine.
2
u/Mojo_frodo Sep 30 '18
I think you would be find if it were a dylib that you wrapped with your own dylib and exported the functionality you needed across jni.
2
u/CrohnsChef Sep 29 '18
What would you say about a relative beginner jumping in to Android with Kotlin and instead of Java. Last time I did anything more than hello world and basic loops with Java was high school in 2002/2003. I've dabbled with python and JS mostly since then but never built anything real. Don't have anything against Java except its verbosity (again never made anything complicated enough to run into the stuff others hate). Want to try a newer modern language and have been interested in mobile dev for a while now.
4
u/diamond Sep 29 '18
What would you say about a relative beginner jumping in to Android with Kotlin and instead of Java.
Not OP, but absolutely, do it. If you're starting with Android development, there's no reason not to learn Kotlin (the only downside is that you won't have any frame of reference for how much of an improvement it is over Java, so you won't get to experience the joy us Java veterans felt when we started using it 🙂).
Kotlin is now the standard for Android development. There might be a few edge cases where you'll have to use Java for portions of your code, but if that comes up you can learn to deal with it. If you're new to the field, learn Kotlin. If you're experienced and starting a new project, use Kotlin. If you're maintaining a legacy codebase, find the time to convert it to Kotlin.
4
u/CrohnsChef Sep 30 '18
Thanks. Thought your answer would be the case. I have tiny bit of Java experience, just 15 years out of date and memory. So it's not like I've never used it at all before (still very beginner level stuff). Messed with enough languages I should be able to at least read some Java and get a basic idea of what it's doing (hopefully). Kotlin it is.
3
u/diamond Sep 30 '18
Yeah, you should be fine. It's possible to write decent Kotlin code with no experience at all if you know Java. And if you don't, or don't remember enough to be useful, then either way you're starting from scratch.
Some of Kotlin's more advanced features take some time to learn, but that's the fun part, right?
3
u/CrohnsChef Sep 30 '18
Yeah definitely way more on the starting from scratch side. My issue is more of learning to be a real programmer vs learning a language. I know that's the correct attitude to have. I'm looking for a career change but not even sure mobile dev is what I really want or not. All I know for sure is I don't want stuck on web front end. Still in a very exploratory phase, no true end goal yet other than trying things and getting experience. Time is my only resource right now, might as well learn something productive. Thanks again.
2
u/Hubblelooo Sep 30 '18
what would you suggest java or kotlin for new developer?
6
u/MacBelieve Sep 30 '18
Java. A lot more resources for newbies. Kotlin will become useful with time and experience with the pains of Java
-3
u/Krizzu Sep 29 '18
Thank You for replay!
What do you think about current android tooling? Do you think it's bloated or not? Personally, I'd love to see some open source apps, written mostly "purley" in Java/Kotlon, without that much extra libraries. Every project I checked has immidiatelly DI lib + other crazy stuff, which you have to look up first to understand how it works.
-5
u/Krizzu Sep 29 '18
Thanks!
What do you think about current android tooling? Do you think it's bloated or not? Personally, I'd love to see some open source apps, written mostly "purley" in Java/Kotlon, without that much extra libraries. Every project I checked has immidiatelly DI lib + other crazy stuff, which you have to look up first to understand how it works.
-6
u/Krizzu Sep 29 '18
Thank You for replay!
What do you think about current android tooling? Do you think it's bloated or not? Personally, I'd love to see some open source apps, written mostly "purley" in Java/Kotlon, without that much extra libraries. Every project I checked has immidiatelly DI lib + other crazy stuff, which you have to look up first to understand how it works.
-6
u/Krizzu Sep 29 '18
Thanks!
What do you think about current android tooling? Do you think it's bloated or not? Personally, I'd love to see some open source apps, written mostly "purley" in Java/Kotlon, without that much extra libraries. Every project I checked has immidiatelly DI lib + other crazy stuff, which you have to look up first to understand how it works.
21
u/idkanametbh Sep 29 '18
Could you not make good money from those 5 million downloads? how come you chose to get a full time job?
41
u/SupahSoftware Sep 29 '18
/u/cryptoz is correct. I make some good side money from those apps, but unfortunately they have been slowly dying. Even at the peak usage rates though, it would have been just shy of a full time job pay, but without the benefits of insurance, 401k, bonus pay, steady pay, etc. I chose to get a fulltime job as a I recently got married last year and want to save for a house and a family. Job security is important to me now.
5
u/Hubblelooo Sep 30 '18
what is the range of salary an andorid developer make?
Apologies if i offended you
1
u/SupahSoftware Oct 01 '18
It depends very largely on location and experience. The range for a salary in my location and experience is probably 65k-90k.
5
u/MacBelieve Sep 30 '18
At or company where Android developer are beyond "Junior" level, salaries are between 70k and 120k a year in a very low cost of living area of the US. Junior devs at other companies make 50-80 a year
-7
u/CommonSenseAvenger Sep 30 '18
Your ranges are too big...can you narrow the internal down to 5 to 20 thousand dollars.
10
u/CreativeAnteater Sep 30 '18
Dude provided you with a fact and you asked him to change it because you didn't like it
2
17
Sep 29 '18
Not OP but 5 million downloads doesn't sound like all that much to support an income. Depends on user retention and monetization of course, but an app with 5M downloads may have "only" 100k active users. There's no guarantee of turning downloads into money. It's much harder than that.
8
u/stoneslfc Sep 29 '18
Any monetisation tips? Did you make money in your apps through the use of advertisements or in-app purchases?
9
u/SupahSoftware Sep 29 '18
I've made all of my money on my personal apps from advertisements. I try to be as non intrusive as possible with them, almost all of them are banner ads.
7
u/kashxmusic Sep 29 '18
When working on an Android app, is it a good idea to stick strictly to the pre-made plan OR add some other stuff that I might have thought of while working on the project?
19
u/SupahSoftware Sep 29 '18
I would focus on MVP (Minimum Viable Product) for your first release. Once you release, focus on making that MVP a better experience for your users, listen to their feedback. Add side features that compliment your MVP. If you're making an app for tracking water intake, don't add a built in music player. As long as what you're adding compliments your MVP, and doesn't make your app convoluted, go for it! Once you add it, listen for that user feedback again and make sure it's what the users want.
3
6
u/curiousily_ Sep 29 '18
How one should optimize their Google Play presence (icon, screenshots, description etc.)? What are the most important areas in your opinion?
Thanks for doing this!
8
u/SupahSoftware Sep 29 '18
No problem thanks for stopping by! Application name is the most important in my opinion along with launcher icon. They are the FIRST things the user sees when searching for an app. If you have a good icon, and your app name relates well to the user, they will click into your store listing. Once the user is in your page, having a few screenshots of the most important areas of your app are vital, as well as a well worded, short, attention grabbing app description. I highly recommend paying a good designer to not only make you a captive launcher icon, but to pay them to clean up your app screenshots to be more appealing to the user, etc.
6
u/AmIHigh Sep 29 '18
What kind of new bugs/crashes do you encounter as you approach hundreds of thousands and millions of users?
I've only had apps that get less than 10k downloads, and there's the occasional framework/device specific crash that pops up that is sometimes tricky to figure out, do those dramatically increase, or is it still mostly bugs that you created in one way or another.
10
u/SupahSoftware Sep 29 '18
It's hard to track bugs without having QA and without having a good feedback channel for your users.
The weirdest bug I've ever seen was a production level crash in which the user was on a rooted device, and used a tool that allowed him to launch an of our activities in a standalone environment, and it crashed because the bundle in that intent was null, when we expect there to be values in there! Thanks for the question.
I would say having a lot of users does increase the likely hood of getting crashes and bugs, but doesn't necessarily increase the amount. That last bit is all based on how diligently you code, write tests, and if you have a dedicated QA or not.
5
Sep 29 '18
How would you advice someone new to Dependency İnjection&Data Binding approaching this topic? Should I start w/ the Data Binding Guide on developer.android.com or should I jump into Dagger 2 resources or even Koin? I have limited time to apply for a job & almost every job asks for dependency injection familiarity & I at least want to build a small project that uses DI so I can proof I am interested in learning any concept no matter how advanced it is..Ofc I have other projects too but none using RxJava or DI which I consider as more advanced or at least intermediate.. Please bare with me I am just a junior dev so far 😇 There are a lot of resources which take a lot of concentration and time and I just want to make sure I invest in the right ones..many thanks in advance to anyone helping out! 🤗
5
u/SupahSoftware Sep 29 '18
I would recommend using Kotlin and Koin if you want to learn DI. Dagger 1 is very convoluted, but Java and Dagger 2 aren't as bad. Kotlin and Koin will give you an idea of how DI works and it's a lot easier than dagger.
I think it's more important to be able to answer why DI is important for applications, test environments, etc than it is to have the experience with it.
The current production app I'm working on at work does *not* use DI, we let Kotlin's default parameters handle all of that for us. For instance, if you have an object called
Personthat needs aClothesobject to construct, yourPersonobject would depend on aClothesobject. DI would help in the fact that you wouldn't need to have that clothes object to construct a person. Kotlin's default parameters can solve this because you can default that Clothes object at construction time, or could pass it in. We like doing that a lot more than DI, but to each their own.4
Sep 29 '18
Wow thank you for the fast and detailed answer! Okay I will try learning about Dİ through using Koin! Hope my confusion about this topic can be resolved at last 😊 🙋
0
u/chrisji Sep 29 '18
Just go with Kotlin and Koin. I'm more than happy to ditch Dagger 2 finally.
5
u/jeffbarge Sep 29 '18
With koin don't you basically have to construct the entire graph yourself? Basically by writing the equivalent of dagger's @Provides methods for everything that koin can create? For me, a large part of the benefit of dagger is it's ability to build the graph itself - we very rarely have to write a @Provides method.
3
Sep 30 '18
Oh I would be interested in the response to this as I read somewhere that the boilerplate you get with setting up a Dagger project is a one time thing and join it is incremental with any new additions you make..as a newbie it is hard to tell though as I just wanted to start a new project..
9
u/sudhirkhanger Sep 30 '18 edited Sep 30 '18
Here is the path I would suggest if you would like to learn Dagger 2. Read in the order listed.
Part 1: Simple Ways To Stab With Dagger 2 ( Scenario ). Read all posts from Santosh Dhakal's medium.
Those should give you a good enough idea. Then start reading blogs, watch videos, read code, etc. from LearnDagger.
2
Sep 30 '18
Wow!! Thank you for all the links! I even came across the one with Game of Thrones references before but didn't go through it.. so nice to have "approved" links with a big more advanced topic!
3
4
Sep 29 '18
Did you have a background in Dev, or are you self-taught?
6
u/SupahSoftware Sep 29 '18
I have a self taught background in development. I graduated college with a bachelors in Electrical Engineering. Managed to score a software development internship in college as well based off of my GooglePlay presence.
4
u/dogewatch Sep 29 '18 edited Sep 29 '18
Thank you so much for doing this! Feel free to answer just some or all
What resources would you recommend for new to android developers? Ex. Udacity, Lynda. Google developers training course. Books (big nerd ranch, newly release professional android 4th ed, commons ware). medium.com
How do you account with the OS fragmentation when developing?
Does your company's have iOS team? If so, What's the ratio of iOS to android developer and do you think both departments have similiar priority?
Thanks again!
5
u/SupahSoftware Sep 29 '18
No problem at all!
Udactity is a good tool, but mainly I would recommend getting your hands dirty and making your own apps, and when you run into issues, use Google / Stackoverflow to help answer your questions. In your free time, just do some Google searching about good app architectures such as MVP, good libraries to use such as RxJava, Retrofit, and Glide, and just have fun with it!
Could you be a bit more specific?
Our company has many iOS devs, many Android devs, and many devs that use cross platform languages such as ReactNative, along with developers that have nothing to do with mobile. My specific team has 2 Android devs including myself, 2 iOS devs, 1 QA, a delivery lead, and a few product owners. We used to be a larger team with 6 Android devs, 4 iOS devs, 3 QA, and a designer.
4
u/MSUtimmy Sep 29 '18 edited Sep 29 '18
I've published over 10 apps to Google Play
Why not just say the number if it's a small integer? I'm sorry but this is a pet peeve of mine. Like, as if 11-12 are mindbogglingly higher numbers than 10 or something. Saying "over 5 million" is fine, though, since you're rounding a large integer.
Anyways, thanks for doing the AMA.
3
u/SupahSoftware Sep 29 '18
Timmy, I totally agree with you, it infuriates me too lol.
I should have said about ten, because I'm not sure the exact number without checking, I just know its more than 10.
4
u/avipars unitMeasure - Offline Unit Converter Sep 30 '18
If you were to launch a new app, what marketing strategies would you use to get it to 5 million downloads?
ASO?
Advertising?
Etc.
1
u/SupahSoftware Oct 01 '18
Personally, I'm not a marketing expert, I just do whats worked for me in the past, this could differ for you.
If I were to relesse a new apo today, I would first make sure my store listing was worded very well, short and concise to grab the users attention. I would also optimize my application name and probably A/B test teo different launcher icons to see whats driving more attention to my app.
Depending on what I'm expecting the app to get in downloads I would push out a small Google AdSense banner campaign to drive some initial traffic. From there, once you have a few hundred downloads, you should start getting organic traffic if your app works well, looks good, and users find value in it.
4
u/andywkff Newbie Sep 30 '18
why choose Android over iOS and web at the beginning?
4
u/SupahSoftware Oct 01 '18
I liked the idea of being able to take my creations with me on the go. I had an Android phone, not an iOS device. Also, the iOS developer fee is $100 a year while Google Play's fee is a once off $25. I was a poor college student so the choice was easy!
1
u/andywkff Newbie Oct 01 '18
that's what I am thinking too. I just started learning Android development, while having the same education background as you, electrical engineering.
3
Sep 29 '18 edited Sep 29 '18
Do you have any useful recommendations on how to come up with app ideas?
Do you think the current Google recommended best practices are really the best? For example the MVVM architecture.
How do you feel about Android development after all? Do you think the Android APIs are implemented well?
9
u/SupahSoftware Sep 29 '18
Good questions!
Think of apps that would be useful to yourself. If they're useful to you, chances are, they're useful to other people as well.
I think Google does some things correctly, but I also don't like some of their suggestions. For example, I think material design guidelines are great and I like the idea of architecture components. However I think you should take what Google suggest with a grain of salt. Google doesn't even follow material guidelines on almost all of their apps lol. Googles great at saying "you should do this, but we're not going to".
Overall I really like Android development, it's my passion, and I don't see that changing. I think the Android APIs could use a little work, but are in a good spot and are going in a good direction. For example, permission handling, Bluetooth, Bluetooth Low Energy, and detecting back presses in Fragments and Views all need a LOT of work.
2
3
u/Kaze79 Sep 29 '18 edited Sep 29 '18
How do you recommend a newbie should learn automated testing?
4
u/SupahSoftware Sep 29 '18
I would say definitely start with unit testing with JUnit and Mockito (and use Mockito-Kotlin as well if using Kotlin). Learn the basics of testing such as how and why to mock an object, assertions, and getting test coverage. Once you learn how to do unit testing, move on to Espresso for UI testing. There are plenty of tutorials out there to help learn :-)
3
Sep 29 '18
5 million downloads... are you millionaire?
3
u/SupahSoftware Sep 29 '18
Very, very, very far from it lol. Downloads isnt a great metric for measuring app revenue. You should look more at daily active users and ad placement.
2
3
u/Somethingweirdhere Sep 29 '18
Thanks for your answers! Here are my two questions:
Is there room in the IT world for people from other industries? I currently study engineering, but I feel like I would really love to work at a cross-over job between developer and engineer. Do these things exist?
I develop apps as a hobby, but I rarely have a good idea. I don't struggle with time, motivation or knowledge, just with getting an idea that is good enough to persuit and that has a chance to become sucessfull (let's call that over 1k downloads)
3
u/SupahSoftware Sep 29 '18
I actually graduated from college with a bachelors degree in Electrical Engineering. So there definitely is plenty of room!
Yes coming up with app ideas is one of the hardest parts! Just try and think of useful tools that make something you do every day easier.
2
u/Somethingweirdhere Sep 30 '18
Just try and think of useful tools that make something you do every day easier.
Have been doing that and it turns out great, but only once a year I have such an idea :P
Anyways, about the Engineering bachelor: What programming languages are worth learning there? I doubt Java and Kotlin will be very popular in Engineering :/
3
u/redman1037 Android Developer Sep 30 '18
What was the hardest things you had to learn . I am 3 years experienced developer and I am still struggling to learn
1.Writing Tests
2.RXJava
3.Dagger
So what was the hardest thing that you had to learn ?
2
u/SupahSoftware Oct 01 '18
I would say Rx and writing good comprehensive tests were my main struggle point. I learned a lot about both of these once I started working in a professional environment, but the best thing you can do to get better is to keep doing it at home! Spin up a new app, add some Rx components, test all of your code, and then make a new app, so on so forth. You WILL get better.
2
3
u/helptraviecode Sep 30 '18
You have commented much about RxJava, yet you seem to prefer Kotlin. Are you using RxKotlin?
3
u/nhaarman Sep 30 '18
RxKotlin isn't an RxJava replacement, but rather an extension of RxJava. Thus, you're still using RxJava and to mike life a bit easier, you can use RxKotlin.
2
u/SupahSoftware Oct 01 '18
Thanks for answering this. Spot on.
Also, thank you so much for your Mockito-Kotlin library. It's made unit testing a breeze in kotlin!
2
u/DOOMReboot Sep 29 '18
What qualities do your apps possess which helped to drive the five million downloads?
6
u/SupahSoftware Sep 29 '18
I think the main thing is that they were tools that I found useful to myself, that other people found as well. You can create tools that are useful to yourself, but others might not find useful. I also set aside a small advertising budget of $75, and ran a banner ad campaign to drive my initial few hundred downloads and then the rest was driven by the usability of the app and word of mouth. Also, optimizing your application name and launcher icon are HUGE factors in getting noticed / downloads.
2
u/DOOMReboot Sep 29 '18
optimizing your application name and launcher icon are HUGE
Any tips? My icons always suck.
8
u/SupahSoftware Sep 29 '18
Well, take my tips with a grain of salt because I'm a developer, not a designer. However, I have some design experience, and work closely with designers every day at work.
I would say keep the icon as minimal as possible, while including enough detail to convey your purpose. Stick to just a couple of colors, and try to stick to material guidelines. Design your icon a handful of times, doing it differently each time, and then after you have a handful of them made up, you can put them side by side. List out all of the things you like about them and everything you don't like. Use that list to make one final icon. That's the best advice I have for you.
Remember that design isn't for everyone, and if you're struggling that bad to make a good icon, either keep practicing and practicing, or hire a designer that fits your budget to help you out :-)
3
Sep 30 '18
I happen to be friends with a few icon pack designers that really helped me get the hang of making icons for my projects. Whenever I published a project with a terrible icon, one of them would always send me feedback along with some wholesome verbal abuse until I fixed it. Get some friends like this. Find your favorite icon pack and email its designer asking for advice. Most don't mind helping you out for a free/open source project, though a donation does really help them.
For monetized projects, there are some good freelance designers with fairly reasonable rates that I can point you to if you want.
2
u/roomtemperaturepizza Sep 29 '18
What are some good resources e.g. websites, blogs, or books to learn UI/UX?
11
u/SupahSoftware Sep 29 '18
You just missed a *GREAT* humble bundle of like 75 UI/UX books. Other than that, navigate to https://material.io/design/ and *BOOKMARK IT!* I use this site all the time. Remember color choice, white space, and layout are some of the most important aspects of design. Also, your users are ALWAYS right. If you think a design is good, but your users don't, there is no value in that. I use this website https://material.io/tools/color/#!/?view.left=0&view.right=0 for making a good consistent material color pallet for my apps.
0
2
u/EmilioSchepis Sep 29 '18 edited Sep 29 '18
Thank you for this AMA!
I'll throw in some questions not necessarily related to Android but to programming as a whole.
What do you think is the biggest difference in developing for a high-level production app versus a small indie project? (other than tighter time constraints)
What's something that you learned about the developing process while creating more and more apps? (Example, in my limited experience I learned to be more mindful about the underlying database structure and the ability to swap backends without impacting the existing data too much)
How would you say you manage your time between actual coding and marketing/ASO when making your own apps? Is there something that we generally don't consider when publishing an application visibility-wise?
Do you test the code in your personal apps? And if so, do you practice TDD? What about the production apps?
Thanks again!
4
u/SupahSoftware Sep 29 '18
Thanks for checking in and asking questions! :)
The biggest differences are that a production level app, or even small indie apps that have a LARGE user base or generate a lot of revenue, are regression tests. Unit tests and UI tests are integral parts of making sure apps behave as they should.
The biggest things I've learned is that architecture and handling configuration changes are VERY important. A well architected app will make changing functionality much easier and leave the app in a cleaner state. Configuration changes happen more often than you think, and making sure your activities / fragments handle themselves properly is integral.
Most of my time is spent developing. If you're doing it correctly, using a good architecture like MVP, and not putting all of your code in your activities, it should take you longer than you think to implement things. I don't spend a lot of time on marketing, I do like to make sure my store presence is made well though. Every once in a while I'll put out a very tiny banner ad campaign for an app if I think it will help it grow.
I don't usually test code in my personal apps (apps I don't upload to Google Play). I have about 15-20 apps I haven't uploaded to Google Play because I make them for very very niche things that I feel won't get a lot of attention. If it's getting uploaded to Google Play, I usually try and at least have unit tests to cover my presenters, view models, and repositories. However I don't write UI tests for my apps. I probably should be though.
2
u/EmilioSchepis Sep 30 '18
Amazing, I appreciate the thorough answer!
I currently have just one app on the store, and I built it using MVVM (LiveData + ViewModel), basically the Android Architecture Components before AndroidX came out.
It is quite niche, but I basically only created it to try these new tools and I'm very very happy (I used MVP before but the whole rotate-screen-and-lose-everything part was a nightmare to implement correctly)
I'm struggling quite a bit with the unit-testing side of things, but I'm reading articles and watching keynotes. I hope to improve over time!
Anyways, thanks again for your time! Have a wonderful weekend.
2
u/oscariano Sep 29 '18
What do you think about tools such as Xamarin or React Native for Android development? Did you have any experience with it? How popular it is in the industry?
5
u/SupahSoftware Sep 29 '18
I really don't like cross platform development, I much prefer native development. It's just better on so many levels, and in my opinion, will always be superior. But we have some teams at work who are using react native for their projects and they're getting along just fine. Remember this is just my preference, so take it with a grain of salt!
Edit: To add about the popularity point, React Native is much more popular than Flutter at this time, but I would say the majority of our teams by far use native development tools. React native is cheaper for customers who want iOS and Android apps, but it's all about what the customer wants to pay etc.
2
u/Kaze79 Sep 29 '18
Do you have experience with developing games on Android? How convenient would it be to develop a game without a game engine? Because most engines I've come across aren't very Linux friendly or use a language I'm not that proficient with.
2
u/SupahSoftware Oct 01 '18
Thats a great question, but it all stems down to what kind of game you want to make. If you're making a 3D game, even a 2D game that requires physics, I would highly recommend using a game engine such as Unity. However it's total possible to create your own game engine, but just remember that it will create a lot more work for you.
2
u/jrla1992 Sep 29 '18
As a self-taught and pastime developer. I love doing code but I always get stuck on the design aspect of my app. How do you do it when you can't afford having a designer?
1
u/SupahSoftware Oct 01 '18
It can be hard being without a designer. I recommend looking at the material guidelines outlined on this website https://material.io/design/ . The more you practice the better you'll get. Start with adding simple views to the screen and setting up the general layout. Once you have the layout figured out, start adding colors from a small color pallette. Tweak things as you go.
7
u/Zhuinden Sep 30 '18 edited Sep 30 '18
I'm going to go on and ask something lame:
What do you think of that Google is pushing for single-activity architecture "for the whole app" (and complete app flow from launcher to wherever)?
have you had to work with shadows in your design? If yes, how do you make sure that it doesn't get clipped off? My shadows always get clipped off and we've resorted exporting the drawables as bitmaps with their shadows included, but I'm honestly not a fan of this solution. And if yes, do you have any tips for using paths in code for defining outlines, and other raw canvas ops, maybe even custom drawables?
Have you figured out a reliable way to do shared element transitions?
3
u/nhaarman Sep 30 '18
Have you figured out a reliable way to do shared element transitions?
Ditching Activities and Fragments and just animating views works reliably :) I've played around with ConstraintLayout and ConstraintSet for actual shared element transitions and that works quite nicely.
2
u/Zhuinden Sep 30 '18
When I've tried
TransitionManager.beginDelayedTransitionI was getting super erratic results. Are you using something different?2
u/nhaarman Sep 30 '18
By not using fragments 😅 Seriously though. Any 'custom view based' solution allows you to have full control over your UI, which is just controlling the android.R.id.content FrameLayout and doing whatever you like.
2
u/Zhuinden Sep 30 '18
So... implement shared element transition by hand? Open a new transparent background view, add the item exactly where the "shared" view is, then animate it? :D I guess that can work.
Although it is work. But hey, at least it works. Motion design doesn't have to be hard!. eyeroll
2
u/alwaybaked Sep 29 '18
Tips on reading any documents, I always find it hard and rely on tutorials.
3
u/SupahSoftware Sep 29 '18
What kind of documents do you mean? Source code, example code, licensing information?
3
u/alwaybaked Sep 29 '18
API documentation
3
u/SupahSoftware Sep 29 '18
APIs are a rough area. I'm sure we've all worked with badly written APIs, APIs with bad documentation, no documentation, etc. I'm currently working on a Reddit browsing app right now, and the Reddit APIs are not really documented in a great way for some things.
It all depends on what level of documentation your API has. My tip to you is to try and read the documentation with two things in mind - What data you want to be receiving from the endpoint, and what parameters can/do you want to pass in.
Focus on the object or set of objects that come back from the server and actively think of how you're going to setup/architect your DTOs (Data transfer object) to get the data you need from the data that comes back. Try to mentally filter out all of the information about the call you don't need. With some practice API docs and calls will become second language to you. Hopefully this answered your question a little bit.
2
3
u/archie94 Sep 29 '18
What are some very good android open source projects? I am looking to improve my architecture knowledge, testing fundamentals and android skill sets in general.
3
Sep 29 '18
Not Op, but have you tried going through the GitHub search app on the architecture components repo on github?
3
u/bartturner Sep 30 '18
Have you played with Flutter yet? What do you think? What are your thoughts on Fuchsia?
1
u/CraftyAdventurer Sep 29 '18
What are your thoughts on Flutter? Have you tried it?
What devices do you test your apps on?
5
u/SupahSoftware Sep 29 '18
I am NOT a fan of cross platform development tools. I've only ever used native development tools. That's not to say that cross platform isn't useful a good way to develop an app, it all just depends on what your customer wants to spend, etc.
I test my personal apps on a short range of devices - Samsung S6 Active (Nougat), Samsung S6 Active (Oreo), Samsung A2 Tablet (Marshmallow), a Samsung S8+ (Oreo), and a Nexus 5X (Oreo). All of my apps on Google play have a minimum of Lollipop. Sorry KitKat users :-)
At work, we have a very nice range of devices to test on, two Nexus 5Xs, two Nexus 6s, two Nexus 5's, Samsung S5, Samsung S6, Samsung S7, and a few more, all ranging from Lollipop to Oreo.
3
u/CraftyAdventurer Sep 29 '18
I'm also not a fan of cross platform tools because they look, work and feel really bad compared to native (talking mostly about Cordova). But since Flutter is kind of native as in it's not a web app, nor does it translate JavaScript to native code or some weird shit like that, and Flutter apps do feel native, I wonder what part of it don't you like? Sorry to poke around with this question but I am genuinely curious what are the reasons when people say they don't like it, because it is different than other cross platform solutions.
3
u/SupahSoftware Sep 29 '18
No problems at all! I mainly HATE the fact that every year some new cross platform tool comes out, gets hyped up for a while, and then is completely abandoned for a new cross platform tool. I just really enjoy native development, specifically Kotlin. It's where my passion is, and it's what all my teams are currently using. I guess I'm just heavily biased, but I don't see myself starting up a new app in Flutter. Maybe if Flutter is still all the rage in a year from now I'll be open to giving it a shot :-)
2
u/arychagov Sep 29 '18
So basically you are telling to test your applications on high end devices. This is kind of a bad advice - you should have at least two low end devices (best is to have much more) to test your applications on, since most of users do not have these fast and fancy devices.
I'm not blaming you for selecting these devices, just want to clarify that this is not the best approach, since a lot of beginners can follow your answer and buy only top devices :)
3
u/SupahSoftware Sep 29 '18
I wasn't really giving advice on what devices to test on, just telling you guys which devices I do test on. When developing my own apps, it's all on my own dime and those devices are devices I've accumulated over the past few years of getting cellphone upgrades etc.
If I were to go out and buy another device to test with, I would definitely select a lower end device, you're correct. :-)
It's good to consider all devices when testing applications like you said. For my current production team, our analytics show that we have no users on super low end devices, and we also have a good crash reporting and analytics system, so we can usually detect when we need to optimize the app for certain devices.
3
u/_kabuko_ Sep 29 '18
The Nexus 5 was released 5 years ago. It's hardly a high end device anymore. Also OP did say "and a few more". Also, in my experience, OP's lineup actually does cover "most users" decently well. Looking at the Google Play Console device distribution charts for the apps that I've worked on tend to show a ton of Samsung Galaxy phones.
2
u/arychagov Sep 29 '18
Still it beats most of modern low end devices.
Device distribution is totally depends on which country you are targeting. Don't forget about Android Go :)
Samsung has a lot of not-so-fast devices and usually they model doesn't starts with the letter "S" :)
Anyway, OP only mentioned devices with good to best overall performance. It's important to say that you should test your app against bad performance devices.
3
u/_kabuko_ Sep 29 '18
I don't know how reliable this benchmark is, but I would imagine it wouldn't be orders of magnitude off: https://www.androidbenchmark.net/cpumark_chart.html
The Moto E5 Play which is an Android Go phone scores way higher than the Nexus 5 and can be easily found for less than $100 USD.
I do agree with your general sentiment that you should also test on low end phones though.
1
Sep 29 '18
I'm always thinking about a new app idea or what App to improve in order to get a very successfull app that I'm really proud about. Currently I have two apps available in the play store. Around 10k and 5k downloads. Others are unpublished because they didnt worked well or I had legal concerns. How do you manage this? I'm really motivated by I dont know what could really work well. I'm not interested in games.
3
u/SupahSoftware Sep 29 '18
What kind of legal concerns? And how do I manage what part?
Honestly, keep making apps that are useful to you. Focus on making the UI/UX better each time, and continue to release your applications. If it's useful to you, it's probably useful to other people as well. Listen to your Google Play reviews, let that drive the changes you need to make to your apps. Hope this helps :-)
3
Sep 29 '18
As example I had an awesome Ryanair app but I wasn't allowed to use their API, so I took it down... I mean the part of finding new app ideas, that would target as much people as possible. Thank you for your answer :)
2
u/xybah Sep 30 '18
I am a Mech engineer but have been developing android apps on the side for over 2 years (published 5+ apps). Seeing that you were a electrical eng, was it a hard deicison to make the leap to android dev? I am in a tough spot where my passion is in android dev but an entry position would be a significant drop in pay.
1
u/msegmx Sep 29 '18
I read somewhere that 90 % of the income made on Google Play comes from games.
I have two apps published but they make not much money.
What do you think about game development, with all those big companies around is it worth trying to make an income from game development?
1
u/jmblock2 Sep 29 '18
I am interested in writing an app to connect over android auto. How can I get, for example, the gps from my car?
1
u/CHr_81 Sep 29 '18
Hola, That latop you recommend for android studio, I want to start with a mac air 2017 or an HP with Ryzen 5 and 12 in ram. it's good to buy and start with those low budget laptops
1
1
u/kii_los Sep 29 '18
I'm currently taking a data structures course and our final project is to make an "uber-like" program. I have never made an andriod app, but I really want to make this project my intro to mobile applications! I have approximately two months. Obviously, the app wouldn't be perfect, but I was wondering if I have enough time to make it work. If so, do you have any sources that would be helpful to a beginner.(fyi i've been programming in Java for the past year or so...)
1
u/jepoyreddit Sep 30 '18
Hi! In RxJava, how would you write synchrounous api calls inside an Observable?
So far, in our codebase I can only see: getCompositeDispossable.add(observable api call) then observes the response to again call an observable.
1
u/Peng-Win Sep 30 '18
Not sure if you're still around but say you're asked to lead a group of devs and develop a native Android app from scratch. How would you start? i.e. what type of dev environment would you set up
1
Sep 30 '18
What do you feel about the mobile dev trend? Any chance it becoming less popular? What's the usual life span of an app on terms of monetization? Do you recommend starting an LLC even if I only have 1 app?
1
Sep 30 '18
I've been making apps for about four years now, and recently I feel like there have been a ton of changes (Kotlin, Material Components, etc) that I haven't been keeping up with. I've sort of developed my own organization/structure of how I create apps/features that seems to get everything done the fastest with the smallest amount of issues/bugs delaying the process, and because of the amount of projects I work on (I currently have 15 published apps, as well as a few I work on that aren't on the Play Store, and 9 libraries I've created to use in them) any change I make to it means it is a pain in the butt to do anything until all of my other projects are up to date as well. In your opinion, is it worth abandoning this to switch to Kotlin, or should I stick with it for a few more years?
1
u/Eido95 Sep 30 '18
Generally speaking, in todays technology, you HAVE to be adjustable, otherwise you left behind, and become irrelevant.
1
u/Hubblelooo Sep 30 '18
its been a year since i started android. I have built an app which can control wifi router and other apps too.
What would you suggest me to learn for further development ?(any good source to learn rxjava/rxandroid?).
Is MVP is a must to be an android developer in professional level?
What are prerequisite for an android developer to get internship??
Lastly, can android alone is enough to be a junior android developer?
Thank you
1
u/Jersey86Devil Sep 30 '18
I'm looking to dive 100% into android through udacity.com, I've been doing self taught front end web which is fine it just seems saturated, applications are getting rejected, to many tools like wix & wordpress, side projects slim.
Do you have any online resources that you feel are more beneficial for learning android development?
Are there key concepts or outside knowledge that needs to be acquired in order to be considered employable?
What would you tell yourself at the beginning of your journey knowing what you know now?
Is it possible to create a secondary income through app development with ads on personal projects?
1
u/rurimo Sep 30 '18
Is it important to own a degree? I'm leaving of absence after 4 semesters. I have to take 4 more semesters If I want to get a bachelor's degree. But I have 3 years experience as an Android developer. Should I back to university for the degree?
1
u/xameada15 Oct 21 '18
Absolutely. A bachelor degree will open up a lot of opportunities for your career.
1
u/NickBBBBB Sep 30 '18
How much do you share code between your apps and how do you manage that?
Do you use the same versions of third party dependencies across all your apps and, if so, again how do you manage that?
1
u/nhaarman Sep 30 '18
Not OP, but we do have indeed some in-house libraries that we reuse across apps, with proper versioning etc. They're hosted on a private Artifactory server so that just works just like any other public library. They're introducing source code dependencies however which might make the Artifactory server unnecessary.
Do you use the same versions of third party dependencies across all your apps and, if so, again how do you manage that?
No, definitely not. App A is built with library M version
x.y.z, app B is built with library M versionx.w.v. That works, and there is no reason to keep the dependencies of two unrelated apps in sync. In fact, unthinkingly updating dependencies may introduce bugs in your application.
That said, we do strive to keep our dependencies up to date, but that has nothing to do with keeping them in sync across apps.
1
1
u/Somethingweirdhere Sep 30 '18
Do you have any suggestions how to increase the popularity/number of downloads of an app that's already on the play store? Ideally for little money.
1
u/droidexpress Sep 30 '18
For me it's very hard to find a good designer. Last time i hired from fiverr. But the problem is i have to tell them each and everything like what should be the shape etc. What do you do to solve this problem.
1
u/Mrhisname Sep 30 '18
Hi, could you please tell me
Which architectural pattern should I use in different cases?
How to learn Rx libraries? Do you recommend a special course? Thank you
1
1
u/PedroMassango Sep 30 '18
Thank you.
I have more than 3 apps in Google Store, how can I increase the downloads?
1
u/likeee007 Sep 30 '18
I've been learning Android app development for a year now, its wasn't steady road due to college works, i wanted to learn RxJava for asynchronous tasks, now kotlin co routines came, so should i learn current new libraries at start...like what should be my learning process be like to become a good developer.
1
1
u/NickTheSushi Sep 30 '18
Might be a little too late to the party, but I'll give it a shot. I'm a Computer Science student who will be graduating in the next year and have kind of come to the conclusion that Android development might be what I want to specialize in. I'm still rather fresh to it all, recently taking a course in it, but it's really captured my attention more than any of my other course work. What would be some good resources for a beginner and for someone to get ahead?
1
Sep 30 '18
Do you have some advice to why I should keep learn android studio as a native app?
Do you have plan to change your way to make android app?
Why not flutter because we can develop for IOS too, or other hybrid technology.
1
u/Shindarov Oct 01 '18
Thank you so much for opening this thread! Can you point us to some cool designers that can make cool assets and icon for up to 100$ that will convert really well?
1
u/Aeonitis Oct 03 '18 edited Jun 20 '25
wise escape weather growth snails towering crush modern chop versed
This post was mass deleted and anonymized with Redact
1
u/gooddev25 Oct 15 '18
Hi,
Thanks for sharing your knowledge in here.
Right now i'm enrolled in a 3 months course which they teach us android and ios. we finished the ios part and i don't really like the swift. xcode is the most horrible sdk anyone can work with.
today we just started learning android studio and kotlin and i think i might like this better.
What is your advice to me?
If i want to find a job after this,what should i do?
do you have any good book or course suggestion?
should i focus on kotlin or learn java in a deeper level?
please keep in mind for our class we have to learn kotlin,but I've heard android developers still use java .
Any other suggestion regarding finding a job and guide on my resume is appreciated.
Thanks
1
u/Helpful_Zombie Jan 18 '19
Hi, I am a computer science student and I am currently working on C# in my university and I want to learn android development in a way that I could be able to develop any type of application in android and I also don't want to learn any new language for this from scratch. I want to do it using c#. How can you help me?
1
u/saikiranmc Sep 30 '18
I am a senior Android developer with 4 year of industry experience. It easy to find a job in here in India but not in other countries like Germany or US? How can I get heired by foregin companies? What should I learn? What they are looking for?
-4
u/singwithaswing Sep 29 '18
Does it piss you off when, in the guise of a public service, people make postings that are just bragging?
0
u/postsantum Sep 29 '18
More like some of these people are just preparing to release their reddit client, which is, by pure coincidence, is easily searched on GP
-6
0
Sep 29 '18
[deleted]
11
u/SupahSoftware Sep 29 '18
Hey man, that game looks awesome! Personally, if you showed me that in an interview, I would give you huge bonus points, especially if you're able to talk me through some things about it such as the networking layer, integration with whatever tools you're using for auth / leader boards (Your own server? Firebase? Google? etc).
However I think your question is more about how to use your apps to even get those interviews. My best advice would be to talk to a recruiter and get your resume optimized for software development position. It could do wonders!
Having not seen the code, and just the app, I would say you definitely look at least entry level, if not mid level. But it all depends on what your code looks like of course. But from a technical standpoint, it looks like you're using a wide range of frameworks and tech in that app. Keep up the good work!
0
Sep 29 '18
[deleted]
4
u/SupahSoftware Sep 29 '18
I would say algorithms are not as important as problem solving. Problem solving is a huge part of development. Sometimes. It also depends on really what you define as algorithms.
Kotlin, 100%, hands down, undisputed champion. Native is always better than cross platform. I would rank them all as Kotlin > Java > React Native > Flutter
Absolutely! Sticking with just Android is just fine, but having experience with other languages and platforms will make you a more diverse developer and increase your job security.
Edit: Forgot #3, sorry!
0
Sep 29 '18
[deleted]
4
u/SupahSoftware Sep 29 '18
Good questions. Offhand, I'm not sure about an answer to your first question. A better question for you is, what would you like to achieve? Knowing that, maybe I could provide some helpful information to get you there.
You should never have a NPE when accessing a singleton. Singletons should be created at app start, which is long before an activity or fragment is created.
0
Sep 29 '18
[deleted]
6
u/julamme Sep 29 '18
You can init the singleton in application class instead of activity and give it application context.
2
u/Eido95 Sep 30 '18
Alternative for the usage of "traditional" singletons is to use Dependency-Injection design-based class and Dagger 2.
Additionally, your "singletons" will become testable.
32
u/[deleted] Sep 29 '18
What looks most impressive on internship resumes?
What's the best way for students to learn standard practices before working in the field?
Generally, what's your advice for a student?