200447187 android app development report

18
Research and Academic Development Project Development Report for android app Submitted To: Nigel Kermode Name: Muhammad Younus Soton ID: L0188JNJN1111 Semester: 5 th Apps Name: Life Jacket Development Report: Android application research for Provide Health service by using mobile app

Upload: mike-osei

Post on 14-May-2017

213 views

Category:

Documents


0 download

TRANSCRIPT

Research and Academic Development

Project Development Report for android app

Submitted To: Nigel Kermode

Name: Muhammad Younus Soton

ID: L0188JNJN1111

Semester: 5th

Apps Name: Life Jacket

Development Report: Android application research for Provide Health service by using mobile app

Abstract: The aim of the project is to develop an android application for provide a

health service. My apps name is Life Jacket which provides a general health service like

about common disease. This app helps the user to find the disease, syndromes,

guideline, medicine name and follow the instruction. Android application research

report to find out the solution and possible way development resource find out.

Structure design and development for every steps to success. Implementation and

documentation shows how to done this android application. Meet every formal way and

follow the instruction and develop the system.

Table of Contents Abstract: .................................................................................................................................................. 2

Introduction: ........................................................................................................................................... 4

Objective: ................................................................................................................................................ 4

About android: .................................................................................................................................... 4

Research technique: ............................................................................................................................... 5

Development model: ...................................................................................................................... 5

Android platform: ................................................................................................................................... 7

SDK and API: ........................................................................................................................................ 7

Eclipse: ................................................................................................................................................ 8

Dalvik Virtual machine (DVM): ............................................................................................................ 8

SQLite Server: ...................................................................................................................................... 9

Java Language: .................................................................................................................................. 10

Finding information: ............................................................................ Error! Bookmark not defined.

Health Service application of reason: ................................................................................................... 10

Android service ability: ......................................................................................................................... 10

Heath application analysis: ................................................................................................................... 11

References: ........................................................................................................................................... 11

Conclusions: .......................................................................................................................................... 17

Introduction: Android application research project report to find out the resource,

solution, feasibility, problem, ability to do and justify the self. Academic Research and

Development subject show the guideline to achieve the goals. This would help the every

students to decided their project and achievement ability.

I am doing research for finding android application resource and take a guideline to do

the project. Reason of research to find out the problem and decided to make solution.

From various alternative way to take best one to develop the application.

Objective:

Find out android development area.

Existing package and resource analysis

Find out the android problems

By research Decided to achievement of the goals

Application analysis

Find the development tools.

Finding development resource

Analyse the risk involving with android

About android: Android is a mobile phone operating system developed by Google.

This is open source application development platform. Anyone can develop android

application. Several smart phones companies making an android application to provide

batter services their customers. Like Samsung, HTC, Motorola, Nokia, Google Nexus,

Sony etc. This time so popular smart phones are Samsung Galaxy2, S3, Goole Nexus, etc.

This is time of global communication from anywhere to anytime can communicate

people each other. People want their daily easy access and get more services. For that

reason android application so popular everywhere. Android application makes a human

life easier. Using smart phone people finish their important work. like video conference,

Internet access, GPS service, Goole maps, Find location and route, Facebook, Dictionary,

shopping and many more.

Project Choose: My subject criteria is to develop such a system to make an effective

application for the computer science student. Make self confident for every individual

student. Teacher encouragement and inspiration I chosen to develop android

application to develop. Now I hope I would finish my job with in time. I am learning

deeply android development and technique. I am getting knowledge from teacher,

books and Internet etc. I know this is quite heard to get achievement but nothing

impossible. I am doing step by step and making a progress bit by bit.

Research technique: Project research technique is to focus on main subject.

Android development research is main goal so that reasons always focus on Android

application technique. Research the area of android and analysis the possible area

which would help to make a decision and solve the problems. Finding main resource to

focus on particular section and looks for problems. Study of research techniques helps

me to find out the problems. Observation and analysis android online resource and

information which may would help me to get success.

I would like to discover the Android application development area and resources. To

find follow the research method and methodology.

Development model:

Android application development model identify system to development criteria.

Analysis of the current development process, find out weaknesses and problems. So

many development methods are available but some of the very important to follow

model which helps to implementation.

I would like to prefer Iterative Process model and Incremental Process model for

development.

i) Iterative process model for activities

ii) Incremental process model for product

Iterative and Incremental process model to follow of those rules that help the android

application implementation. The relationship between iterative and incremental is

determined by the overall software development methodology and software process.

Iterative process model is mathematical procedural and sequence implementation.

Fig: Iterative process model diagram

Incremental process model help me to analysis, design, implementation, testing and if

make any mistake than go back to correct the error. Incremental method is software

development model design, implementation, testing that incrementally. Incremental

process model of relationship with products. Products development and maintenance,

design and built combination of relation.

Fig: Incremental process model.

Android platform:

Android is open source application software. Android application development tools

and resource are open. Anyone interest to make this application but needed basic

programming knowledge. Like Jave, C, C++ etc. Make an android application needed

environment to setup the development tools. Android SDK and API need to setup, Also

SQLite server etc. These are open source on the Internet and provide by android

development authority.

SDK and API:

SDK is a Software development kit. This is enables developers to create such application

on the android environment. SDK is an open source and download on the computer.

SDK provides android platform. The android SDK includes Sample project, Source code,

development tools and emulator. This is Java packages on Eclipse. SDK includes some

packages and automatically create some function. SDK is combination of packages and

classes. Java has lots of classes and thesis classes working together make an appropriate

application or program. This is working with android virtual devices (AVD).

Example of virtual devices: Nexus 7 -7.3’’ Large screen

Nexus S (4.0’’, 480 x 800) normal hdpi screen

Note: hdpi means high definition pixel

Galaxy Nexus, WXVGA, WQVGA, HVGA etc many of screen size and pixel

combination. Medium, Normal, Large etc.

API stands for Application Programming Interface. API is a set of commands, function

and protocols. Software for a specific operation and operating system. All kind of

operating system has a API such as Windows, Linux, Unix, Mac OS etc.

API explain programming access functionality, contain code library. Jave comes with

many code libraries that gives written accessibility and functional programming.

Fig: Android SDK manager

Eclipse: Eclipse is a multi language software development environment. Eclipse

comprising an integrated development environment (IDE). One of the most important is

JVM which stands for java virtual machine. Eclipse setup on c: drive and every IDE

Comprising a base workspace. Eclipse of all folder put to C: Drive and start in C: Drive.

SDK have to be reference because SDK is different package.

Dalvik Virtual machine (DVM): Android Dalvic Virtual machine designed and

written by Dan Bornstein at Google. DVM provide runtime environment and bytecode

generated in compiler. DVM provides a relation with mobile environment for the target

device.

Its working like as a mobile. Virtual mobile setup in android environment to working,

testing.

SQLite Server: SQLite is public domain software package server. It is provides a

database management system or relational database management system. SQLite

database engine can process complex commands, query, multiple database table,

mathematical function, condition etc.

Server is like central processing unit. Anything changes in server all client are change.

Relationship with server and client is important. If server is not working cannot get

services client or user. Do not need to change every client if change needed. Just change

the server automatically change everywhere if modify the server. Most of the server has

tow system, Primary and secondary server. Primary server is main server if any reason

server fall in fault automatically secondary server will active.

Usually any change needed in server first change the secondary server than testing the

server. If that working properly than secondary server role to primary server.

Example of Database server:

MySQL

SQLite

Microsoft SQL server

Oracle Database

IBM DB2

Java Language: Jave is programming language. First generation of language was

machine language. Binary number 0 and 1, positive and negative. Than update machine

language to second generation language like Forton, Assembly etc . Now we are using

3rd Generation programming language. C, C++, java etc.

Java language has using everywhere for development application, operating system,

mathematical equation, algorithm, etc. Using java make an appropriate application.

Develop an Android application in Java language, satisfactory and functionality of

activities is good.

Health Service application of reason: I decided to make an android application

for health services. Nowadays health problems are rapidly increasing because global

environment changing, Food quality are changing. Cultural, Virus, Communication etc

affect the human body. My apps just give them guideline and some solution that would

provide. I would like to provide guideline by using mobile android application, Disease

syndromes, medicine name and follow the instruction.

Global environment problem: Global environments rapidly changing for that

reason humankind physically and psychologically scuppering by many kind of diseases.

Inform the user about environmental diseased. For that reason lots of common disease

and illness happening every time.

Food problems: Get the good quality food quite heard. Day by day food qualities are

changing because transportation, shipping, packaging change the food quality. Most of

the daily life foods are mixed by chemical, which harmful for body. Maintain the food

colour and keep long time use the chemical on food. Chemical mixing foods affect the

human body and that reason people scuppering by so many disease.

Cultural problems: Human cultural and activities also one of the reason for health

problems. Traditional food and food cooking are not good some of the cultures. For that

reason people fall many kind of disease.

Virus problem: Human discovering of many bacteria, and virus also making

medicine to protect. But still rising virus and scuppering by many disease.

So many reason of fall in illness, I can’t explain all of them but I am trying to do make a

some solution for them.

Android service ability:

Android application service ability has to be research because check the possibility.

Finding Android platform ability to makes solutions for health services. Android is big

area to such a development any kind of application.

Android application platform is a combination Java SDK of classes and packages. Java

language is big programming language any kind of solution can make in java.

Mathematical equation, calculation, scientific equation, problems solves, algorithm can

provide solution in java.

Webpage development: Java is programming language to using high quality

website development. Like e-commerce website, government website, mathematical

equation, payment online etc.

Database development: Any kind of database control, function, equation, highly

quality database control and making by Java language.

Banking: Banking security, payment, card information, ATM machine, counting etc

develop by Java language.

Security: java is high quality programming language to control and maintain the

security. Information security, quality update system, condition applies etc provide in

and control by Java programming language.

That means most of the application and development using by java. My health service

application making and development in java.

Heath application analysis: Using android application development tools I am

going to make an android application for health services. Research and analysis make

easier to find resource and coding. General information for android application. General

disease of list and make sequence and analysis the information of diseases.

British Medical authority provides general health service books that helpful for my

apps. Medical dictionary has a list of diseases and medicine name. Syndromes of disease

and suggestion, guideline helps the application to make a good application.

Android Development Area

I set up on my computer android development platform. Java eclipse and java SDK and API that

would help me to make such application.

Programming Coding

Java package provide active log file that edit and make some stuff.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="wrap_content"

android:layout_height="match_parent"

android:paddingBottom="@dimen/activity_vertical_margin"

android:paddingLeft="@dimen/activity_horizontal_margin"

android:paddingRight="@dimen/activity_horizontal_margin"

android:paddingTop="@dimen/activity_vertical_margin"

tools:context=".StartingPoint" >

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="@string/hello_world" />

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="@string/hello_world" />

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="@string/hello_world" />

</RelativeLayout>

Edit the XML File below

after making a xml file to connect with java StartingPoint.java program for counting

package com.adntest.adntest;

import android.os.Bundle;

import android.app.Activity;

import android.view.Menu;

import android.view.View;

import android.widget.Button;

import android.widget.TextView;

public class StartingPoint extends Activity {

@Override

protected void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.activity_starting_point);

}

int counter; // integer counter

Button add, sub; // two button added

TextView display; // for display the text

@Override

public boolean onCreateOptionsMenu(Menu menu) {

// Inflate the menu; this adds items to the action bar if it is present.

getMenuInflater().inflate(R.menu.starting_point, menu);

counter = 0; // counting from 0

add= (Button) findViewById(R.id.bAdd); // xml file reference

sub = (Button) findViewById(R.id.bSub);

display = (TextView) findViewById(R.id.tvDisplay);

add.setOnClickListener(new View.OnClickListener() { // listener view

@Override

public void onClick(View v) {

// TODO Auto-generated method stub

counter++; // counter add by 1 everytime

display.setText("Your total is" +counter); // shows the counter number

}

});

sub.setOnClickListener(new View.OnClickListener() {

@Override

public void onClick(View v) {

// TODO Auto-generated method stub

counter --; // counting minius

display.setText("Your total is" +counter); // display the text from and conting from

counter.

}

});

return true;

}

}

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" // fine reference

xmlns:tools="http://schemas.android.com/tools" // tools and packege ref

android:orientation="vertical" // system of the text file

android:layout_width="fill_parent"

android:layout_height="fill_parent"

>

<TextView // text display

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:text="Your total is 0" //display this text

android:textSize="45dp" // text size

android:layout_gravity="center"

android:gravity="center" // position of the text

android:id="@+id/tvDisplay" // java reference

></TextView>

<Button

android:layout_width="250dp" // display the density pixel

android:layout_height="wrap_content" // text wrap-content

android:text="Add one"

android:layout_gravity="center"

android:textSize="20dp"

android:id="@+id/bAdd"/> // from java program reference

<Button // making a new button

android:layout_width="250dp" //density pixel

android:layout_height="wrap_content"

android:text="Subtract one"

android:layout_gravity="center" //position of the button and text on screen

android:textSize="20dp"

android:id="@+id/bSub"/> // for java referance

</LinearLayout>

References: Harvard reference system

(Jhan A Sharp, 2002) (corporation, 2003) (Robin, 2010) (Anon., 2012)

(Bondarenko, 2009)

Anon., 2012. Android. [Online]

Available at: http://www.android.com/

[Accessed 23 5 2013].

Bondarenko, V., 2009. research Technique. [Online]

Available at: http://www.informatik.uni-konstanz.de/fileadmin/informatik/ag-

saupe/Webpages/lehre/sp_09/newMaterial/sp09BondarenkoProposal.pdf.lic

[Accessed 25 5 2013].

corporation, A., 2012. Android. [Online]

Available at: http://www.android.com/

corporation, M., 2003. Microsoft Research. [Online]

Available at: http://research.microsoft.com/en-us/downloads/3bfe09dc-a750-4fb8-9419-

f03e7031f287/

[Accessed 16,18 05 2013].

Jhan A Sharp, J. P. a. D. H., 2002. The management of a Student Research Project . In: Gower, ed.

London: The Open University , pp. 25,27,85,89,120-145,198-215,235,.

Robin, A., 2010. Android SDK. [Online]

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

[Accessed 18 05 2013].

Robin, A., n.d. Andorid develoo. [Online]

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