CIS 136 Building Mobile Apps

Slides:



Advertisements
Similar presentations
Tutorial 5 Windows and Frames Section A - Working with Windows.
Advertisements

Chapter 3 – Web Design Tables & Page Layout
PRESENTER: MATTHEW DILLON E SCHOOL VIEW CMS TEACHER TRAINING.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Unit 11 Using the Internet & Browsing the Web.  Define the Internet and the Web  Set up & troubleshoot an Internet connection  Categorize webs sites.
Multimedia and the World Wide Web HCI 201 Lecture Notes #5A.
Clearing your Cookies Google Chrome A short guide to help you navigate our website faster Brought to you by:
Smartphone Apps Development Team Weiqing Li Lijun Zhu Man Li.
 Adding Background image  Creating internal links  Creating external links  Save your document as a webpage(.mht) file.
Google Android as a mobile development platform T Internet Technologies for Mobile Computing Olli Mäkinen.
The Power of Tables They aren't just for sitting stuff on anymore...
Start -> All Programs -> Classes -> Web Expressions -> Dreamweaver.
Eye Candy for Your iPhone Tricks to make your WordPress site look more like a native iPhone app Brian Shim Slides at brianshim.com.
1 Advanced HTML Joshua S. Simon Collective Technologies.
Positioning the Toolbar You can position the toolbar anywhere on the screen. You can also dock it at the top or side of the screen so that it stays in.
 jQuery Mobile An Introduction. What is jQuery Mobile  A framework built on top of jQuery, used for creating mobile web applications  Designed to make.
SIG WEB January 31, 3PM. What is HTML5? What it is: Allows for better intergration of media consumption. A new open standard Provides new APIs.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Web Technologies Website Development Trade & Industrial Education
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
Website Development with Dreamweaver
PACS - 09/19/15 1 favicon A ‘Favorite icon’ is a file containing one or more small icons associated with a particular website or web page. Web browsers.
1 Tradedoubler & Mobile Mobile web & app tracking technical overview.
Dreamweaver MX Unit B CIS 205—Web Site Design and Development.
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
Creating Links – Lesson 31 Creating Links Lesson 3.
Accessing Your “How To” Series – W&J Office of Communications.
Introduction to JavaScript 41 Introduction to Programming the WWW I CMSC Winter 2004 Lecture 17.
Chapter 5: Windows and Frames
Table Row Table Data ( Header & Data) Data Cell Padding TABLE.
XP Tutorial 6 New Perspectives on JavaScript, Comprehensive1 Working with Windows and Frames Enhancing a Web Site with Interactive Windows.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
GO MOBILE By: Cindy Collins.  Some websites have what I call single serving content: you’ll go there once, and not return until you need it again.
Webview and Web services. Web Apps You can make your web content available to users in two ways in a traditional web browser in an Android application,
The Web Wizard’s Guide To JavaScript Chapter 8 Working with Windows and Frames.
JavaScript, Fourth Edition Chapter 4 Manipulating the Browser Object Model.
Creating Google Sites Laura Assem, Director of Technology.
Images. Intro What is it? Getting your image Inserting Moving Resizing Cropping.
Users are moving towards web applications Content on the web is more personal & meaningful Development on the web is easier than the OS.
Project 5: Using Pop-Up Windows Essentials for Design JavaScript Level One Michael Brooks.
Microsoft FrontPage 2003 Illustrated Complete Working on the Web Site’s Hyperlinks and Appearance.
Microsoft FrontPage 2003 Illustrated Complete Creating a Frames Page.
Working with the Window Object JavaScript considers the browser window an object, which it calls the window object.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Internet Explorer. 2 Menu bar Command bar Back & forward buttons Search bar (type word or phrases )
Portal Construction 301. Where We Are In Portal Construction 101and 201 we created a Group Profile in the local system and uploaded to our Web Reservation.
Testing and delivery Web design principles. Web development is software development.
Testing Native Mobile Apps
Microsoft Office 2010 Basics and the Internet
Android Application Web 1.
Microsoft Office 2010 Basics and the Internet
Unit 11 Using the Internet & Browsing the Web
Bare bones notes.
Creating Links – Lesson 3
Troubleshoot All Mozilla Firefox Errors With Just These 6 Steps Mozilla Firefox Customer Support Number.
Hybrid Mobile Applications
More than just File Sync and Share.
AMP.
Integrating JavaScript and HTML
Phonegap Bridge Configuration file
Dreamweaver 8: Introduction
Citation Map Visualizing citation data in the Web of Science
Sharon Trerise & Kara Patten
Introduction to the ISB Intranet
SEEM4570 Tutorial 5: jQuery + jQuery Mobile
The Web Wizard’s Guide To JavaScript
Creating Frames on a Web Page
SEMINAR FIVE: Mobile Advertising on Google – Plus the Power of Remarketing
Presentation transcript:

CIS 136 Building Mobile Apps In-App Browser CIS 136 Building Mobile Apps

InApp BrowserPlug-in opens a browser window within the app container rather than the system’s browser installed in the device no external browser needed to open links in the application Process stays within the app avoids pop ups popping up every time Benefits:  It gives you the ability to access web content within the application itself You don’t need to open the documents, pdf’s or web pages in any external browser Very easy to use and works exactly like any other browser

behaves like a standard web browser can't access Cordova APIs recommended to load third-party (untrusted) content, instead of loading that into the main Cordova webview not subject to the whitelist, nor is opening links in the system browser. The InAppBrowser provides by default its own GUI controls for the user (back, forward, done).

App and in-Browser

plug-in: org.apache.cordova.inappbrowser cordova.InAppBrowser.open(url, target, options); url: the url to the website to load Target: whether url is going to open in Cordova’s Web view. _self: url is going to get open in the same window. _blank: url is going to get open in the new window. _system: url is going to get open in the system’s browser. Options: location: It is used to turn on and off the in-app browser’s location bar.

Additional Useful Android options clearcache: set to yes to have the browser's cookie cache cleared before the new window is opened closebuttoncaption: set to a string to use as the close button's caption instead of a X. Note that you need to localize this value yourself. closebuttoncolor: set to a valid hex color string, for example: #00ff00, and it will change the close button color from default, regardless of being a text or default X. Only has effect if user has location set to yes. footer: set to yes to show a close button in the footer similar to the iOS Done button. The close button will appear the same as for the header hence use closebuttoncaption and closebuttoncolor to set its properties.

Additional Android options footercolor: set to a valid hex color string, for example #00ff00 or #CC00ff00 (#aarrggbb) , and it will change the footer color from default. Only has effect if user has footer set to yes. hardwareback: set to yes to use the hardware back button to navigate backwards through the InAppBrowser's history. If there is no previous page, the InAppBrowser will close. The default value is yes, so you must set it to no if you want the back button to simply close the InAppBrowser. hidenavigationbuttons: set to yes to hide the navigation buttons on the location toolbar, only has effect if user has location set to yes. The default value is no. hideurlbar: set to yes to hide the url bar on the location toolbar, only has effect if user has location set to yes. The default value is no.

Additional Android options navigationbuttoncolor: set to a valid hex color string, for example: #00ff00, and it will change the color of both navigation buttons from default. Only has effect if user has location set to yes and not hidenavigationbuttons set to yes. toolbarcolor: set to a valid hex color string, for example: #00ff00, and it will change the color the toolbar from default. Only has effect if user has location set to yes. lefttoright: Set to yes to swap positions of the navigation buttons and the close button. Specifically, navigation buttons go to the left and close button to the right. zoom: set to yes to show Android browser's zoom controls, set to no to hide them. Default value is yes. https://github.com/apache/cordova-plugin-inappbrowser

Code example window.open = cordova.InAppBrowser.open; var ref = window.open(‘http://www.go.com’, '_blank', 'location=yes'); OR var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes');