Safe Harbor Statement



Similar documents
Introduction to Oracle Mobile Application Framework Raghu Srinivasan, Director Development Mobile and Cloud Development Tools Oracle

Safe Harbor Statement

Running a Program on an AVD

ORACLE MOBILE APPLICATION FRAMEWORK DATA SHEET

Build a Mobile App in 60 Minutes with MAF

Mobilize Your ERP with ADF Mobile

ORACLE ADF MOBILE DATA SHEET

WebLogic & Coherence. Best backend for Mobile Apps. July 2014 INSERT PRESENTER TITLE AND DATE

Debugging Mobile Apps

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.2 Web Applications Deployed on BEA WebLogic Server 9.2

Mobile Performance Management Tools Prasanna Gawade, Infosys April 2014

ORACLE MOBILE SUITE. Complete Mobile Development Solution. Cross Device Solution. Shared Services Infrastructure for Mobility

Real Life Oracle Mobile Application Framework. Things that you don't get from the developer guide

Copyright 2014 Oracle and/or its affiliates. All rights reserved.

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on Oracle WebLogic Server

- Was gibt es Neues? - Mobile Update

ADF Mobile Overview and Frequently Asked Questions

As shown, the emulator instance connected to adb on port 5555 is the same as the instance whose console listens on port 5554.

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013

Amplify Service Integration Developer Productivity with Oracle SOA Suite 12c

1Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Open Text Social Media. Actual Status, Strategy and Roadmap

Cloud Performance Group 1. Event. 14. Januar 2016 / Matthias Gessenay (matthias.gessenay@corporatesoftware.ch)

Mobile Security Jump Start. Wayne Henshaw & Mike Jacobs Progress OpenEdge October 8, 2013

Adobe Summit 2015 Lab 712: Building Mobile Apps: A PhoneGap Enterprise Introduction for Developers

Title: Appium Automation for Mac OS X. Created By: Prithivirajan M. Abstract. Introduction

MOBILIZING ORACLE APPLICATIONS ERP. An Approach for Building Scalable Mobility Solutions. A RapidValue Solutions Whitepaper

Update to V10. Automic Support: Best Practices Josef Scharl. Please ask your questions here Event code 6262

How To Develop A Mobile Application On An Android Device

Lab 4 In class Hands-on Android Debugging Tutorial

Webentwicklung für s iphone

How Oracle MAF & Oracle Mobile Cloud can Accelerate Mobile App Development

Brauche neues Power Supply

ADF. Joe Huang Joe Huang Senior Principal Product Manager, Mobile Development Platform, Oracle Application Development Tools

Extending Oracle Applications on Mobile Using Oracle MAF and Oracle Mobile Security

Android Programming: Installation, Setup, and Getting Started

Introduction to Tizen SDK Alpha. Taiho Choi Samsung Electronics

DevOps Best Practices for Mobile Apps. Sanjeev Sharma IBM Software Group

MEGA Web Application Architecture Overview MEGA 2009 SP4

Developing multidevice-apps using Apache Cordova and HTML5. Guadalajara Java User Group Guillermo Muñoz Java Developer

Introduction to Android Development. Jeff Avery CS349, Mar 2013

50 shades of Siebel mobile

Building an Agile PLM Web Application with JDeveloper and Agile 93 Web Services

BASIC COMPONENTS. There are 3 basic components in every Apache Cordova project:

Configuring and Monitoring Citrix Branch Repeater

Operational Decision Manager Worklight Integration

Getting Started With Delegated Administration

Infrastruktur Sicherheit mit Checkpoint

How To Develop A Mobile App With Phonegap

Apache Server Implementation Guide

slides at goo.gl/kifue

WHITE PAPER. Domo Advanced Architecture

Zielgruppe Dieses Training eignet sich für System Engineers und an SCCM- Administratoren.


Anforderungen an die plattformneutrale Entwicklung. geeigneter Entwicklungswerkzeuge

Appium mobile test automation

1. INTERFACE ENHANCEMENTS 2. REPORTING ENHANCEMENTS

Willkommen zum zrational Community Call. Dennis Behm, Scott Davis, Tobias Braun

SAP Mobile Platform Intro

Android Geek Night. Application framework

Mobile application testing is a process by which application software developed for hand held mobile devices is tested for its functionality,

Best practices building multi-platform apps. John Hasthorpe & Josh Venman

unisys ClearPath eportal Developer 6.1 Unisys Multi-Device App Developer s Guide March

Professional iphone and ipod touch Programming. Building Applications for Mobile Safari

Citrix Enterprise Mobility more than just device management (MDM)

Getting Started with Android Development

-Android 2.3 is the most used version of Android on the market today with almost 60% of all Android devices running 2.3 Gingerbread -Winner of

Penetration Testing for iphone Applications Part 1

My Stuff Everywhere Your Content On Any Screen

Lab: Developing Mobile Web Apps. Adage Technologies adagetechnologies.com

JobScheduler Web Services Executing JobScheduler commands

Develop a Native App (ios and Android) for a Drupal Website without Learning Objective-C or Java. Drupaldelphia 2014 By Joe Roberts

How To Develop Android On Your Computer Or Tablet Or Phone

Software Requirements, Version 2015_01_12

Introduction to Mobile Performance Testing

place/business fetch details, removefromfavorite () function, 189 search button handler bind, B BlackBerry build environment

1. Introduction What is Axis Camera Station? What is Viewer for Axis Camera Station? AXIS Camera Station Service Control 5

Silk Test Testing Mobile Applications

JavaScript Testing. Beginner's Guide. Liang Yuxian Eugene. Test and debug JavaScript the easy way PUBLISHING MUMBAI BIRMINGHAM. k I I.

Introduction to Android

Introduction to IBM Worklight Mobile Platform

Deliver World-Class Smartphone and Tablet Applications with Oracle Mobile

DV4 - Citrix CloudGateway: Access and control Windows, SaaS and web applications. Systems Engineer, Citrix Systems GmbH

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

GLOBAL CONSULTING SERVICES TOOLS FOR WEBMETHODS Software AG. All rights reserved. For internal use only

HP ALM Masters 2014 Connected, collaborative mobile application development for the enterprise HP Anywhere

Practical Android Projects Lucas Jordan Pieter Greyling

SOLARIS 10 SECURITY. Technical Overview. Andreas Neuhold Systems Practice Lead Austria Sun Microsystems, GesmbH

CS378 -Mobile Computing. Android Overview and Android Development Environment

... Introduction Acknowledgments... 19

TECHNOLOGIES MOBILE STRATEGY

Web Browser Settings for MOGADOC Version

Dave Haseman, Ross. Hightower. Mobile Development for SAP* ^>. Galileo Press. Bonn. Boston

1. Introduction to Android

Introduction to Android. CSG250 Wireless Networks Fall, 2008

Mobile apps development for Joomla

Login with Amazon. Getting Started Guide for Websites. Version 1.0

White Paper. Anywhere, Any Device File Access with IT in Control. Enterprise File Serving 2.0

Transcription:

Logging & Debugging von M(obile)AF Applikationen Jürgen Menge Sales Consultant Oracle Deutschland B.V. & Co. KG

Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle. Oracle Confidential Internal/Restricted/Highly Restricted 2

Agenda 1 2 3 4 Einstieg ins Thema Logging Debugging Weitere Informationen

Bestandteile einer Mobile Plattform Schutz der Unternehmensdaten Security Mobile Strategy MAINFRAME Entwicklung mobiler Applikationen Multiplatform Integration Zugriff auf Daten und Services

Oracle Mobile Application Framework Write Once, Deploy to Many Oracle MAF Basierende auf Standards Nutzung vorhandener Kenntnisse

Mobile Application Framework - Architektur Mobile Device Device Services MAF Device Native Container HTML 5, CSS3 & JavaScript Representation AMX Feature Components Controller Apache Cordova Plugins & APIs Local HTML Feature Java VM Client Logic JDBC SQLite App. Configuration Web View Remote URL Feature Encrypted Database Authentication, Credential Management & Access Control Server Configuration Service Server-Generated HTML REST or SOAP Services APN/GCM Push Services Oracle Confidential Internal/Restricted/Highly Restricted 6

Logging & Debugging von MAF-Applikationen ios Android Werkzeuge von Oracle MAF JDeveloper Remote Debugging JDeveloper Logging Plattformspezifische Werkzeuge Safari Web Inspector Android Monitor ddms chrome:/ /inspect Oracle Confidential Internal/Restricted/Highly Restricted 7

Agenda 1 2 3 4 Einstieg ins Thema Logging Debugging Weitere Informationen

Mobile Application Framework Java Logging System & Error Log (System.out.println, System.err.println) Embedded Logging(Default: com.sun.util.logging.logger) Konfiguration in der Datei../META-INF/logging.properties Logger.getLogger("oracle.adfmf.application").logp(Level.WARNING, this.getclass().getname(), "ontestmessage", "embedded warning message 3"); Oracle Confidential Internal/Restricted/Highly Restricted 9

Konfiguration des Logging - logging.properties Logger Default Settings 10

Mobile Application Framework JavaScript Logging Redirect des Output in Datei durch System.out <script type="text/javascript" charset="utf-8"> function test_function() { console.log("message from JavaScript");} </script> Verwendung einer Logging Methode im JavaScript adf.mf.log.application.logp(adf.mf.log.level.warning, "myclass", "mymethod", "My Message"); Oracle Confidential Internal/Restricted/Highly Restricted 11

ios Logging http://www.youtube.com/watch?v=uuqtbsmkmhu

Android Logging Output Log Datei Datei <AppName>.txt in /sdcard (vorletzte Version als *.txt.bak) Anzeige des Inhalts Lokaler Viewer auf dem Device/Emulator adb logcat (analog tail) Kopieren der Datei auf den Desktop Media Transfer Protocol (mtp) adb pull /sdcard/<file> <local_file>

Android Logging Monitor und ddms Debug Monitor (../android-sdk-linux/tools/monitor) Log Messages Filter, Suchfunktionalität File System Explorer Threads Heap usage Network stats Dalvik Debug Monitor Server (../android-sdk-linux/tools/ddms) deprecated

DEMONSTRATION Android Logging

Agenda 1 2 3 4 Einstieg ins Thema Logging Debugging Weitere Informationen

Mobile Application Framework Remote Debugging Breakpoints im Java Code setzen Debugging in der MAF-Applikation konfigurieren Gerät bzw. Simulator/Emulator vorbereiten Applikation im Debug Mode auf Gerät oder Simulator/Emulator deployen Applikation starten Debugger des JDeveloper mit der App verbinden

Debugging Breakpoints setzen Breakpoints in Java-Klassen setzen Lifecycle Methoden Managed Beans POJO Data Control keineevaluierung von EL-Ausdrücken keine Breakpoints in AMX-Dateien

Konfiguration des Debugging cvm.properties Konfiguration in der Datei../META-INF/cvm.properties Aktivieren des Debugging java.debug.enabled=true java.debug.port=8000 javascript.debug.enabled=true

Debugging Gerät bzw. Simulator/Emulator Android Emulator Android Virtual Device (AVD) anlegen und konfigurieren Android Device USB Debugging aktivieren (Developer Options) Installation von Apps aus unbekannten Quellen erlauben

Debugging Applikation deployen Deployment Profile auf Debug Mode setzen (Default) Application Properties Deployment => Deployment Profiles evtl. eigenes Profil für Debugging anlegen Gerät per USB verbinden Applikation deployen

Debugging Applikation starten und verbinden Applikation auf dem Gerät oder Simulator/Emulator starten Applikation wartet nach dem Start auf den Debug-Prozess Android Port Forwarding adb -d forward tcp:8000 tcp:8000 /Device adb -e forward tcp:8000 tcp:8000 /Emulator ios Simulator Eingehenden Netzwerk-Verbindung akzeptieren

Debugging Debugger starten Debugger im JDeveloper aufrufen Debugger mit der App verbinden

Debugging Applikation debuggen Debugger wartet am Breakpoint Step Through Step to the End Auswertung Breakpoints ADF Data Smart Data Data Watches Resume

DEMONSTRATION Android Debugging

Chrome Remote Debugging (1) Chrome Developer Tools ab Chrome 32 und Android 4.4 für WebView-Applikationen Datei cvm.properties javascript.debug.enabled=true Schritte Chrome aufrufen URL: chrome://inspect Discover USB Devices Port Forwarding? Liste der Pages

Chrome Remote Debugging (2) Elements: DOM Tree, HTML-Elemente, CSS, Event Listener, Viewport Sources: Debugging JavaScript Network: aufgerufene Dateien, Ladezeiten [F5] Audits: Analyse der Seiten beim Laden Console: Kommunikation mit der Anwendung ab 4.4.3 Screencast

Safari Remote Debugging (1) Datei cvm.properties javascript.debug.enabled=true Schritte Safari aufrufen Preferences => Advanced => Show Develop menu... Start der Applikation Liste der Pages

Safari Remote Debugging (2) Resources: DOM Tree, HTML-Elemente Styles: CSS Timelines: aufgerufene Dateien, Ladezeiten Console: Kommunikation mit der Anwendung

DEMONSTRATION Remote Debugging Chrome

Agenda 1 2 3 4 Einstieg ins Thema Logging Debugging Weitere Informationen

Weitere Informationen Dokumentation Mobile Application Framework 2.0.1 https://docs.oracle.com/middleware/mobile201/mobile/develop/maf-debug-test.htm#adfmf1044 Blogs Debugging ADF Mobile https://blogs.oracle.com/shay/entry/debugging_adf_mobile_apps_on https://blogs.oracle.com/mobile/entry/enable_javascript_debugging_on_mac http://java.dzone.com/articles/debugging-oracle-adf-mobile YouTube Videos Debugging ADF Mobile http://www.youtube.com/watch?v=uuqtbsmkmhu Chrome Developer Tools https://developer.chrome.com/devtools https://developer.chrome.com/devtools/docs/remote-debugging

Fragen & Antworten Jürgen Menge juergen.menge@oracle.com