how to build your own android app -step by step guide

21
Presented by

Upload: ace-web-academy

Post on 14-Apr-2017

671 views

Category:

Internet


2 download

TRANSCRIPT

Page 1: How to build your own Android App -Step by Step Guide

Presented by

Page 2: How to build your own Android App -Step by Step Guide

Introduction

It’s the rage of android apps now as every business gets success and reach the end users with its true potential. This is not down to earth process to create an outstanding app, rather every developer with basic knowledge of some coding languages like JAVA, C, C++ can do this.

So if you wanted to create an app out of your ideas, then here is the quick and simple guide which helps you to build your won android app guide in less time. Follow the simple steps and for sure you can earn handsome amount with the creative app which you have curetted.

www.acewebacademy.com 040-64586626/7660966660

Page 3: How to build your own Android App -Step by Step Guide

Prerequisites of android app development

•If you want to create a basic android app, you should have basic knowledge on coding languages like JAVA, C, C++.

•Concept/idea to showcase or implement your app

System specifications to check:The following are the required software requirements which you need to install if you are not having before you start creating the app. Doesn't have!Download and install the both Java tool Kit and Android StudioFirst we need to install Java Jdk, because android studio will select automatically jdk path.

Or If you want to install android studio first then you need to set “Home path'

Java Jdk1.7 or Jdk 1.8 Java Jdk1.7 or Jdk 1.8http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

http://developer.android.com/sdk/index.html

Hardware Requirements: Ensure that you are having these hardwarespecifications - RAM 4GB, Hard disk 500GB

Page 4: How to build your own Android App -Step by Step Guide

Wireframe

Have a great idea to develop app? Then now draw wireframe for your basic app and ensure that you are making use of this tool to represent the proposed functionality of the app and the structure of the app. There should be proper attention on the graphical elements and the functionality of the app. When this is achieved properly, then developing the code will be easier and you will also know how the end users are going to use it. It is also helpful to make desired changes if you wish things are not as per the specifications.

For example I want to develop a basic Login Demo app with login & sign up buttons functionality. Here is my wireframe

Page 5: How to build your own Android App -Step by Step Guide

Impeccable Design

Design is the element which attracts the people. When they like the graphics and the colors used for the theme of the app, then they would spend some more time and know the details of the app or its services. So make sure that you are vigilant about the colors and as well the images and the graphics which you put into it.

Page 6: How to build your own Android App -Step by Step Guide

Steps How to Create android app (Login Demo)

Once you are done with the wireframe and then added the images and the designs of the app, now it is time to start the coding as per the requirements.

Step 1: Open the Android studio and you can follow the bellow steps to create new app.

Go to file------->New ----> new project

Page 7: How to build your own Android App -Step by Step Guide

Start development:

Step 2:Define Your app name, package name. Here you have to enter the app name, company domain and as well the package name once you are decided with the name.

App Name: Login Demo

Package/Domain Name: By default you can see your PC name.

package com.infasta.logindemo; here com is domain name, infasta(PC name) is user editable name and login demo is an app name

Find code on: http://bit.ly/1PnTPNK

Page 8: How to build your own Android App -Step by Step Guide

Start development:

Step 3:

Enter the form Factors of the app (phone&tab, wear, tv, glass). Enter the details of the SDK, TV glass, Wear and then proceed further.Form factor: It says type of your app, below are option you can find. Depends on the requirement you need to choose.

Page 9: How to build your own Android App -Step by Step Guide

Impeccable Design

Step 4:

Once you select the form factor, the code will be generated by default.Select empty activity for Login App Demo

Page 10: How to build your own Android App -Step by Step Guide

Start development:

Step 5:

After you selected the form empty form factor, java class(with default class name as MainActivity) and related xml file(with default name as activity_main)

As per your requirement you change both Java class and xml file name.

Find code on:http://bit.ly/1PnTPNK

Page 11: How to build your own Android App -Step by Step Guide

Start development:

Step 6:

Once you finish step 5, your application starts building in back-end in this process dependence jar files will be added to app and completes app building. Build the ApplicationHere your project is created and now you can add the dependence jar files and build the application

Page 12: How to build your own Android App -Step by Step Guide

Start development:

Step 7:

Once your application is built project gets created and then Java Class, Xml files open automatically. You can see same as below

Page 13: How to build your own Android App -Step by Step Guide

Code for Login App Demo

Step 8:

Open xml file, go to Design part and drag required 2 buttons from left side widgets windowHere you can define the button listener method inside button tag

android:onClick="loginPage" <!—onClick=signupPage this method name you can write inside the java class end of onCreate() method -->

Find code on: http://bit.ly/1PnTPNK

Page 14: How to build your own Android App -Step by Step Guide

Code for Login App Demo

Step 9:

You can define the button actions above the screen in java file.Every screen’s logical code is provided here.

MainActivity.java

Page 15: How to build your own Android App -Step by Step Guide

How to create the new Activity or another screen

How to create the new Activity or another screen

Step 10:

To create new Activity, follow the below screen and here you can defend the java class, xml file name also.

Page 16: How to build your own Android App -Step by Step Guide

Start development:

Step 11:

This is the screen for (Login screen) xml filesactivity_login.xml

Find code on: http://bit.ly/1PnTPNK

www.acewebacademy.com 040-64586626/7660966660

Page 17: How to build your own Android App -Step by Step Guide

Start development:

Step 12:

This screen is for (signup screen) java and xml files

java file for SignupAcitvity.javaActivity_signup.xml

Page 18: How to build your own Android App -Step by Step Guide

Start development:

Step 13 :

How to pass the values from one screen to another screen OR

Here the above signup details are shown as followed.

Ctivity_home.xml

Page 19: How to build your own Android App -Step by Step Guide

Conclusion:

This is the simple guide which helps even the developers to develop the app which gets the attention of the market. If you have an idea for business, do not stop implementing it just thinking of the budget. Because you can even create an app and this is as simple as explained above. Just make a note of the factors and the functionality and then you can achieve step by step in no time. Happy and successful journey of creating the app for your simple business.

A guide by Ace Web Academy Professional Mobile App development Trainer

For more guides visit:

www.acewebacademy.com/blog

www.acewebacademy.com 040-64586626/7660966660

Page 20: How to build your own Android App -Step by Step Guide

Contact Details

Ace Web Academy3-6-327 & 328,First Floor, Doshi ChambersBasheerbagh, Hyderabad - 500 029Telangana, India

Email : [email protected] : 040-64586626 / 7660-966-660

www.acewebacademy.com

Ace Web AcademyPlot. no: 124, 2nd floor, Road no:12,Near Municipal Park ,West Marredpally,Secunderabad, Pin:500026.

Email : [email protected] : 040-64586626 / 7660-966-660

www.acewebacademy.com

Our Locations

Follow us on:https://www.facebook.com/acewebacademytraininginstitutehttps://www.youtube.com/user/AceWebAcademyhttps://plus.google.com/+Acewebacademyhyderabad/abouthttps://twitter.com/Acewebacademyhttp://in.linkedin.com/in/acewebacademy

Page 21: How to build your own Android App -Step by Step Guide

Start development:

Than

k You

!