Posts

,

A 10 day program to create your first Android app

Building your first Android app doesn’t have to be hard. If you aren’t overly ambitious, then you can break the process down into some simple steps and avoid overwhelming yourself in one go. The trick is to make your first app relatively simple and to focus on creating something. Don’t try and create your magnum opus first time around – build something small to learn the ropes and to understand how it all works. This will give you the understanding and the confidence you need to go bigger next time.

 

In this post, I’ll show you exactly how to do that in 10 simple steps. We’ll go from the initial inception and ideation, all the way through to uploading your app to the Play Store. All you need is a couple of hours in the evening spread out over 10 days and you can officially call yourself an app developer!

Day 1: Ideation

Before you can get started, you obviously need to have an idea of what you’re going to create. Working toward a project makes learning much easier because it creates context and direction. Thus your first step is ideation – coming up with a cool app concept.

The aim here is not to become the next Mark Zuckerberg with a world-changing idea though. Instead, the aim should be to create something that’s as simple as possible while still being fun/interesting. Don’t make it so boring that you don’t want to make it but try to avoid any complex functions as far as possible. Ideally, the app will only require one ‘screen’ (activity) and will involve some simple interactions so that something happens when the user presses a button. Consider it a challenge to make something that’s genuinely useful with the minimum amount of code.

You can build something more complicated in future but to get you started the priority is to get a working app in the store. By the end of day one, you should know what it is you’re going to make and have an idea of how it will function.

Day 2: Drawing a wireframe

Now you know what it is you want to create, you should come up with a basic wireframe for the app. Wireframing is an expression often used in web design but it applies here too. It means drawing a map of the individual screens (if you’re going to have more than one), of the buttons, and of any graphics you’re going to use (like logos, images, backgrounds etc.). This will give you a good outline for everything you need to create.

You can find a pretty good guide to creating wireframes from Google here. I recommend going with something a little less complex for your first app though. Don’t worry about following any particular method for creating your plan either – just draw it out in a way that you understand and that comes naturally. Use some grid paper and sketch freely. Either way, by the end of day 2 you should have a sketch of your app and know precisely what graphical elements you’ll need.

Day 3: Choosing your IDE and setting it up

The next step is to choose your IDE and programming language and then get set up. The IDE is your ‘Integrated Development Environment’; a piece of software that provides everything you need to develop your apps. This software will provide the window where you’ll enter your code, it will check it and format it as you type and it will compile everything for you when you’re ready to test it or publish it. The IDE is notthe programming language itself though, so depending on the method you’re using you’re also going to need to download the Software Development Kit, which contains the compilers for the programming language itself. Don’t worry about that though, just follow the steps outlined and it will all be handled for you.

The most common way to build Android apps is to use Android Studio and Java. This is the official method recommended by Google and it will afford you a lot of flexibility while ensuring there’s plenty of support if things go wrong. This is also the method you will need to know if you ever plan on becoming a professional developer. I’ve published a post previously walking through the steps needed to get started with Android Studio. This will show you how to install and set-up everything you need from Android Studio itself, to Java and the Android SDK. Again, don’t worry about it.

There are numerous other options for your IDE and language too however. You may pick Unity and C++ for instance if you want to make a game. Basic4Android is an IDE focused on rapid development that lets you code with BASIC rather than Java. There’s even an IDE that runs on Android called AIDE.

In the vast majority of cases though, I recommend that you use Android Studio for your first app (and the rest of this post will assume that’s the route you’re taking). Walk through the steps I outlined to set that up and try to create your first ‘Hello World’ program by the end of day 3.

Day 4: Learning the basics of Java

As we’re using Android Studio and Java to build our app, it will certainly pay to learn a little Java. There’s no need to becoming a coding wizard at this stage but you should at least know what the formatting looks like and you should be familiar with some simple concepts such as variables, classes and conditional statements.

And as you do this, revisit your wireframe and make a note of what will happen on each button click. Don’t worry if you don’t know how to connect certain code to certain interactions yet, that will come with time. This is all going to be very abstract at this point!

Day 5: Creating/acquiring your images

That was a bit heavy, so for day five we’re going to come back to doing something a little easier and more fun. Specifically, we’re going to create and acquire the images that we need. You should know exactly what kinds of materials you’ll want based on your wireframe and that will include things like icons, logos and backgrounds.

” There’s nothing wrong with using free materials; most professional apps do it! “

Some of these things you can build yourself using tools like Adobe Illustrator. Others you’ll probably want to borrow and fortunately, there are tons of free resources where you can find images in the public domain. Check out Icons, fonts, tools and more resources for Android developers for a helpful list. You could even go another route and outsource some aspects of the design.

We’re aiming to do this in an evening remember, so don’t be too ambitious! There’s nothing wrong with using free materials; most professional apps do it!

Day 6: Building the layout

Now you’re going to create your layout in Android Studio using the ‘designer’. This is a tool that lets you simply drag and drop the widgets (also called ‘views’) where you want them on the page. You’ll need to start a new project in Android Studio to do this but there will still be no coding necessary at this point (except maybe a little XML). To start a new project select File > New > New Project. Follow the steps selecting a name for your project and for your activities and choose ‘Empty Activity’.

Now we’re going to be launching the ‘designer’ before starting to arrange where we want our widgets/ views (the buttons, images and text etc.). I’ve written about how to go about this in my tutorial How to build and use a basic Android app for your business and although that post is about creating a business app, the same layout and design principles apply. That post will also show you how to add the graphics you collected to your project.

Day 7: Writing the code

Now comes the more challenging part – adding the code. You know the basics of Java and you have your widgets/views already in place. Now you’re going to open the Java file for your main activity and simply create some ‘onClick’ events to add code that will run only when users click a specific button or otherwise take a specific action.

As you build your code, you’ll want to test that it’s working. You can either do this by building a ‘debug’ APK and installing it on your device, or by using the AVD (Android Virtual Device) Manager. This lets you run Android apps on your computer so that you can test whether your apps are working or not.

Day 8: Implementing more advanced functionality

You probably didn’t completely finish your code in one day with only a few hours’ worth of learning Java (unless you’re some kind of prodigy!), so this bit will take a little longer. That’s why I’m setting aside two days to add the code…

By now though, you should have some of the basic functionality in place so that your app responds to button clicks (in one way or another) and perhaps stores some variables.

Next is to add the more advanced functionality that will be specific to your app. For example, you might want your app to play music when a button is clicked. Maybe you want to add some flashy animations. Or perhaps you need to know how to transition from one activity to the other.

” With the ability to look up your own solutions and use them, there’s really no challenge you can’t handle. “

All these things are relatively easy but I can’t cover all of them here because I don’t know what kind of app you’re making! So instead of giving you fish, I’m going to teach you how to fish… Just identify what it is you need your app to do and then search Google to find advice on how to get that working.

For example, if you want your button to play a sound when you click on it, just search: “Android Studio play mp3 on click”

At the time of writing, that search string brings up a ton of different suggestions from sites like Stack Overflow and YouTube. You don’t even need to understand how the solutions work – just grab the code and paste it into your own app to add the required functionality (replacing any variables as necessary).

With the ability to look up your own solutions and use them, there’s really no challenge you can’t handle. By the end of day 8, your app should be able to do all the things that it needs to do.

Day 9: Adding some extra polish

Being realistic, your app is probably still a little rough around the edges at this point, so you should do some stress testing to make sure it isn’t going to crash all the time and maybe add some polish here and there too.

Another tip is to give your app to your friends and family so they can have a go at testing it. Do what needs to be done to make sure your basic app is polished and ready for the prime time.

Day 10: Publishing your app

Finally, you need to publish your app. That means you need to sign your application and create a new APK (the installation file that users will download to use your app). Signing is a form of certification which ensures no one except you can upload updates etc. The official documentation can be found here. You should also view this page to find out how to build a release-ready APK through Android Studio.

step of uploading the APK to Google. You’ll need to pay a $25 registration fee but it’s a one off and hopefully it will prove to be a smart investment once you’re a billionaire app developer!

As you go through this process, you’ll be required to select a price (free is probably best for now) and to fill out fields pertaining to your app description. You’ll also need to add some screenshots and an icon. For some pointers on how to get your app to stand out in the store

Day 11: Rest

And on the 11th day, you shall rest! And also watch in eager anticipation as your download counter creeps up and you start getting reviews (hopefully anyway!). Don’t worry if that doesn’t happen though; this is just a learning curve and no matter how things turned out, you should now be much better poised to start on your next project. And regardless of whether you managed all this in ten days, hopefully you now understand the process you need to go through in order to create your own applications. It really isn’t all that hard once you jump in!

, , ,

How to Make Websites Load Faster In Google Chrome On Android

How to Make Websites Load Faster In Google Chrome On Android

Through Earn Web Tech we are going to share an easy method to make websites load faster In Google Chrome on Android. With this method, you can easily boost up your android’s Google Chrome browser.

Today we are here with a cool method to make Google Chrome browse faster on Android. Google chrome is one the most conventional web browser for PC user and is further available for all OS like android. However, with the time Google chrome starts lagging and it becomes slow. Also, you face problem while managing multiple tabs at once. At that time, it sometimes stops responding. So to overcome this, we have a cool method that will not only make your Google chrome browser much faster but will also let you manage multiple tabs efficiently. So read out the complete guide below to proceed.

How to Make Websites Load Fast In Google Chrome On Android

The method is very simple and we will be editing some hidden feature of chrome in this method and with that, your chrome speed will boost up and it will browse web pages faster. So follow up the below steps to proceed.

Steps To Make Google Chrome Browse Faster In Your Android

Step 1. First of all, you must have the latest version of Google Chrome on your android device. Now open your google chrome app and in URL bar type Chrome://Flags and then hit enter.

Make-Google-Chrome-Browse-Faster-In-Your-Android-576x1024

Step 2. Now lots of hidden settings will get open.

Make-Google-Chrome-Browse-Faster-In-Your-Android-2

Step 3. There search for the option “Maximum tiles for interest area Mac, Windows, Linux, Chrome OS, Android“.

Make-Google-Chrome-Browse-Faster-In-Your-Android-3

Step 4. This is the Ram value which is default at initial but you have to change it to its maximum values that are 256 or 512.

Make-Google-Chrome-Browse-Faster-In-Your-Android-4-576x1024

Step 5. Now simply click on Relaunch Now button there.

Make-Google-Chrome-Browse-Faster-In-Your-Android-5

That’s it! you are done, now you will see web pages will load faster than before. So above is all about How to Make Websites Load Fast In Google Chrome On Android. With this method, you can easily boost up your android’s Google Chrome browser with a simple change in its hidden settings. Hope you like our work, do share this cool trick with others too. Leave a comment below if you have any related queries with this.

Mohit Saini is a freelancer and is actively engaged with several websites providing with articles on technology. He likes to stay updated with the current tech news related to Web Hosting and Domain Registration. For any questions, mail him 11mohitsaini@gmail.com