SlideShare une entreprise Scribd logo
1  sur  21
Sayed Ahmed
Computer Engineering (BUET), Bangladesh
MSc., Computer Science, Canada
President/Chief Architect/Lead Developer
Justetc (Just et cetera) Technologies
http://www.justetc.net
http://sayed.justetc.net
sayed@justetc.net
Address
 Canada Address
 Trudelle Street
 Toronto, Ontario, Canada
 Contact
○ Sayed Ahmed
○ sayed@justetc.com
 Bangladesh Address
 Justetc Computers
 Habib Complex (2nd Floor)
 Shimultuly, Gazipur, Dhaka
 Bangladesh
 Contact
○ Rafiqul Islam
○ rafik@justetc.com
○ 01942747702
2Just Etc Technologies, sayed@justetc.net
Tools Required
 ADT Bundle (Eclipse + ADT)
 http://developer.android.com/sdk/index.html
 PhoneGap
 http://phonegap.com/download/
Just Etc Technologies, sayed@justetc.net 3
Sample Application
Just Etc Technologies, sayed@justetc.net 4
Concept
 Concept
 Develop a web application
 Compile it with ADT for Android
 Implementation Concept
 Create an android project in Eclipse ADT bundle
 Bring Phonegap related libraries and other
associated files into the android project
 Create an index.html file and use it as the
starting point for the web-application
○ Being the entry point of the mobile application
Just Etc Technologies, sayed@justetc.net 5
Implementation Concept
 Starting with the Index.html file develop
a web-application/mobile application
 Compile and run the application for
Android
 Debug and test using android emulator or on
a real android device
Just Etc Technologies, sayed@justetc.net 6
What to take from
Phonegap
Just Etc Technologies, sayed@justetc.net 7
Where to Take
Just Etc Technologies, sayed@justetc.net 8
What to Change
Just Etc Technologies, sayed@justetc.net 9
What to Change
 Add files into assets folder and www subfolder
 Index.html
 Cordova.js
Just Etc Technologies, sayed@justetc.net 10
Change Manifest file
Just Etc Technologies, sayed@justetc.net 11
Changes to the Manifest file
 From an example in the Phonegap
package copy the following to the
manifest file in the android project
 phonegap-2.9.0libandroidexampleAndroidManifest.xml
Just Etc Technologies, sayed@justetc.net 12
Copy this to Android
Manifest
Just Etc Technologies, sayed@justetc.net 13
Copy This to Android
Manifest
Just Etc Technologies, sayed@justetc.net 14
Copy Only One Line as
Shown
Just Etc Technologies, sayed@justetc.net 15
Combating Errors/Warnings
Just Etc Technologies, sayed@justetc.net 16
Combating Warning/Errors
Just Etc Technologies, sayed@justetc.net 17
Combating Warnings/Errors
 C:WindowsSystem32Driversetc
Just Etc Technologies, sayed@justetc.net 18
Note
 You may need to restart ADB (bridge)
 May take little while for the application to start
 You may see some warning though the
application will run
 Some port, debug, client reject error/warning
may be there but the application may still run
 You can try to get rid of all errors
 Many warnings may be due to settings of the
Android Virtual Device
 The emulated device type may affect
 Try to create new virtual devices if the existing one
does not work
Just Etc Technologies, sayed@justetc.net 19
Virtual Device we used
Just Etc Technologies, sayed@justetc.net 20
Reference
 http://cleancodedevelopment-
qualityseal.blogspot.com/2012/12/first-
phonegap-app-with-android-using.html
Just Etc Technologies, sayed@justetc.net 21

Contenu connexe

En vedette (10)

Does running damage your knees
Does running damage your kneesDoes running damage your knees
Does running damage your knees
 
mid_presentation
mid_presentationmid_presentation
mid_presentation
 
kjirstin_looklet_2016
kjirstin_looklet_2016kjirstin_looklet_2016
kjirstin_looklet_2016
 
Tics y Enfermería
Tics y EnfermeríaTics y Enfermería
Tics y Enfermería
 
Manual primeros auxilios
Manual primeros auxiliosManual primeros auxilios
Manual primeros auxilios
 
Rick's Keynote for ConnectedPlus (@CPLUS_TO)
Rick's Keynote for ConnectedPlus (@CPLUS_TO) Rick's Keynote for ConnectedPlus (@CPLUS_TO)
Rick's Keynote for ConnectedPlus (@CPLUS_TO)
 
Cours les instument d'urbanisme le permis et certificats
Cours les instument d'urbanisme le permis et certificatsCours les instument d'urbanisme le permis et certificats
Cours les instument d'urbanisme le permis et certificats
 
Sondaje vesical
Sondaje vesicalSondaje vesical
Sondaje vesical
 
Vía venosa periféricas.
Vía venosa periféricas.Vía venosa periféricas.
Vía venosa periféricas.
 
Conférence sur la livraison collaborative- World Class Logistics
Conférence sur la livraison collaborative- World Class LogisticsConférence sur la livraison collaborative- World Class Logistics
Conférence sur la livraison collaborative- World Class Logistics
 

Similaire à Mobile application development for android with phonegap

Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGap
Doncho Minkov
 
Android tutorial ppt
Android tutorial pptAndroid tutorial ppt
Android tutorial ppt
Rehna Renu
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
magicshui
 
Android bluetooth robot
Android  bluetooth robotAndroid  bluetooth robot
Android bluetooth robot
Sathish Raju
 
Reverse engineering and modifying windows 8 apps
Reverse engineering and modifying windows 8 appsReverse engineering and modifying windows 8 apps
Reverse engineering and modifying windows 8 apps
Amaan Khan
 

Similaire à Mobile application development for android with phonegap (20)

PhoneGap Application Development - Santhi J Krishnan
PhoneGap Application Development - Santhi J KrishnanPhoneGap Application Development - Santhi J Krishnan
PhoneGap Application Development - Santhi J Krishnan
 
Android SDK and PhoneGap
Android SDK and PhoneGapAndroid SDK and PhoneGap
Android SDK and PhoneGap
 
AN ANDROID APP FOR BUILDING STUDENT PROFILES
AN ANDROID APP FOR BUILDING STUDENT PROFILESAN ANDROID APP FOR BUILDING STUDENT PROFILES
AN ANDROID APP FOR BUILDING STUDENT PROFILES
 
GDG Devfest 2016 session on Android N
GDG Devfest 2016 session on Android NGDG Devfest 2016 session on Android N
GDG Devfest 2016 session on Android N
 
Cross Section and Deep Dive into GE Predix
Cross Section and Deep Dive into GE PredixCross Section and Deep Dive into GE Predix
Cross Section and Deep Dive into GE Predix
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android tio manual
Android tio manualAndroid tio manual
Android tio manual
 
Android tio manual
Android tio manualAndroid tio manual
Android tio manual
 
Mobile development
Mobile developmentMobile development
Mobile development
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android tutorial ppt
Android tutorial pptAndroid tutorial ppt
Android tutorial ppt
 
Industrial IoT bootcamp
Industrial IoT bootcampIndustrial IoT bootcamp
Industrial IoT bootcamp
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
Android Intro
Android IntroAndroid Intro
Android Intro
 
Android bluetooth robot
Android  bluetooth robotAndroid  bluetooth robot
Android bluetooth robot
 
Securing Android Applications
Securing Android ApplicationsSecuring Android Applications
Securing Android Applications
 
Reverse engineering and modifying windows 8 apps
Reverse engineering and modifying windows 8 appsReverse engineering and modifying windows 8 apps
Reverse engineering and modifying windows 8 apps
 
Android Stsucture
Android StsuctureAndroid Stsucture
Android Stsucture
 
Android development beginners faq
Android development  beginners faqAndroid development  beginners faq
Android development beginners faq
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 

Plus de Sayed Ahmed

Plus de Sayed Ahmed (20)

Workplace, Data Analytics, and Ethics
Workplace, Data Analytics, and EthicsWorkplace, Data Analytics, and Ethics
Workplace, Data Analytics, and Ethics
 
Python py charm anaconda jupyter installation and basic commands
Python py charm anaconda jupyter   installation and basic commandsPython py charm anaconda jupyter   installation and basic commands
Python py charm anaconda jupyter installation and basic commands
 
[not edited] Demo on mobile app development using ionic framework
[not edited] Demo on mobile app development using ionic framework[not edited] Demo on mobile app development using ionic framework
[not edited] Demo on mobile app development using ionic framework
 
Sap hana-ide-overview-nodev
Sap hana-ide-overview-nodevSap hana-ide-overview-nodev
Sap hana-ide-overview-nodev
 
Invest wisely
Invest wiselyInvest wisely
Invest wisely
 
Will be an introduction to
Will be an introduction toWill be an introduction to
Will be an introduction to
 
Whm and cpanel overview hosting control panel overview
Whm and cpanel overview   hosting control panel overviewWhm and cpanel overview   hosting control panel overview
Whm and cpanel overview hosting control panel overview
 
Web application development using zend framework
Web application development using zend frameworkWeb application development using zend framework
Web application development using zend framework
 
Web design and_html_part_3
Web design and_html_part_3Web design and_html_part_3
Web design and_html_part_3
 
Web design and_html_part_2
Web design and_html_part_2Web design and_html_part_2
Web design and_html_part_2
 
Web design and_html
Web design and_htmlWeb design and_html
Web design and_html
 
Visual studio ide shortcuts
Visual studio ide shortcutsVisual studio ide shortcuts
Visual studio ide shortcuts
 
Virtualization
VirtualizationVirtualization
Virtualization
 
User interfaces
User interfacesUser interfaces
User interfaces
 
Unreal
UnrealUnreal
Unreal
 
Unit tests in_symfony
Unit tests in_symfonyUnit tests in_symfony
Unit tests in_symfony
 
Telerik this is sayed
Telerik this is sayedTelerik this is sayed
Telerik this is sayed
 
System analysis and_design
System analysis and_designSystem analysis and_design
System analysis and_design
 
Symfony 2
Symfony 2Symfony 2
Symfony 2
 
Story telling and_narrative
Story telling and_narrativeStory telling and_narrative
Story telling and_narrative
 

Dernier

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Mobile application development for android with phonegap

  • 1. Sayed Ahmed Computer Engineering (BUET), Bangladesh MSc., Computer Science, Canada President/Chief Architect/Lead Developer Justetc (Just et cetera) Technologies http://www.justetc.net http://sayed.justetc.net sayed@justetc.net
  • 2. Address  Canada Address  Trudelle Street  Toronto, Ontario, Canada  Contact ○ Sayed Ahmed ○ sayed@justetc.com  Bangladesh Address  Justetc Computers  Habib Complex (2nd Floor)  Shimultuly, Gazipur, Dhaka  Bangladesh  Contact ○ Rafiqul Islam ○ rafik@justetc.com ○ 01942747702 2Just Etc Technologies, sayed@justetc.net
  • 3. Tools Required  ADT Bundle (Eclipse + ADT)  http://developer.android.com/sdk/index.html  PhoneGap  http://phonegap.com/download/ Just Etc Technologies, sayed@justetc.net 3
  • 4. Sample Application Just Etc Technologies, sayed@justetc.net 4
  • 5. Concept  Concept  Develop a web application  Compile it with ADT for Android  Implementation Concept  Create an android project in Eclipse ADT bundle  Bring Phonegap related libraries and other associated files into the android project  Create an index.html file and use it as the starting point for the web-application ○ Being the entry point of the mobile application Just Etc Technologies, sayed@justetc.net 5
  • 6. Implementation Concept  Starting with the Index.html file develop a web-application/mobile application  Compile and run the application for Android  Debug and test using android emulator or on a real android device Just Etc Technologies, sayed@justetc.net 6
  • 7. What to take from Phonegap Just Etc Technologies, sayed@justetc.net 7
  • 8. Where to Take Just Etc Technologies, sayed@justetc.net 8
  • 9. What to Change Just Etc Technologies, sayed@justetc.net 9
  • 10. What to Change  Add files into assets folder and www subfolder  Index.html  Cordova.js Just Etc Technologies, sayed@justetc.net 10
  • 11. Change Manifest file Just Etc Technologies, sayed@justetc.net 11
  • 12. Changes to the Manifest file  From an example in the Phonegap package copy the following to the manifest file in the android project  phonegap-2.9.0libandroidexampleAndroidManifest.xml Just Etc Technologies, sayed@justetc.net 12
  • 13. Copy this to Android Manifest Just Etc Technologies, sayed@justetc.net 13
  • 14. Copy This to Android Manifest Just Etc Technologies, sayed@justetc.net 14
  • 15. Copy Only One Line as Shown Just Etc Technologies, sayed@justetc.net 15
  • 16. Combating Errors/Warnings Just Etc Technologies, sayed@justetc.net 16
  • 17. Combating Warning/Errors Just Etc Technologies, sayed@justetc.net 17
  • 18. Combating Warnings/Errors  C:WindowsSystem32Driversetc Just Etc Technologies, sayed@justetc.net 18
  • 19. Note  You may need to restart ADB (bridge)  May take little while for the application to start  You may see some warning though the application will run  Some port, debug, client reject error/warning may be there but the application may still run  You can try to get rid of all errors  Many warnings may be due to settings of the Android Virtual Device  The emulated device type may affect  Try to create new virtual devices if the existing one does not work Just Etc Technologies, sayed@justetc.net 19
  • 20. Virtual Device we used Just Etc Technologies, sayed@justetc.net 20