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@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
+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...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - 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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
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
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

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