44
LIVE WALLPAPER PRESENTATION BY STEFFY ROSHAN REG NO: A9GMCA2014

Live Wallpaper

Embed Size (px)

DESCRIPTION

Live Wallpapers are animated, interactive backgrounds for the Android homescreen. A live wallpaper is similar to other Android applications and can use most of the same functionality.

Citation preview

Page 1: Live Wallpaper

LIVE WALLPAPER

PRESENTATION BY STEFFY ROSHANREG NO: A9GMCA2014

Page 2: Live Wallpaper

INTRODUCTION

● “Richer, animated, interactive backgrounds”● Provide another means for the user to interact

with your application● The application becomes your desktop● Live wallpaper is supported only on Android 2.1

(API level 7) and higher versions of the platform

Page 3: Live Wallpaper

INTRODUCTION

● The animated background are applied to your home screen in the same way that a static wallpaper is added

● Starting with Android 2.1 (API Level 7), users can now enjoy live wallpapers ― richer, animated, interactive backgrounds on their home screens

● A live wallpaper is very similar to a normal Android application

Page 4: Live Wallpaper

INTRODUCTION

● It has access to all the facilities of the platform: SGL (2D drawing), OpenGL (3D drawing),etc.

● The eye-popping designs and animations of the best live wallpapers make good viewing experience

Page 5: Live Wallpaper

EXISTING AND PROPOSED SYSTEM

● Live wallpaper was a feature added which allows the actual background or desktop of the phone to act much like an application

● It can animate and interact with the user● One of the compelling user features of the Android

platform is the ability to customize many aspects of the user experience

● Among these is the ability to customize the home screen wallpaper with something other than a static image

Page 6: Live Wallpaper

EXISTING AND PROPOSED SYSTEM

• The proposed system of "live" wallpaper can contain images, geometric shapes, animations, interactive features

• The main functionality provided by this proposed system is within the same live wallpaper user can change the currently running live wallpaper to another with the help of options specified in the live wallpapers settings

Page 7: Live Wallpaper

OBJECTIVE

• Live wallpapers don’t remain as static background images,it help users to customize their device

● Live Wallpaper is a tool in which the user can select from the menu which animation to be displayed as live wallpaper.

● There are options in which user can specify the number of goemetric shape that is to be displayed

Page 8: Live Wallpaper

OBJECTIVE

● The user is specified with an edit box in which he/she can specify the geometric shapes in numbers

● The specified shape is animated and set as wallpaper so that the shape moves throughout the homescreen

● The animated shape is also touch enabled , if u check mark the option in the settings menu as touch enabled, then whenever the user touch the shape it disappears from that current position

Page 9: Live Wallpaper

SOFTWARE REQUIREMENT SPECIFICATION

● User can specify in the edit box provided by clicking the menu, the number of geometric shape to be present in the live wallpaper

● Live wallpaper provides special effects to your homescreen by animating the geometric shape

● Live Wallpapers has limited input capabilities

Page 10: Live Wallpaper

SOFTWARE REQUIREMENT SPECIFICATION

● Live Wallpaper is provided with touch capability.● It will respond to the touch event when user

double tap the object on the screen● In the live wallpaper you can see geometric

shapes moving behind the applications and thus user can set specified animated backgrounds to the homescreen

Page 11: Live Wallpaper

SOFTWARE REQUIREMENT SPECIFICATION

● Smooth transitions of the animated shapes can be seen when user set the live wallpaper behind the homescreen

● Live wallpaper has a settings menu allowing the user to change geometric shape, and the user can also switch to another animated live wallpaper, etc.

Page 12: Live Wallpaper

DEVELOPMENT TOOLS

● The Android SDK includes a variety of tools that help you develop mobile applications for the Android platform

● The Android SDK provides the tools and APIs to develop applications on the Android platform using the Java programming language

● Android is an opensource mobile platform developed by Google

Page 13: Live Wallpaper

DEVELOPMENT TOOLS

● Android is a very powerful mobile operating technique, created by Google

● It is a great OS for all developers as it makes the work simple, easy and uncomplicated

● The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.

Page 14: Live Wallpaper

ECLIPSE IDE FOR JAVA

● Eclipse is created by an Open Source community and is used in several different areas, e.g. as a development environment for Java or Android applications

● It is the best Java development tool available, the Eclipse contains its own development tools, e.g. Java compiler

Page 15: Live Wallpaper

THE ANDROIDMANIFEST.XML FILE

● Every application must have an AndroidManifest.xml file in its root directory

● The manifest presents essential information about the application to the Android system

● It also declares the permissions that others are required to have in order to interact with the application's components

Page 16: Live Wallpaper

THE ANDROIDMANIFEST.XML FILE

Page 17: Live Wallpaper

THE ANDROIDMANIFEST.XML FILE

● To ensure that your application can only be installed on devices that support live wallpapers, add the following to the application's manifest before publishing :

<uses-sdk android:minSdkVersion="14" />, which indicates to Google Play and the platform that your application requires Android 2.1 or higher

Page 18: Live Wallpaper

THE ANDROIDMANIFEST.XML FILE

● android:permission="android.permission.BIND_WALLPAPER"

● BIND_WALLPAPER : Must be required by a WallpaperService, to ensure that only the system can bind to it

Page 19: Live Wallpaper

METHODOLOGY

● "Live" wallpaper can contain images, geometric shapes, animations, interactive features

● Live wallpapers are now part of the officially supported APIs in Android SDK 2.1, and user can set the live wallpaper to the homescreen

● A live wallpaper, on Android, used as a background on the home screen that animates or changes over time in some way

Page 20: Live Wallpaper

METHODOLOGY

● The main methodology provided by the live wallpaper is within the same live wallpaper user can change the currently running live wallpaper to another with the help of options specified in the live wallpapers settings

● The user can select from the menu which animation to be displayed as live wallpaper

● There are options in which user can specify the number of shape(goemetric) that is to be displayed

Page 21: Live Wallpaper

PLATFORM

Software Configuration:● Operating System – Linux(Ubuntu)● Platform – Android OS 2.1 or latest● IDE – Eclipse, ADT for Eclipse

Page 22: Live Wallpaper

PLATFORM

Hardware Configuration:● Processor speed : Wallpaper engine currently

on the market typically require a faster processor

● Memory : Live wallpaper uses about 1 MB of RAM

Page 23: Live Wallpaper

User

USE CASE DIAGRAM

Create Wallpaper

Page 24: Live Wallpaper

HIGH LEVEL DESIGN (DFD)DATA FLOW DIAGRAM

● Level 0

UserLive Wallpaper

Creator

Drawing Commands

Live Wallpaper

Page 25: Live Wallpaper

DATA FLOW DIAGRAM● Level 1

User Create Wallpaper

Drawing Commands

Wallpaper DisplayWallpaper

Set Wallpaper

Wallpaper

AnimateDrawing

Wallpaper

Wallpaper

Animation Commands

Page 26: Live Wallpaper

HIGH LEVEL DESIGN

The proposed system contains two modules:

• Create Drawing

For creating drawing we can use the Paint class which hold the color

and style information about how to draw the geometries.The method

named drawcircle() can be used to draw circle with parameters like x-

coordinate,y-coordinate,radius,paint used to draw the circle

The method named setcolor() can be used to display r,g,b color that

appears as dots on the wallpaper

The time() method updates the system time since it was started

Page 27: Live Wallpaper

HIGH LEVEL DESIGN

● Animation

The circle drawn can be animated and it is also touch enabled

The color dots are animated

The system time keeps on updating if it is set as a

wallpaper

Page 28: Live Wallpaper

LOW LEVEL DESIGNMETHOD- draw_circle

INPUT- void

OUTPUT- geometric shape

LOGIC:Step 1:Start

Step 2:Create an canvas obj

Step 3:Check whether canvas is null

Step 3.1:if not null,clear

otherwise go to step 4

Step 4: Call the drawcircle()

Page 29: Live Wallpaper

LOW LEVEL DESIGN

METHOD- dot_color

INPUT- void

OUTPUT- color dots

LOGIC:Step 1:Start

Step 2:Create an canvas obj

Step 3:Check whether canvas is null

Step 3.1:if not null,clear

otherwise go to step 4

Step 4: Get the x,y cordinate of canvas and call the setcolor()

Step 5:Call the drawpoint()

Page 30: Live Wallpaper

LOW LEVEL DESIGNMETHOD- time()

INPUT- void

OUTPUT- system time

LOGIC:Step 1:Start

Step 2:Create an canvas obj

Step 3:Check whether canvas is null

Step 3.1:if not null,clear

otherwise go to step 4

Step 4: Call System.currentTimeMillis()

Step 5:Get the x,y cordinate of canvas and call the drawText()

Page 31: Live Wallpaper

CONCLUSION

● The performance on every Live Wallpaper has improved dramatically

● Android has a number of personalization features to help users customize many aspects of their device user experience,One of these is live wallpaper

● Live wallpapers are a great place to make highly efficient and great performing graphical effects and are a convenient way to expand your application beyond its typical boundaries

Page 32: Live Wallpaper

SUGGESTION FOR FUTURE WORK

● Future work on live wallpaper for android can be a model inwhich a user can rotate the phone to rotate the model

● Wallpaper can be created for all phone sizes, including Tablet size

● There can be a photo gallery mode in which double tap on the screen change images and there can be also live wallpapers mode in which pictures change automatically

Page 33: Live Wallpaper

REFERENCES

● developer.android.com/resources/articles/live-wallpapers.html

● www.livewallpapers.org/● https://play.google.com/store/apps/category/● androinica.com/2010/09/10-great-android-live-

wallpapers/● slodive.com/freebies/android-live-wallpaper/ - United

States● mobile.tutsplus.com/.../android/creating-live-

wallpapers-on-android/

Page 34: Live Wallpaper

USER INTERFACE

● Menu of the live wallpaper

Page 35: Live Wallpaper

USER INTERFACE

● Selecting the option number of circles

Page 36: Live Wallpaper

USER INTERFACE

● Specifying the number of circles in the edit box

Page 37: Live Wallpaper

USER INTERFACE

● Displaying the live wallpaper after specifying the number of circles in the edit box

Page 38: Live Wallpaper

USER INTERFACE

● After setting the number of circles as live wallpaper behind the homescreen

Page 39: Live Wallpaper

USER INTERFACE

● Enables the touch effect by marking in the check box

Page 40: Live Wallpaper

USER INTERFACE

● Clicking the next option color dot

Page 41: Live Wallpaper

USER INTERFACE

● Displaying color dots

Page 42: Live Wallpaper

USER INTERFACE

● Clicking the next option system time

Page 43: Live Wallpaper

USER INTERFACE

● Displaying the system time since jan 1 1970

Page 44: Live Wallpaper

THANK YOU!!!