SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Simple Android
Project
(SAP)
17.12.2012
Developed By……
Under guidance of Dr. Siuli Roy
Swapan Aritra Priyank
a
Our project was “Study the
Programming Environment
of Android Based Smart
Phone and Build A Test
Application.”
But We thought of
Real life application..
Lets Start With our Objective…
So, We created…
 Click Counter Application
 Stop Watch Application
 Camera Application
 Email Application
 Album Viewer
» Mobility
» Power of computer in mobile
» Most popular Mobile OS from 2011
» Touch Screen Interface
» Multitasking
WHY ANDROID?
Software Requirement Specification
Explains the functional features, design constraints and related
considerations such as performance characteristics.
This application can run anonymously in any Android based
Smartphones.
Software Requirement and Specification
Scope
Purpose
Permission
• SET_WALLPAPER permission
• INTERNET permission
Now, Let’s Have A Look At…
System Features
Functional Requirements
 Android operating system on the
Smartphone.
 The target device should be sound
enabled
Start Up
Menu
Functional Requirements
 Android operating system on the
Smartphone.
Functional Requirements
 Android operating system on the
Smartphone.
Click Counter
Stop Watch
Functional Requirements
 Android operating system on the
Smartphone.
Functional Requirements
 Android operating system on the
Smartphone.
 User should use Android default
camera.
 User should have permission to
SET_WALLPAPER of system tools
permission set.
Camera
Email
Functional Requirements
 Android operating system on the
Smartphone.
 User must provide a valid e-mail Id.
 It should take permission to use
internet.
Functional Requirements
 Android operating system on the
Smartphone.
Album Viewer
UI Tested on:
 Android emulator version 2.2
 MB525 Motorola Defy
External Interface Requirements
Hardware Requirement:
 A Camera
 600 MHz Processor
 256 Mb+ RAM
Software Requirement:
 Android 2.2(Foryo) or Higher
 Setting  Application 
Unknown Sources - Checked
Design
How We Planned The Application
UserModules… Bottom-Up Composition
Level-0 DFD
Level-1 DFD
The Basics of Android and The
Building Blocks of It’s Code
It’s all about Coding!
Building Blocks of Android Code
It’s time to examine Simple Android Project
Coding @ SAP
Code by Code
Start Up! Thread
Thread timer=new Thread(){
Public void run(){
try{
sleep(5000);
}
catch(InterruptedException e){
e.printStackTrace();
}
finally{
Intent startingPoint=new
Intent("com.example.asp.Menu");
startActivity(startingPoint);
}
}
};
Start Up! Media Player
MediaPlayer MediaPlayermySong.
@Override
Protected void onCreate(Bundle
savedInstanceState) {
…
mySong=MediaPlayer.create(StartUp.this,
R.raw.music);
mySong.start();
…
}
@Override
Protected void onPause() {
// TODO Auto-generated
method stub
super.onPause();
mySong.release();
finish();
}
The Start-Up
Camera Initialization
ImageButton ib;
Button b;
ib=(ImageButton)findViewById(R.id.ibTakePic);
b=(Button)findViewById(R.id.bSetWall);
b.setOnClickListener(this);
ib.setOnClickListener(this);
Camera OnClick() Method
Public void onClick(View v) {
// TODO Auto-generated method stub
switch(v.getId()){
case R.id.bSetWall:
WallpaperManager
myWallpaperManager=WallpaperManager.getInstance(ge
tApplicationContext());
try {
myWallpaperManager.setBitmap(bmp);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
break;
case R.id.ibTakePic:
i=new
Intent(android.provider.MediaStore.ACTION_IMAGE_CAP
TURE);
startActivityForResult(i,cameraData);
break;
}
}
Camera Setting Picture on ImageView
Protected void onActivityResult(int requestCode,
int resultCode, Intent data) {
// TODO Auto-generated method stub
super.onActivityResult(requestCode,
resultCode, data);
if(resultCode == RESULT_OK){
Bundle extras =
data.getExtras();
bmp=(Bitmap)extras.get("data");
iv.setImageBitmap(bmp);
}
}
Camera App
Testing
The quality of SAP
Black Box Testing
Case Name: Sending an e-mail without a recipients
Description: Input the values of all fields except e-mail address
Action: E-mail address=””
Actual Result: e-mail can’t be sent
Expected Result: Without an recipients we can’t send the e-mail
Message: Please enter an e-mail Id
Case Name: Sending an e-mail with faulty e-mail id
Description: Input invalid values(putting @ at the last) in email address
Action: E-mail address=”iamswapangmail.com@”
Actual Result: Mail has not been sent
Expected Result: Mail will not be sent
Message: Please enter a valid e-mail Id
Black Box Testing
Case Name: Sending an e-mail with faulty e-mail id
Description: Input invalid values( there is no . after @) in email address
Action:
E-mail address=”iamswapan@gmailcom”…………… and click on
send e-mail button
Actual Result: Mail has not been sent
Expected Result: Mail will not be sent
Message: Please enter a valid e-mail Id
Case Name: Sending an e-mail with faulty e-mail id
Description: Input invalid values (without @ )in email address
Action:
E-mail address=”iamswapangmail.com”…………… and click on
send e-mail button
Actual Result: Mail has not been sent
Expected Result: Mail will not be sent
Message: Please enter a valid e-mail Id
public void onClick(View v) {
// TODO Auto-generated method stub
switch(v.getId()){
case R.id.bStart:
int stoppedMilliseconds = 0;
String chronoText =
mChronometer.getText().toString();
String array[] =
chronoText.split(":");
if (array.length == 2) {
stoppedMilliseconds =
Integer.parseInt(array[0]) * 60 * 1000
+ Integer.parseInt(array[1]) *
1000;
} else if (array.length == 3) {
stoppedMilliseconds =
Integer.parseInt(array[0]) * 60 * 60 * 1000
+ Integer.parseInt(array[1]) * 60 * 1000
+ Integer.parseInt(array[2]) * 1000;
}
White Box Testing
mChronometer.setBase(SystemClock.elapsedRealti
me() - stoppedMilliseconds);
mChronometer.start();
break;
case R.id.bStop:
mChronometer.stop();
break;
case R.id.bReset:
mChronometer.setBase(SystemClock.ela
psedRealtime());
mChronometer.setEnabled(false);
}
}
}
Thank You!

Weitere ähnliche Inhalte

Was ist angesagt?

Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studioParinita03
 
Introduction_to_android_and_android_studio
Introduction_to_android_and_android_studioIntroduction_to_android_and_android_studio
Introduction_to_android_and_android_studioAbdul Basit
 
StackLabs-DataDriven Labs - iPhone App Development Training in Mohali
StackLabs-DataDriven Labs - iPhone App Development  Training in MohaliStackLabs-DataDriven Labs - iPhone App Development  Training in Mohali
StackLabs-DataDriven Labs - iPhone App Development Training in MohaliArcadian Learning
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming BasicsEueung Mulyana
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application DevelopmentBenny Skogberg
 
Android Development Made Easy - With Sample Project
Android Development Made Easy - With Sample ProjectAndroid Development Made Easy - With Sample Project
Android Development Made Easy - With Sample ProjectJoemarie Amparo
 
Day 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesDay 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesAhsanul Karim
 
Mobile Application Development With Android
Mobile Application Development With AndroidMobile Application Development With Android
Mobile Application Development With Androidguest213e237
 
Android Development Training
Android Development TrainingAndroid Development Training
Android Development Trainingchandutata
 
Day 1 Android: Before Getting Started
Day 1 Android: Before Getting StartedDay 1 Android: Before Getting Started
Day 1 Android: Before Getting StartedAhsanul Karim
 
Android development session 5 - Debug android studio
Android development   session 5 - Debug android studioAndroid development   session 5 - Debug android studio
Android development session 5 - Debug android studioFarabi Technology Middle East
 
Android application development
Android application developmentAndroid application development
Android application developmentMadhuprakashR1
 
Android deep dive
Android deep diveAndroid deep dive
Android deep diveAnuSahniNCI
 
Role of java in android app development
Role of java in android app developmentRole of java in android app development
Role of java in android app developmentRahul Rana
 
Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017Ivo Neskovic
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorialnazzf
 

Was ist angesagt? (20)

Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studio
 
Android Applications Development
Android Applications DevelopmentAndroid Applications Development
Android Applications Development
 
Introduction_to_android_and_android_studio
Introduction_to_android_and_android_studioIntroduction_to_android_and_android_studio
Introduction_to_android_and_android_studio
 
StackLabs-DataDriven Labs - iPhone App Development Training in Mohali
StackLabs-DataDriven Labs - iPhone App Development  Training in MohaliStackLabs-DataDriven Labs - iPhone App Development  Training in Mohali
StackLabs-DataDriven Labs - iPhone App Development Training in Mohali
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming Basics
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
Android Development Made Easy - With Sample Project
Android Development Made Easy - With Sample ProjectAndroid Development Made Easy - With Sample Project
Android Development Made Easy - With Sample Project
 
Day 3: Getting Active Through Activities
Day 3: Getting Active Through ActivitiesDay 3: Getting Active Through Activities
Day 3: Getting Active Through Activities
 
Mobile Application Development With Android
Mobile Application Development With AndroidMobile Application Development With Android
Mobile Application Development With Android
 
Android Development Training
Android Development TrainingAndroid Development Training
Android Development Training
 
Android studio installation
Android studio installationAndroid studio installation
Android studio installation
 
Day 1 Android: Before Getting Started
Day 1 Android: Before Getting StartedDay 1 Android: Before Getting Started
Day 1 Android: Before Getting Started
 
Android development session 5 - Debug android studio
Android development   session 5 - Debug android studioAndroid development   session 5 - Debug android studio
Android development session 5 - Debug android studio
 
Android application development
Android application developmentAndroid application development
Android application development
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
 
Role of java in android app development
Role of java in android app developmentRole of java in android app development
Role of java in android app development
 
Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017
 
Training android
Training androidTraining android
Training android
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
 
Synapseindia android apps application
Synapseindia android apps applicationSynapseindia android apps application
Synapseindia android apps application
 

Andere mochten auch

Android College Application Project Report
Android College Application Project ReportAndroid College Application Project Report
Android College Application Project Reportstalin george
 
My Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & SnapshotsMy Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & SnapshotsUsman Sait
 
Designing of media player
Designing of media playerDesigning of media player
Designing of media playerNur Islam
 
20 Game Ideas You Should Steal
20 Game Ideas You Should Steal20 Game Ideas You Should Steal
20 Game Ideas You Should StealStuart Dredge
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat applicationKumar Gaurav
 
Android Project Presentation
Android Project PresentationAndroid Project Presentation
Android Project PresentationLaxmi Kant Yadav
 
Latest Android topics for Computer Engineering Students
Latest Android topics for Computer Engineering StudentsLatest Android topics for Computer Engineering Students
Latest Android topics for Computer Engineering StudentsAdz91 Digital Ads Pvt Ltd
 
Final year project presentation in android application
Final year project presentation in android applicationFinal year project presentation in android application
Final year project presentation in android applicationChirag Thaker
 
Dfd examples
Dfd examplesDfd examples
Dfd examplesMohit
 
Education Path Finder
Education Path FinderEducation Path Finder
Education Path FinderLeigh Johnson
 
How to find the right college
How to find the right collegeHow to find the right college
How to find the right collegeTodd Johnson
 
Webinar SAP connected mobile apps with the app lifecycle platform
Webinar SAP connected mobile apps with the app lifecycle platformWebinar SAP connected mobile apps with the app lifecycle platform
Webinar SAP connected mobile apps with the app lifecycle platformService2Media
 
From SAP to app using rhomobile
From SAP to app using rhomobileFrom SAP to app using rhomobile
From SAP to app using rhomobileMark Teichmann
 
ConnectTheDots - My Galileo based weather station and first entry into IoT
ConnectTheDots - My Galileo based weather station and first entry into IoTConnectTheDots - My Galileo based weather station and first entry into IoT
ConnectTheDots - My Galileo based weather station and first entry into IoTJoe Healy
 

Andere mochten auch (20)

Android Project Titles 2014 15
Android Project Titles 2014 15Android Project Titles 2014 15
Android Project Titles 2014 15
 
Android College Application Project Report
Android College Application Project ReportAndroid College Application Project Report
Android College Application Project Report
 
My Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & SnapshotsMy Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & Snapshots
 
Designing of media player
Designing of media playerDesigning of media player
Designing of media player
 
20 Game Ideas You Should Steal
20 Game Ideas You Should Steal20 Game Ideas You Should Steal
20 Game Ideas You Should Steal
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
 
Android Project Presentation
Android Project PresentationAndroid Project Presentation
Android Project Presentation
 
Android mp3 player
Android mp3 playerAndroid mp3 player
Android mp3 player
 
Latest Android topics for Computer Engineering Students
Latest Android topics for Computer Engineering StudentsLatest Android topics for Computer Engineering Students
Latest Android topics for Computer Engineering Students
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Final year project presentation in android application
Final year project presentation in android applicationFinal year project presentation in android application
Final year project presentation in android application
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
 
Education Path Finder
Education Path FinderEducation Path Finder
Education Path Finder
 
How to find the right college
How to find the right collegeHow to find the right college
How to find the right college
 
Android report.
Android report.Android report.
Android report.
 
ECE-EMBEDDED- 2015
ECE-EMBEDDED- 2015ECE-EMBEDDED- 2015
ECE-EMBEDDED- 2015
 
Social Network
Social NetworkSocial Network
Social Network
 
Webinar SAP connected mobile apps with the app lifecycle platform
Webinar SAP connected mobile apps with the app lifecycle platformWebinar SAP connected mobile apps with the app lifecycle platform
Webinar SAP connected mobile apps with the app lifecycle platform
 
From SAP to app using rhomobile
From SAP to app using rhomobileFrom SAP to app using rhomobile
From SAP to app using rhomobile
 
ConnectTheDots - My Galileo based weather station and first entry into IoT
ConnectTheDots - My Galileo based weather station and first entry into IoTConnectTheDots - My Galileo based weather station and first entry into IoT
ConnectTheDots - My Galileo based weather station and first entry into IoT
 

Ähnlich wie Android Simple Project (ASP) Guide

Android Programming made easy
Android Programming made easyAndroid Programming made easy
Android Programming made easyLars Vogel
 
The Mobile Challenge: Testing Mobile Games in a Start-up Environment
The Mobile Challenge: Testing Mobile Games in a Start-up EnvironmentThe Mobile Challenge: Testing Mobile Games in a Start-up Environment
The Mobile Challenge: Testing Mobile Games in a Start-up EnvironmentThomas Hulvershorn
 
Android workshop
Android workshopAndroid workshop
Android workshopSagar Patel
 
Code Quality Practice and Tools
Code Quality Practice and ToolsCode Quality Practice and Tools
Code Quality Practice and ToolsBob Paulin
 
Creation of simple application using - step by step
Creation of simple application using - step by stepCreation of simple application using - step by step
Creation of simple application using - step by steppriya Nithya
 
Having Fun Building Web Applications (Day 1 Slides)
Having Fun Building Web Applications (Day 1 Slides)Having Fun Building Web Applications (Day 1 Slides)
Having Fun Building Web Applications (Day 1 Slides)Clarence Ngoh
 
Flutter Festivals IIT Goa Session 2
Flutter Festivals IIT Goa Session 2Flutter Festivals IIT Goa Session 2
Flutter Festivals IIT Goa Session 2SEJALGUPTA44
 
Mobile Software Engineering Crash Course - C03 Android
Mobile Software Engineering Crash Course - C03 AndroidMobile Software Engineering Crash Course - C03 Android
Mobile Software Engineering Crash Course - C03 AndroidMohammad Shaker
 
Final NEWS.pdf
Final NEWS.pdfFinal NEWS.pdf
Final NEWS.pdfRebaMaheen
 
Final NewsApp.pdf
Final NewsApp.pdfFinal NewsApp.pdf
Final NewsApp.pdfRebaMaheen
 
AngularJS and SharePoint
AngularJS and SharePointAngularJS and SharePoint
AngularJS and SharePointdanielsmon
 
Hello android example.
Hello android example.Hello android example.
Hello android example.Rahul Rana
 
How React Native Appium and me made each other shine
How React Native Appium and me made each other shineHow React Native Appium and me made each other shine
How React Native Appium and me made each other shineWim Selles
 
Telerik AppBuilder Presentation for TelerikNEXT Conference
Telerik AppBuilder Presentation for TelerikNEXT ConferenceTelerik AppBuilder Presentation for TelerikNEXT Conference
Telerik AppBuilder Presentation for TelerikNEXT ConferenceJen Looper
 
Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11 Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11 Lars Vogel
 
Xamarin.Android Introduction
Xamarin.Android IntroductionXamarin.Android Introduction
Xamarin.Android IntroductionGuido Magrin
 
Playing with parse.com
Playing with parse.comPlaying with parse.com
Playing with parse.comJUG Genova
 

Ähnlich wie Android Simple Project (ASP) Guide (20)

Intro to Android Programming
Intro to Android ProgrammingIntro to Android Programming
Intro to Android Programming
 
Android Programming made easy
Android Programming made easyAndroid Programming made easy
Android Programming made easy
 
The Mobile Challenge: Testing Mobile Games in a Start-up Environment
The Mobile Challenge: Testing Mobile Games in a Start-up EnvironmentThe Mobile Challenge: Testing Mobile Games in a Start-up Environment
The Mobile Challenge: Testing Mobile Games in a Start-up Environment
 
Bird.pdf
 Bird.pdf Bird.pdf
Bird.pdf
 
Android workshop
Android workshopAndroid workshop
Android workshop
 
Code Quality Practice and Tools
Code Quality Practice and ToolsCode Quality Practice and Tools
Code Quality Practice and Tools
 
Creation of simple application using - step by step
Creation of simple application using - step by stepCreation of simple application using - step by step
Creation of simple application using - step by step
 
Having Fun Building Web Applications (Day 1 Slides)
Having Fun Building Web Applications (Day 1 Slides)Having Fun Building Web Applications (Day 1 Slides)
Having Fun Building Web Applications (Day 1 Slides)
 
Android
Android Android
Android
 
Flutter Festivals IIT Goa Session 2
Flutter Festivals IIT Goa Session 2Flutter Festivals IIT Goa Session 2
Flutter Festivals IIT Goa Session 2
 
Mobile Software Engineering Crash Course - C03 Android
Mobile Software Engineering Crash Course - C03 AndroidMobile Software Engineering Crash Course - C03 Android
Mobile Software Engineering Crash Course - C03 Android
 
Final NEWS.pdf
Final NEWS.pdfFinal NEWS.pdf
Final NEWS.pdf
 
Final NewsApp.pdf
Final NewsApp.pdfFinal NewsApp.pdf
Final NewsApp.pdf
 
AngularJS and SharePoint
AngularJS and SharePointAngularJS and SharePoint
AngularJS and SharePoint
 
Hello android example.
Hello android example.Hello android example.
Hello android example.
 
How React Native Appium and me made each other shine
How React Native Appium and me made each other shineHow React Native Appium and me made each other shine
How React Native Appium and me made each other shine
 
Telerik AppBuilder Presentation for TelerikNEXT Conference
Telerik AppBuilder Presentation for TelerikNEXT ConferenceTelerik AppBuilder Presentation for TelerikNEXT Conference
Telerik AppBuilder Presentation for TelerikNEXT Conference
 
Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11 Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11
 
Xamarin.Android Introduction
Xamarin.Android IntroductionXamarin.Android Introduction
Xamarin.Android Introduction
 
Playing with parse.com
Playing with parse.comPlaying with parse.com
Playing with parse.com
 

Kürzlich hochgeladen

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Kürzlich hochgeladen (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

Android Simple Project (ASP) Guide

  • 2. Developed By…… Under guidance of Dr. Siuli Roy Swapan Aritra Priyank a
  • 3. Our project was “Study the Programming Environment of Android Based Smart Phone and Build A Test Application.” But We thought of Real life application.. Lets Start With our Objective…
  • 4. So, We created…  Click Counter Application  Stop Watch Application  Camera Application  Email Application  Album Viewer
  • 5. » Mobility » Power of computer in mobile » Most popular Mobile OS from 2011 » Touch Screen Interface » Multitasking WHY ANDROID?
  • 7. Explains the functional features, design constraints and related considerations such as performance characteristics. This application can run anonymously in any Android based Smartphones. Software Requirement and Specification Scope Purpose Permission • SET_WALLPAPER permission • INTERNET permission
  • 8. Now, Let’s Have A Look At… System Features
  • 9. Functional Requirements  Android operating system on the Smartphone.  The target device should be sound enabled Start Up
  • 10. Menu Functional Requirements  Android operating system on the Smartphone.
  • 11. Functional Requirements  Android operating system on the Smartphone. Click Counter
  • 12. Stop Watch Functional Requirements  Android operating system on the Smartphone.
  • 13. Functional Requirements  Android operating system on the Smartphone.  User should use Android default camera.  User should have permission to SET_WALLPAPER of system tools permission set. Camera
  • 14. Email Functional Requirements  Android operating system on the Smartphone.  User must provide a valid e-mail Id.  It should take permission to use internet.
  • 15. Functional Requirements  Android operating system on the Smartphone. Album Viewer
  • 16. UI Tested on:  Android emulator version 2.2  MB525 Motorola Defy External Interface Requirements Hardware Requirement:  A Camera  600 MHz Processor  256 Mb+ RAM Software Requirement:  Android 2.2(Foryo) or Higher  Setting  Application  Unknown Sources - Checked
  • 17. Design How We Planned The Application
  • 21. The Basics of Android and The Building Blocks of It’s Code It’s all about Coding!
  • 22. Building Blocks of Android Code
  • 23. It’s time to examine Simple Android Project Coding @ SAP Code by Code
  • 24. Start Up! Thread Thread timer=new Thread(){ Public void run(){ try{ sleep(5000); } catch(InterruptedException e){ e.printStackTrace(); } finally{ Intent startingPoint=new Intent("com.example.asp.Menu"); startActivity(startingPoint); } } };
  • 25. Start Up! Media Player MediaPlayer MediaPlayermySong. @Override Protected void onCreate(Bundle savedInstanceState) { … mySong=MediaPlayer.create(StartUp.this, R.raw.music); mySong.start(); … } @Override Protected void onPause() { // TODO Auto-generated method stub super.onPause(); mySong.release(); finish(); }
  • 27. Camera Initialization ImageButton ib; Button b; ib=(ImageButton)findViewById(R.id.ibTakePic); b=(Button)findViewById(R.id.bSetWall); b.setOnClickListener(this); ib.setOnClickListener(this);
  • 28. Camera OnClick() Method Public void onClick(View v) { // TODO Auto-generated method stub switch(v.getId()){ case R.id.bSetWall: WallpaperManager myWallpaperManager=WallpaperManager.getInstance(ge tApplicationContext()); try { myWallpaperManager.setBitmap(bmp); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } break; case R.id.ibTakePic: i=new Intent(android.provider.MediaStore.ACTION_IMAGE_CAP TURE); startActivityForResult(i,cameraData); break; } }
  • 29. Camera Setting Picture on ImageView Protected void onActivityResult(int requestCode, int resultCode, Intent data) { // TODO Auto-generated method stub super.onActivityResult(requestCode, resultCode, data); if(resultCode == RESULT_OK){ Bundle extras = data.getExtras(); bmp=(Bitmap)extras.get("data"); iv.setImageBitmap(bmp); } }
  • 32. Black Box Testing Case Name: Sending an e-mail without a recipients Description: Input the values of all fields except e-mail address Action: E-mail address=”” Actual Result: e-mail can’t be sent Expected Result: Without an recipients we can’t send the e-mail Message: Please enter an e-mail Id Case Name: Sending an e-mail with faulty e-mail id Description: Input invalid values(putting @ at the last) in email address Action: E-mail address=”iamswapangmail.com@” Actual Result: Mail has not been sent Expected Result: Mail will not be sent Message: Please enter a valid e-mail Id
  • 33. Black Box Testing Case Name: Sending an e-mail with faulty e-mail id Description: Input invalid values( there is no . after @) in email address Action: E-mail address=”iamswapan@gmailcom”…………… and click on send e-mail button Actual Result: Mail has not been sent Expected Result: Mail will not be sent Message: Please enter a valid e-mail Id Case Name: Sending an e-mail with faulty e-mail id Description: Input invalid values (without @ )in email address Action: E-mail address=”iamswapangmail.com”…………… and click on send e-mail button Actual Result: Mail has not been sent Expected Result: Mail will not be sent Message: Please enter a valid e-mail Id
  • 34. public void onClick(View v) { // TODO Auto-generated method stub switch(v.getId()){ case R.id.bStart: int stoppedMilliseconds = 0; String chronoText = mChronometer.getText().toString(); String array[] = chronoText.split(":"); if (array.length == 2) { stoppedMilliseconds = Integer.parseInt(array[0]) * 60 * 1000 + Integer.parseInt(array[1]) * 1000; } else if (array.length == 3) { stoppedMilliseconds = Integer.parseInt(array[0]) * 60 * 60 * 1000 + Integer.parseInt(array[1]) * 60 * 1000 + Integer.parseInt(array[2]) * 1000; } White Box Testing mChronometer.setBase(SystemClock.elapsedRealti me() - stoppedMilliseconds); mChronometer.start(); break; case R.id.bStop: mChronometer.stop(); break; case R.id.bReset: mChronometer.setBase(SystemClock.ela psedRealtime()); mChronometer.setEnabled(false); } } }
  • 35.