UNIT CONVERTER

Post on 13-Jan-2017

235 views 13 download

transcript

UNIT CONVERTERFOR ANDROID

What is Android Android is a software stack for mobile

devices that includes an operating system, middleware and key applications.

Different Versions

What is an Android Application An Android application is a software

application running on the Android platform. Because the Android platform is built for mobile devices, a typical Android app is designed for a Smartphone or a tablet PC running on the Android Operating System.

Android Studio Android Studio is an Integrated

Development Environment (IDE) for developing android applications for the Android platform.

It was announced on May 16, 2013 at the Google I/O conference by Google's Product Manager, Katherine Chou.

Unit Converter Objective

The primary objective of Unit Converter Application is to allow its users to make most used unit conversions like km to mile, foot to inch, Celsius to Fahrenheit and many more including currency and weight conversions other than basic length and temperature conversions.

Unit Converter Tools and Languages Used

The project is developed in Java Programming Language using the Android Studio Integrated Development Environment or IDE.

Unit Converter Description of some functions and terms

Activity • Activity is a Java code that supports a screen or UI.

Splash Screen• Splash screen is an activity that will show for set time

when our app is starting and after set time period the user is redirected to application main screen or main activity.

Unit ConverterToast

• A toast provides simple feedback about an operation in a small popup. It only fills the amount of space required for the message and the current activity remains visible and interactive.

Spinners• Spinners provide a quick way to select one value from

a set. In the default state, a spinner shows its currently selected value. Touching the spinner displays a dropdown menu with all other available values, from which the user can select a new one.

Unit Converter Layout Resource File• A layout resource defines the architecture for the UI in

an Activity or a component of a UI.

Unit ConverterEditText

A EditText field allows the user to type text into our app. It can be either single line or multi-line. Touching a text field places the cursor and automatically displays the keyboard.

 

Unit ConverterOnCreate()

When the user selects our app icon from the Home screen, the system calls the onCreate() method for the activity in our app that we've declared to be the "launcher" (or "main") activity. This is the activity that serves as the main entry point to our app's user interface. It is called on initial creation of the fragment & non graphical initializations are done here. 

findViewById()• Android findViewById () is a very commonly used function,

located in the android.app.Activity package. This function is used to find a view that was identified by the id attribute from the XML that was processed in onCreate(Bundle) . 

Unit Converter

Unit Converter Screenshots of the App

Unit Converter

THANK YOU…