• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Taking Advantage of Webtop
 

Taking Advantage of Webtop

on

  • 1,689 views

Learn how HTML5 improves the mobile user experience.

Learn how HTML5 improves the mobile user experience.

Statistics

Views

Total Views
1,689
Views on SlideShare
1,689
Embed Views
0

Actions

Likes
0
Downloads
51
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Taking Advantage of Webtop Taking Advantage of Webtop Presentation Transcript

    • Motorola Mobility Peter van der Linden AndroidWebtopHTML5MOTOROLA Stylized M Motorola Trademark Holdings, LLC. . . © 2011 Motorola Mobility, Inc. All rights reserved.
    • MOTODEV 2123 Webtop4 HTML5 © 2011 Motorola Mobility, Inc.
    • MOTODEV 3 • Motorola ATRIX 4G MB860 • “ ” 11mm • 4.0" , qHD(540 x 960), 240 dpi, 24 • 1GHz NVIDIA Tegra 2 • Android 2.2.1(Froyo) • 1930 mAh © 2011 Motorola Mobility, Inc.
    • MOTODEV 4 RAM/ROM • 1 GB RAM • 2 GB • 10.7 GB • 32 GB SDHC © 2011 Motorola Mobility, Inc.
    • MOTODEV 5 • W-CDMA 850/1900/2100 • GSM 850/900/1800/1900 • HSDPA 14Mbps( 10) • Wi-Fi, Bluetooth… © 2011 Motorola Mobility, Inc.
    • MOTODEV 6 • o :5 , , LED o : VGA(640x480) • o 720p HD, 30fps o HDMI © 2011 Motorola Mobility, Inc.
    • MOTODEV 7 • • ( ) • • • o o API © 2011 Motorola Mobility, Inc.
    • MOTODEV 8 • Android WebKit • Adobe® Flash® • webtop o File Manager( ) • Entertainment Center( ) © 2011 Motorola Mobility, Inc.
    • MOTODEV 9 : • , 2.4 lbs • 11.6" • , • USB 2 , ATRIX • • o ATRIX © 2011 Motorola Mobility, Inc.
    • MOTODEV 10 : HD • USB HDMI • HD HD TV • o USB o USB • © 2011 Motorola Mobility, Inc.
    • MOTODEV 11 ATRIX • SDK o http://developer.motorola.com/docstools/tools/ • Webtop o http://developer.motorola.com/docstools/library/ • o http://developer.motorola.com/products/atrix-mb860/ © 2011 Motorola Mobility, Inc.
    • MOTOROLAMOTOROLA Stylized Stylized MMotorola Trademark Holdings, LLC. M Motorola Trademark Holdings, LLC. . . . © 2011 © 2011 Motorola Mobility, Inc. Allreserved. . Motorola Mobility, Inc. All rights rights reserved.
    • MOTODEV 13 API • • Motorola API(FFC Motorola ) • 2.2(Froyo) • 2.3(Gingerbread) o Gingerbread Google API Froyo © 2011 Motorola Mobility, Inc.
    • MOTODEV 14 API • com.motorola.hardware.frontcamera.FrontCamera lib • : static Camera getFrontCamera(); • Android Camera . • ! . © 2011 Motorola Mobility, Inc.
    • MOTODEV 15 APIimport com.motorola.hardware.frontcamera.FrontCamera;import android.hardware.Camera;Camera frontCam = FrontCamera.getFrontCamera(); // frontCam // ...frontCam.release(); // © 2011 Motorola Mobility, Inc.
    • MOTODEV 16<uses-library android:name="com.motorola.hardware.frontcamera"/><uses-feature android:name="android.hardware.camera"/><uses-permission android:name="android.permission.CAMERA"/> © 2011 Motorola Mobility, Inc.
    • MOTODEV 17•• ATRIX SDK jar o ffc_api_stub.jar• jar “Motorola Front-Facing Camera API(Motorola API)” o http://developer.motorola.com/docstools/library/ motorola-front-facing-camera-api/ © 2011 Motorola Mobility, Inc.
    • MOTOROLAMOTOROLA Stylized Stylized MMotorola Trademark Holdings, LLC. M Motorola Trademark Holdings, LLC. . . . © 2011 © 2011 Motorola Mobility, Inc. Allreserved. . Motorola Mobility, Inc. All rights rights reserved.
    • MOTODEV 19 Motorola API • • (Reflection) API . © 2011 Motorola Mobility, Inc.
    • MOTODEV 20 (Reflection) –<uses-libraryandroid:name="com.motorola.hardware.frontcamera”android:required="false" /> © 2011 Motorola Mobility, Inc.
    • MOTODEV 21 (Reflection) –private static class ConditionalFrontCamera { public static Camera getFrontCamera(){ try { Method fcMethod = Class.forName( "com.motorola.hardware.frontcamera.FrontCamera") .getDeclaredMethod("getFrontCamera",(Class[])null); if (fcMethod==null) return null; return (Camera) fcMethod.invoke( (Object[])null,(Object[])null); } catch (Exception ex){ return null; } }} © 2011 Motorola Mobility, Inc.
    • MOTODEV 22 (Reflection) - Camera frontCam = ConditionalFrontCamera.getFrontCamera(); if(frontCam != null) { // } else { // } © 2011 Motorola Mobility, Inc.
    • Tegra 2 MOTOROLAMOTOROLA Stylized Stylized MMotorola Trademark Holdings, LLC. M Motorola Trademark Holdings, LLC. . . . © 2011 © 2011 Motorola Mobility, Inc. Allreserved. . Motorola Mobility, Inc. All rights rights reserved.
    • MOTODEV 24 PC CPU GPU RAM PCI SATA USB © 2011 Motorola Mobility, Inc.
    • MOTODEV 25 Tegra 2 – • - - o , , CPU GPU • ARM 7 CPU o 1 GHz o – – o ... © 2011 Motorola Mobility, Inc.
    • Webtop MOTOROLAMOTOROLA Stylized Stylized MMotorola Trademark Holdings, LLC. M Motorola Trademark Holdings, LLC. . . . © 2011 © 2011 Motorola Mobility, Inc. Allreserved. . Motorola Mobility, Inc. All rights rights reserved.
    • MOTODEV 27 Motorola CPU . © 2011 Motorola Mobility, Inc.
    • MOTODEV Webtop 28 HTML, js 1.0 © 2011 Motorola Mobility, Inc. Android
    • MOTODEV 29 © 2011 Motorola Mobility, Inc. 1.0 © 2011 Motorola Mobility, Inc.
    • MOTODEV 30 Webtop • • Motorola ATRIX 4G Motorola / • 11.5 Firefox 3.6.13 • ! . © 2011 Motorola Mobility, Inc.
    • HTML5 MOTOROLAMOTOROLA Stylized Stylized MMotorola Trademark Holdings, LLC. M Motorola Trademark Holdings, LLC. . . . © 2011 © 2011 Motorola Mobility, Inc. Allreserved. . Motorola Mobility, Inc. All rights rights reserved.
    • MOTODEV 32 HTML 5 • W3C HTML • , : • • • • • © 2011 Motorola Mobility, Inc.
    • MOTODEV 33 HTML 5 • section, article, aside, hgroup, header, footer, nav, figure, video, audio, canvas, datalist, embed, mark © 2011 Motorola Mobility, Inc.
    • MOTODEV 34 Firefox 3.6 • ( ) • , ( ) • <audio> WAV OGG • : http://developer.motorola.com/docstools/library/webtop- application-overview/ © 2011 Motorola Mobility, Inc.
    • MOTODEV 35 Firefox 3.6 • Javascript <canvas> 2D • ( / ) • Javascript © 2011 Motorola Mobility, Inc.
    • MOTODEV 36 Canvas( ) 2D • . . <canvas id="myc" width="500" height="300"></canvas> <script> function supportsCanvas() { return !!document.createElement(canvas).getContext; } var head = new Image(); head.src="head.jpg”; var myc = document.getElementById("myc"); var cxt = myc.getContext("2d"); head.onload = function () { cxt.drawImage(head, 0, 0); } © 2011 Motorola Mobility, Inc.
    • MOTODEV 37 • . . function supportsLocalStorage() { return (localStorage in window) && window[localStorage]!==null; } try { var msg = "localStorage is working OK <br>"; localStorage.setItem("key", msg ); } catch (e) { document.write("Excpn in local storage”); } document.write( localStorage.getItem("key") ); © 2011 Motorola Mobility, Inc.
    • MOTODEV 38 • . . function supportsGeolocation() { return !!navigator.geolocation; } function savePos(pos) { var lat = pos.coords.latitude; var lon = pos.coords.longitude; } try { navigator.geolocation.getCurrentPosition(savePos); } catch (e) { http://www.mozilla.com/en-US/firefox/geolocation/ : © 2011 Motorola Mobility, Inc.
    • MOTODEV 39 © 2011 Motorola Mobility, Inc.
    • MOTODEV 40 : developer.motorola.com • – http://community.developer.motorola.com/ • – MOTODEV Studio: ( , , ) IDE – App Validator: Android • (Twitter) – Appsum11kr • – http://developer.motorola.com/products/xoom/ © 2011 Motorola Mobility, Inc.
    • MOTODEV 41 ? - #appsum11kr community-developer.motorola.com © 2011 Motorola Mobility, Inc.
    • MOTODEV 42 © 2011 Motorola Mobility, Inc.
    • MOTODEV 43 Apache 2 .Copyright © 2010, Android Open Source Project. All rights reserved( ).Apache , 2.0(" "); . :http://www.apache.org/licenses/LICENSE-2.0. “ ” . . © 2011 Motorola Mobility, Inc.
    • MOTODEV 44 BSD .Copyright © 2010-2011, Motorola, Inc. All rights reserved( ). 2 . , .2 , / . Motorola, Inc. . " " ( ) . , , , , ( , , , ) , ( ) , . © 2011 Motorola Mobility, Inc.
    • MOTODEV 45 © 2011 Motorola Mobility, Inc.