What should know before starting Android App Development:-

download

We should advice you to follow some of our instructions before starting Android Smart Phone App development that has enlisted:-

This is easy to become an Android App developer, but becoming a successful shining Android App developer and standing out from the rest is not. But it is not impossible to become a successful App Developer ,you may need is only Consistency and little bit of learning not whole day just give your Two to Three hours daily and be habitual of that.

I don’t show you any shortcuts, but if you are willing to put in the effort, you will surely get all the success you deserve.

To help you on your seek to become a better Android developer, I arrange some bite-size pro tips from my experience. So whether you have just decided to jump into Android development or have been working as an Android developer for a while now, these tips will be fruitful for you.

1. Get more familiar with the Android framework internals

I am not talking about the documentation but the actual framework code. I have seen many developers who were afraid to dive deep into the Android framework internals. Don’t be one of them. It’s amazing how much you can discover when you see how things actually work and how the different pieces fit together properly.

If you need to up your Android game, stop shying away from the inner workings of the Android SDK(System Development ) and start working with it.

2. Get over your fear of missing out and Never Give Up (FOMO)

Android is huge big. You cannot learn it completely end to end in few month , However you should be work patiently and consistently then the day will come when you become a great full stack Android App developer for making good money.Secondly, the more you learn, the more you will understand how much you don’t know. As a beginner, it’s perfectly normal to be afraid that you’re missing out on learning crucial information by trying to build things while still in a state of great ignorance, but try to get over it. In the beginning stage, You don’t try complex and huge coding instead you try your best to understand and work with the Android Studio environment and XML and some XML lines of code .

Learn the things that you really need to get started with the app you are currently working on and then slowly expand your horizon.

3. Start reading a lot more code

Then slightly start to reading codes which has been done by other experts.Most developers don’t take time to read what other developers are writing. And they spend most of their time writing what they already know.

But that will not help you grow as a complete Android developer. The only way to truly become a better developer is to read the excellent code of more expert developers. You should start looking at other open-source apps,libraries and some sort of video lectures where you’ll discover a lot of coding techniques and feature implementations that you had no idea about before.

4. Consider learning more languages

you should learn new programming languages. You need to keep yourself updated with what is happening in the industry rather than confining your thinking to the Android space.

This will open up your perspective, inspire new ideas,motivate and help you improve your Android development skills significantly. Make up your mind to learn one new programming language every year.

Tip: Java is a good place to start if you don’t know it already.

5. It’s time to learn Java design patterns and Kotlin

I can’t stress enough how important this can be in your Android development career. Whenever you are stuck in trying to solve a critical programming problem, design patterns can be a lifesaver.

You also need to be on the same page with other developers, so that when they are talking about using a Factory, Decorator, or Facade pattern, you instantly know what they mean.

Make a promise to yourself to learn one new design pattern every week until you know most of them.

5.1 It’s time to learn Kotlin 

Kotlin is multi-platform. Yeah, you’re not learning Kotlin just to write Android Apps.Kotlin was first created with JVM in mind, so it can virtually be used on any devices that can run the JVM.

Java is the most widely used language for Android development, but that doesn’t mean it is always the best choice. Java is old, verbose, error-prone, and has been slow to modernize. Kotlin is a worthy alternative.

OpenJDK developers are starting to bridge the gap with Java 8,  but Android doesn’t use all the features of Java 8. Developers are still stuck in the old Java 7 and 6 worlds, and that’s not going to improve much in the foreseeable future. That’s where Kotlin comes in: This relatively new open source language, based on the Java Virtual Machine (JVM), is gaining traction with Android software engineers. 

There are other JVM languages you could try to use on Android, but Kotlin offers integrations with Android Studio, Google’s primary IDE for Android, that no language, has, other than Java.

Here’s why now is the time to start using this modern, sophisticated, pragmatic language for your Android development projects.

6. Start contributing to open source

If you have developed a library, plugin, or other useful piece of code and you’re using it in your own app, consider open-sourcing it. There’s much to learn in the process of contributing to open-source projects or maintaining your own. It’s an excellent crash course in open-source development that will exponentially increase your value as a developer.

If you don’t have anything to open-source, consider checking out other open-source projects that interest you, and fix some bugs, improve the documentation, or write a few tests there.

Even the smallest bit of contribution (such as fixing some grammatical errors in the docs) will be helpful for the project maintainer to keep the project running.

7. Make your IDE work for you

Start spending more time in understanding the IDE(Integrated Development Environment) you are using: Android Studio. It can do much more than you probably think it can. There are many cool features and shortcuts hidden in the IDE that most developers don’t even try to discover.

Make it a habit to discover new and better ways of making your tools work for you, thereby improving your workflow and productivity.You can find every tricks and information hidden in your IDE by simply spending more time on your Android Studio.

8. It’s time to architect your app properly

Most of the time we end up dumping all our code in the Activities or turning them into gigantic God objects that are nearly impossible to maintain and test.

It is very important to adopt a good architecture for your app, such as MVP or MVVM. Separate your app’s business logic, view interactions, and data interactions into different layers so that they’re easy to manage and test.Use multiple Activities.Make your Apps architect User friendly(means your app should be made in such a way that user find easy to use and understand just in a single click. )

9. Learn clean coding guidelines for Android

You can’t ignore this either, because it’s really difficult to maintain the standard coding guidelines of Android development when working with developers who don’t write clean code.

It’s not rocket science, and it shouldn’t take you more than a few hours to learn most of the fundamental Android coding guidelines.

10. Spend some time learning about Android best practices

To give yourself an edge over other developers and build apps that look good and work well, you need to start learning some of the best practices of Android development.

Learn the dos and don’ts that will help you become a better developer and help your app stand out from the rest.

Learn pros and cons of using different source codes which will help you to design a an eye catching Apps.

11. Use your free time effectively by listening to podcasts

Try to use your time properly and effectively. When you are commuting, working out at the gym, driving, or cooking, your genius brain is not doing too much.

Podcast will enhance your knowledge about android development by sharing informative negotiations.

You can multitask at such times by listening to some Android podcasts.

12. Don’t over-engineer things. Be realistic.

I have seen this happen not only with me but with several fellow developers as well. Thinking about something before starting to work on it is good (very good, actually), but overthinking and overanalyzing lead to unnecessary confusion and anxiety.

Do what seems good for the project right now, and you can always adjust to the changing situations in the future as required.

13. Try to learn about design

We should focus on the designing of code and Apps.

we should understand that as a developer our primary focus is on learning to write better code. But if you want to be a complete developer,developer should start spending some time on learning and understanding user interface (UI) and user experience (UX) design as well.

This will change the see you look at the apps you have been coding. Try to talk and interact more with the UI and UX designers in your team to get better insight into app design.

In this way you may be able to design a complete and better looking app.

14. Start being a perfectionist

“Perfect” is a subjective term, but as a rule of thumb, try to achieve the best possible version of the product that you are required to deliver, all the time.

Be passionate about the work you are doing, and try your best to complete it. This will help you constantly grow and become a more successful developer in the long term.

15. Consistency is the key to success

If you want to be successful as a developer (or anything else in life), you need to be consistent.

Doing something for a few days or weeks and then quitting won’t take you anywhere. Don’t be fickle. Try to visualize where you want to be as an Android developer in the next few years and stick to your goal, whatever challenges come your way.

It is very easy to start doing something but very difficult to continue doing it with the same passion and dedication for a long time.

16. Start small. Expand slowly.

As a developer, you should always try to break down any complex problem or feature you are working on into small, simple, and independent components that can be understood and solved easily and quickly.so you can find bugs and error easily without any complexity.

Don’t get overwhelmed with the initial size or complexity of a project. Everything can be solved once you are on the right track. Start small, take baby steps, and then expand slowly.

17. Always have a playground project in hand

Having a playground project in progress can completely change the way you learn things. If you come across something new in Android somewhere, make it a habit to immediately give it a try in your playground project.

Suppose you come across an interesting Android library somewhere. Instead of just skimming the docs and the APIs, you should test it out in your playground project. This will give you a much better and deeper understanding of the library.

18. Consider adopting TDD

When you are developing an app, consider making the choice of building it in a robust and efficient way so that it can survive the test of time.

Consider cycle of test-driven development (TDD). First, write the test case that will fail (red), then write the actual code to make the test pass (green), and finally, clean and optimize it (refactor).


Testing can show the presence of errors, but not their absence. — TDD by Example

20. Set up a proper automated release mechanism

As a developer, try to spend as little time as possible on things that should be automated, such as app quality checking and release.

You should automate the quality-checking mechanism with tools such as checkStyle, PMD, Lint, and FindBugs. Running all the unit and instrumentation tests before merging any major change is a must as well.

When all of these checks pass, you get the green signal to publish the APK to the Play Store or distribute it in any other way you want.

TipConsider automating the Play Store publishing process by using open-source tools .

21. Embrace the reactive programming approach

If you want to increase your skills as an Android developer, you should consider embracing the reactive approach. This will force you to think in a completely different way when building your apps.

Going the reactive way will surely help you write interactive Apps faster and make your development life easier.

22. Learn to use Kotlin for Android development

Since Google  announced first-class support for the kotlin programming language  at Google I/O 2017, interest in the language has skyrocketed. This easygoing language brings a breath of fresh air to the world of Android development.

This is great news for Android developers who are bored working on the same old, verbose, and error-prone Java apps. Give it a try and see if it lights a fire of new inspiration in you.

23. Attend meet-ups, and be more social with other developers

Every developers tend to be quite ambivert and don’t like to sit in a corner with our computer, in our own world.

Try to move out of your comfort zone and interact more with other developers. There are lots of things to learn when you attend dev meet-ups and social gatherings or when you just talk to other developers who share interests similar to yours.

TipVisit meetup.com to find meet-ups that you are interested in.

25. Try learning at least one new thing  in Android every week

In the vast world of Android, there are lots of things to learn and understand, enough to overwhelm you when you initially step into it. But things will get easier if you make a commitment to learn one new thing in Android every week.

Make a list of all the things you don’t know, assign priorities to them, and start each of them one by one every week. After a few months, you will find yourself way ahead of where you started.

26. Automate anything that waste your time

We engineers are quite tricky by birth and always try to find an easy and smart method to do a complex task.

So if you need to do something repetitive and boring several times a day, consider automating it. It will cumulatively save your lot of time every week, which you can spend on doing other stuff.

TipHave a look at Zapier, an awesome tool that can help you connect and automate several tools you use almost every day.

27. Consider running two versions of Android Studio

Always keep a stable version of Android Studio to do all the important things you need to do daily. But also consider keeping a canary, or beta, version of the latest Android Studio installed as well.

Sometimes there are lots of new and exciting features that make their way to these early builds that you’ll want to try as early as possible.

Stumble at my Blog i will teach you how to control version in Android Studio while importing source code from other platforms like GitHub.and Keep following me.

28. Audit all your third-party libraries once in a while

We all love using libraries, and that’s perfectly fine when we need them, but make a habit once in a while of auditing all the third-party libraries you have added and removing the ones that you don’t need anymore.

If you are using only a small part of a particular library, consider extracting that part instead of retaining the entire library. An occasional audit will also help you update the libraries that urgently need it.

29. Learn better ways of refactoring legacy codebases

Do not make the mistake of refactoring a huge legacy codebase all at once. Doing so will put you in a trap from which there is no escape.

Instead, consider refactoring parts of the codebase that you need to work on right now and then slowly expand to other parts when necessary. Also, consider writing test cases for the screen you want to refactor before touching any code that you suspect might break existing functionality.

30. Always develop and test on low-end devices

If you want to develop apps like a pro, never, ever make the mistake of developing and testing apps on high-end devices. Generally, we developers own high-end flagships and use them for developing apps as well. But this is something you should absolutely refrain from.

Try to get your hands on the cheapest, lowest-end devices you can find on the market, and make it a habit to develop apps only on those. You will start seeing a lot of flaws in your apps that you had no clue about before. This way you can prepare your Apps for the larger segments of the world population that don’t have the best Android devices.

31.Never afraid of doing mistake or failure

As we now that” failure is the first step towards success”.

we never afraid of writing code and doing mistake. we should perform some mistake knowingly because we learn after mistake how to do good code.

32. Buy the best work machine you can afford

Don’t make the mistake of buying a low-end work machine and ruin your development experience every day with it.

Consider using a Mac (over Windows) for development. You will fall in love with its simplicity and stability over anything else.

If you are purchasing a MacBook, consider getting the one with the best specs you can. You will thank yourself forever for making this decision.

don’t forget to follow us for further informative and learning tutorials about Android Studio. In our next tutorial we will teach you the internal Environment and version control of android Studio.

https://googledevelopertraining.wordpress.com