Вы находитесь на странице: 1из 6

Android Mobile Application Development

Android application assignment help

MARCH 15, 2017


PROGRAMMING ASSIGNMENTS HELP
help@programmingassignmentshelp.net
This Programming Assignment Help article focuses on Android Mobile Application Development.

1. Introduction
ZOMBA Android Mobile Application is full fledge Mp3 Music application have all the feature of new
generation music application. It is a single app to have functionality as below

Playlist can be made basis song preferences


It has options to play, pause, rewind, forward and stop the music
It will have option of repeat or shuffle with all features
The music will continue to play while working on other apps/ windows
It will play songs in mp3 format
It can be post in Google play or any other App Store to make it available for a free download and
use.

Additional functionality supported

Multiple locale Support ( English, Arabic, Turkish and Russian)


It is compatibility Mobile and Tablets Support
Music will continue to play while working on other apps/ windows
It is very light weight in terms of memory space and can be easily loaded
Huge number of configuration options
Flexible tabs setting
Playback multiple setting like Display mode, Swipe up/down/tap/long press actions
Notification Mode\Action\Color inversion Settings options
Accelerometer Shake setting options
Other many miscellaneous setting options like Emulate Stock Broadcasts, ScrobbleDroid API for
FM, 1X1 widget

2. Application Development Process


Android software development is the process by which new applications are created for the Android
operating system. Applications are usually developed in the Java programming language using the
Android Software Development Kit.

The Android software development kit (SDK) includes a comprehensive set of development tools. These
include a debugger, libraries, a handset emulator based on QEMU, documentation. Android applications
are packaged in .apk format and stored under /data/app folder on the Android OS (the folder is
accessible only to the root user for security reasons). APK package contains .dex files (compiled byte
code files called Dalvik executables), resource files, etc.

Below is the life cycle of Android Application Development

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
The activity is the core of an android application. Each application can have one or more
activities. Below we have explored the activitys life cycle and understand the event handler of each
stage through the activitys life cycle.

Activities in the system are managed in an activity stack (Last in Last out). When a new activity is
launched it becomes on the top of the stack. Any previous activity will be below it and wont come to
the top until the new one exists. The application on the top of the stack has the highest priority from
the operating system. While the activity that is not visible has lower priority even if running activity
requires more memory, the system can shut down that activity to free memory.

Android runs each activity in a separate process each of which hosts a separate virtual machine. Android
saves metadata (state) of each activity so that when a new activity launches so that it can come back to
the activity when the user backtracks. [Read about System Development User Manual]

The activity can be in one of four states:

Active: the activity started, is running and is in the foreground.

Paused: the activity is running and visible but another activity (non full sized) is running on the top or a
notification is displayed. The user can see the activity but cannot interact with it. A paused activity is
fully alive (maintains state and member information) but can be killed by the system in low memory
situations.

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Stopped: the activity is running but invisible because the user has launched another activity that comes
to the foreground the activity is alive (maintains state and member information) but can be killed by the
system in low memory situations.

Dead: either the activity is not started or it was in pause or stop state and was terminated by the system
to free some memory or by asking the user to do so.

Read more about computer network assignment help

The following figure shows the states of the activity and the methods that handle each state

The sequence is as follows:

The activity starts, passes through onCreate(), onStart()the activity is still not visible to the
user, onResume() then it comes to the foreground and becomes fully running.
If another activity launches or a notification appears the activity passes through
the onPause() Then there would be two scenarios:

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
1.if the system decides to kill your activity due to low memory the activity starts the cycle again
from onCreate()method with Bundle savedInstanceState parameter that holds data about the
previous state of the activity.
2.If the user resumes the activity by closing the new activity or the notification the activity cycle
continues from the onResume() method
When the user is about to close the activity the activity calls onStop() method
then onDestroy() method when the system destroys the activity.
But if another activity runs while the current one is was not shut, the activity calles onStop()method
and if it is not killed by the system it will call onRestart() method then onStart()mehod and
continues the cycle.
onCreate(): will be invoked in three cases:

the activity runs for the first time and it will be invoked with null Bundle savedInstanceState parameter.
the activity has been running then stopped by the user or destroyed by the system then it would be
invoked with Bundle savedInstanceState that holds the previous state of the activity.
the activity is running and you set the device to different resources like Portrait vs landscape, then the
activity will be recreated.in this method you will create the user interface, bind data to controls and
register the event handlers for the controls. Then it is followed by onStart() method.

onStart():will be invoked when the activity is first launched or brought back to the foreground
it would be followed by onResume() if the activity continues and comes to foreground, or
byonStop() if the activity is killed.
onRestart():is invoked in case the activity has been stopped and is about to be run again. Always
followed by onStart() mehod.
onResume();invoked when the activity is about to come to the foreground and is on the top of the
activity stack. It is the place where you can refresh the controls if the activity is using a service that
displays some feeds or news. Always followed by onPause()
onPause():is invoked when another activity launches while the current activity is launched or when
the system decides to kill the activity. In this method you have to cancel everything you did
in onResume() method like Stopping threads, stopping animations or clearing usage of
resources(eg the camera).This method is followed by onResume() if the activity returns back to
front or by onStop() if the activity is to be invisible.
onStop(): is invoked when a new activity is about to come over the current one or the current one
is to be destroyed. Always followed by onResume() if the activity comes back or onDestroy() if the
activity is to be killed.
onDestroy():is invoked when the activity is shutting down because the activity
called finish()[terminated the activity] or because the system needs memory so it decided to kill
the activity.

This is how you should design a website for a Music School

Killable methods:

There are methods that are killable meaning that after these methods return, the process hosting them
can kill the activity without executing any further code (due to lack of memory)

These methods are onPause(), onStop() and onDestroy()

www.programmingassignmentshelp.net help@programmingassignmentshelp.net
Development life cycle is use to develop this application.

Read more about computer programming assignment help

Programming Assignments Help is the best assignment help provider in the United Kingdom.
Our online assignment writing help UK is especially dedicated for the students studying in all
UK colleges and universities. Submit assignment to get the best quality assignment help.

www.programmingassignmentshelp.net help@programmingassignmentshelp.net

Вам также может понравиться