SlideShare uma empresa Scribd logo
1 de 14
Java Mobile Developers Forum




 Deploy and test a
 simple application
 using actual devices

 Edoardo Schepis
 edoardo.schepis@sun.com


                           Milano - 23 Settembre 2005
Java Mobile Developers Forum


   Developing the FragmentationDemo
   • Main requirement: a simple MIDlet performing network
     connections
         >HTTP
         >HTTPS
   • Store HTTP/S response codes in RMS
   • UI
                                                         Tools
     > a form for user interactions reporting     NetBeans 4.1 + Mobility
                                                      ●

        events                                    Pack
                                                  Sun Wireless Toolkit
                                                      ●

   • Configuration                                Nokia Developer Suite
                                                      ●


     > in JAD file                                Motorola SDK
                                                      ●


                                                      ●   SonyEricsson Toolkit
                                 23 Settembre 2005
Java Mobile Developers Forum


   NetBeans Mobility Pack
   Flow Designer




                               23 Settembre 2005
Java Mobile Developers Forum


   NetBeans Mobility Pack
   Screen Designer




                               23 Settembre 2005
Java Mobile Developers Forum


   NetBeans Mobility Pack
   MIDlet
   Attributes




                               23 Settembre 2005
Java Mobile Developers Forum


   Java Source
   public class FrDemoMIDlet extends MIDlet implements CommandListener {

   ....

       public FrDemoMIDlet() {

           URL = this.getAppProperty("host.URL");

           http_port = this.getAppProperty("host.http_port");

           https_port = this.getAppProperty("host.https_port");

       }

   ....

       void doHttpConnect() {

           HttpConnection httpConnection = null;

           connectionURL = "http://" + URL + ":" + http_port;

           mainForm.append("Connecting to..." + connectionURL);

           try {
                   httpConnection = (HttpConnection) Connector.open(connectionURL);
                   int httpResponseCode = httpConnection.getResponseCode();
                   mainForm.append("HTTP ResponseCode: " + httpResponseCode);
               recordstore.addRecord(new byte[] {(new Integer(httpResponseCode)).byteValue()}, 0,
               0);

           } catch (IOException e) { ....
                                                23 Settembre 2005
Java Mobile Developers Forum


   Testing with emulators
   ●   OTA provisioning

   ●   Main functions
        – Reading from JAD file
        – User interactions
        – Network connections
        – RMS




                               23 Settembre 2005
Java Mobile Developers Forum


   Now let's use devices...
   The simple application should follow the W.O.R.A.
    paradigm




                               23 Settembre 2005
Java Mobile Developers Forum


   Handsets

                                                   • Sharp GX20

                                                   • Nokia 6630

                                                   • Motorola V980

                                                   • SonyEricsson P910


                               23 Settembre 2005
Java Mobile Developers Forum


   Live demo with Sharp GX20




                               23 Settembre 2005
Java Mobile Developers Forum


   Testing Results Summary
     Device          Provisioning Execution                    Issue              Solution

                                                                              MIDlet-Data_Size+
     Sharp GX20           OK          KO              RMS / no https
                                                                                 change app.
                          KO
     Nokia 6630                       -          Attribute Name with '.'       Change Names
                     (version 2.xy)

     Motorola V980        OK          KO            HTTP and Thread            Separate Thread


     SE P910              OK          KO               User Interface           Re-Design UI




                                                                           Note:
                                                                           not only bugs... but also
                                                                           specific implementations

                                           23 Settembre 2005
Java Mobile Developers Forum


   Java Devices EchoSystem




                               23 Settembre 2005
Java Mobile Developers Forum


   If I had to remember one thing...



        “Write Once, Test Anywhere,
         Work Around”



                               23 Settembre 2005
Edoardo Schepis
edoardo.schepis@sun.com

Mais conteúdo relacionado

Destaque (11)

El Cmaptool Herramienta de aprendizaje virtual
El Cmaptool Herramienta de aprendizaje virtualEl Cmaptool Herramienta de aprendizaje virtual
El Cmaptool Herramienta de aprendizaje virtual
 
презентация Microsoft office power point
презентация Microsoft office power pointпрезентация Microsoft office power point
презентация Microsoft office power point
 
JavaME UI - JMDF 2007
JavaME UI - JMDF 2007JavaME UI - JMDF 2007
JavaME UI - JMDF 2007
 
Tutorial como hacer mapas conceptuales en bubbl.us
Tutorial como hacer mapas conceptuales en bubbl.usTutorial como hacer mapas conceptuales en bubbl.us
Tutorial como hacer mapas conceptuales en bubbl.us
 
готовий проект 7
готовий проект 7готовий проект 7
готовий проект 7
 
Lean Business and Grow
Lean Business and GrowLean Business and Grow
Lean Business and Grow
 
Test
TestTest
Test
 
Autores dominicanos
Autores dominicanosAutores dominicanos
Autores dominicanos
 
Focus Group Open Source 09.05.2011 Filippo Sorbello
Focus Group Open Source 09.05.2011 Filippo Sorbello Focus Group Open Source 09.05.2011 Filippo Sorbello
Focus Group Open Source 09.05.2011 Filippo Sorbello
 
Impact of employee absences in employer cost
Impact of employee absences in employer costImpact of employee absences in employer cost
Impact of employee absences in employer cost
 
estructuras de almacenamiento y diferentes medios de almacenamiento de datos.
estructuras de almacenamiento y diferentes medios de almacenamiento de datos.estructuras de almacenamiento y diferentes medios de almacenamiento de datos.
estructuras de almacenamiento y diferentes medios de almacenamiento de datos.
 

Semelhante a JavaME Deploy and Test - JMDF 2005

JavaME Development Workflow - JMDF 2007
JavaME Development Workflow - JMDF 2007JavaME Development Workflow - JMDF 2007
JavaME Development Workflow - JMDF 2007
Edoardo Schepis
 
Google Android Naver 1212
Google Android Naver 1212Google Android Naver 1212
Google Android Naver 1212
Yoojoo Jang
 

Semelhante a JavaME Deploy and Test - JMDF 2005 (20)

Rococo Software Q409
Rococo Software Q409Rococo Software Q409
Rococo Software Q409
 
Guides To Analyzing WebKit Performance
Guides To Analyzing WebKit PerformanceGuides To Analyzing WebKit Performance
Guides To Analyzing WebKit Performance
 
Mobile Java
Mobile JavaMobile Java
Mobile Java
 
Android Development Workshop V2
Android Development Workshop   V2Android Development Workshop   V2
Android Development Workshop V2
 
Java 40 versions_sgp
Java 40 versions_sgpJava 40 versions_sgp
Java 40 versions_sgp
 
Development with JavaFX 9 in JDK 9.0.1
Development with JavaFX 9 in JDK 9.0.1Development with JavaFX 9 in JDK 9.0.1
Development with JavaFX 9 in JDK 9.0.1
 
GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...
GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...
GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...
 
Cloudy Ajax 08 10
Cloudy Ajax 08 10Cloudy Ajax 08 10
Cloudy Ajax 08 10
 
JavaME Development Workflow - JMDF 2007
JavaME Development Workflow - JMDF 2007JavaME Development Workflow - JMDF 2007
JavaME Development Workflow - JMDF 2007
 
Integrating Ansible Tower with security orchestration and cloud management
Integrating Ansible Tower with security orchestration and cloud managementIntegrating Ansible Tower with security orchestration and cloud management
Integrating Ansible Tower with security orchestration and cloud management
 
QNX, C/C++, Qt, Cascades, HTML5… So what’s now BlackBerry 10 application deve...
QNX, C/C++, Qt, Cascades, HTML5… So what’s now BlackBerry 10 application deve...QNX, C/C++, Qt, Cascades, HTML5… So what’s now BlackBerry 10 application deve...
QNX, C/C++, Qt, Cascades, HTML5… So what’s now BlackBerry 10 application deve...
 
SunMicroSystems
SunMicroSystemsSunMicroSystems
SunMicroSystems
 
Easing the Path to Network Transformation - Network Transformation Experience...
Easing the Path to Network Transformation - Network Transformation Experience...Easing the Path to Network Transformation - Network Transformation Experience...
Easing the Path to Network Transformation - Network Transformation Experience...
 
Flying a Drone with JavaScript and Computer Vision
Flying a Drone with JavaScript and Computer VisionFlying a Drone with JavaScript and Computer Vision
Flying a Drone with JavaScript and Computer Vision
 
Kubernetes Native Infrastructure and CoreOS Operator Framework for 5G Edge Cl...
Kubernetes Native Infrastructure and CoreOS Operator Framework for 5G Edge Cl...Kubernetes Native Infrastructure and CoreOS Operator Framework for 5G Edge Cl...
Kubernetes Native Infrastructure and CoreOS Operator Framework for 5G Edge Cl...
 
FIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing
FIWARE Global Summit - FogFlow, a new GE for IoT Edge ComputingFIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing
FIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing
 
OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...
OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...
OpenStack cloud for ConoHa, Z.com and GMO AppsCloud in okinawa opendays 2015 ...
 
Considerations for operating docker at scale
Considerations for operating docker at scaleConsiderations for operating docker at scale
Considerations for operating docker at scale
 
Docker Timisoara: Dockercon19 recap slides, 23 may 2019
Docker Timisoara: Dockercon19 recap slides, 23 may 2019Docker Timisoara: Dockercon19 recap slides, 23 may 2019
Docker Timisoara: Dockercon19 recap slides, 23 may 2019
 
Google Android Naver 1212
Google Android Naver 1212Google Android Naver 1212
Google Android Naver 1212
 

Mais de Edoardo Schepis (7)

Openshift Enterprise
Openshift EnterpriseOpenshift Enterprise
Openshift Enterprise
 
Joomla in the cloud with Openshift
Joomla in the cloud with OpenshiftJoomla in the cloud with Openshift
Joomla in the cloud with Openshift
 
Intro jbug milano
Intro jbug milanoIntro jbug milano
Intro jbug milano
 
Funambol: introducing SCRUM in software product development - AgileDay Italia
Funambol: introducing SCRUM in software product development - AgileDay ItaliaFunambol: introducing SCRUM in software product development - AgileDay Italia
Funambol: introducing SCRUM in software product development - AgileDay Italia
 
Funambol JavaME Messaging Client: Lessons Learned - JavaONE 2008
Funambol  JavaME Messaging Client: Lessons Learned - JavaONE 2008Funambol  JavaME Messaging Client: Lessons Learned - JavaONE 2008
Funambol JavaME Messaging Client: Lessons Learned - JavaONE 2008
 
JavaME Overview - JMDF 2007
JavaME Overview - JMDF 2007JavaME Overview - JMDF 2007
JavaME Overview - JMDF 2007
 
Alla ricerca della User Story perduta
Alla ricerca della User Story perdutaAlla ricerca della User Story perduta
Alla ricerca della User Story perduta
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

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
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
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 ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
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...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

JavaME Deploy and Test - JMDF 2005

  • 1. Java Mobile Developers Forum Deploy and test a simple application using actual devices Edoardo Schepis edoardo.schepis@sun.com Milano - 23 Settembre 2005
  • 2. Java Mobile Developers Forum Developing the FragmentationDemo • Main requirement: a simple MIDlet performing network connections >HTTP >HTTPS • Store HTTP/S response codes in RMS • UI Tools > a form for user interactions reporting NetBeans 4.1 + Mobility ● events Pack Sun Wireless Toolkit ● • Configuration Nokia Developer Suite ● > in JAD file Motorola SDK ● ● SonyEricsson Toolkit 23 Settembre 2005
  • 3. Java Mobile Developers Forum NetBeans Mobility Pack Flow Designer 23 Settembre 2005
  • 4. Java Mobile Developers Forum NetBeans Mobility Pack Screen Designer 23 Settembre 2005
  • 5. Java Mobile Developers Forum NetBeans Mobility Pack MIDlet Attributes 23 Settembre 2005
  • 6. Java Mobile Developers Forum Java Source public class FrDemoMIDlet extends MIDlet implements CommandListener { .... public FrDemoMIDlet() { URL = this.getAppProperty("host.URL"); http_port = this.getAppProperty("host.http_port"); https_port = this.getAppProperty("host.https_port"); } .... void doHttpConnect() { HttpConnection httpConnection = null; connectionURL = "http://" + URL + ":" + http_port; mainForm.append("Connecting to..." + connectionURL); try { httpConnection = (HttpConnection) Connector.open(connectionURL); int httpResponseCode = httpConnection.getResponseCode(); mainForm.append("HTTP ResponseCode: " + httpResponseCode); recordstore.addRecord(new byte[] {(new Integer(httpResponseCode)).byteValue()}, 0, 0); } catch (IOException e) { .... 23 Settembre 2005
  • 7. Java Mobile Developers Forum Testing with emulators ● OTA provisioning ● Main functions – Reading from JAD file – User interactions – Network connections – RMS 23 Settembre 2005
  • 8. Java Mobile Developers Forum Now let's use devices... The simple application should follow the W.O.R.A. paradigm 23 Settembre 2005
  • 9. Java Mobile Developers Forum Handsets • Sharp GX20 • Nokia 6630 • Motorola V980 • SonyEricsson P910 23 Settembre 2005
  • 10. Java Mobile Developers Forum Live demo with Sharp GX20 23 Settembre 2005
  • 11. Java Mobile Developers Forum Testing Results Summary Device Provisioning Execution Issue Solution MIDlet-Data_Size+ Sharp GX20 OK KO RMS / no https change app. KO Nokia 6630 - Attribute Name with '.' Change Names (version 2.xy) Motorola V980 OK KO HTTP and Thread Separate Thread SE P910 OK KO User Interface Re-Design UI Note: not only bugs... but also specific implementations 23 Settembre 2005
  • 12. Java Mobile Developers Forum Java Devices EchoSystem 23 Settembre 2005
  • 13. Java Mobile Developers Forum If I had to remember one thing... “Write Once, Test Anywhere, Work Around” 23 Settembre 2005