SlideShare uma empresa Scribd logo
1 de 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!

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque

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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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
 

Último

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Último (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

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.