Intel® XDK

Разработка мобильных HTML5 приложений

Дмитрий Рыжков
Intel

HTML5

J a v aH C T S M S L S c 5 3 r i p t
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Повышение производительности HTML5
• Оптимизация JIT компилятора • Паралеллизация • Аппаратное ускорение (CPU, GPU) • Векторизация • Аппаратное ускорение графики

Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Как HTML5 приложение работает на устройстве

WebView

Приложение HTML5

Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Как работает Intel XDK
- Полноэкранный WebView запускает приложение - Приложение по сути это мини веб-сайт - Графика, стили, страницы включены в ресурсы приложения

5
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Как работает Intel XDK
- Локальный сервер и скрипт http://localhost:58888/_appMobi/appmobi.js - Доступ к возможностям устройства осуществляется через JavaScript
- Сенсоры - Камера - Контакты

6
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Как работает Intel XDK
Приложение можно тестировать - В браузере - На устройстве, используя тестовое приложение

7
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Intel XDK – создание нативных приложений
- iOS - Android - Windows (Store и Phone) - Tizen - Amazon - Nook

8
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Intel XDK – создание веб приложений
- Google Chrome - Facebook

9
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Установка Intel XDK
Для работы потребуется - Google Chrome - Java 6 или 7 - Текстовый редактор

10
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Intel XDK

11
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Редактор кода \ Эмулятор

12
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Создание нового проекта

13
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Список проектов

14
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Папка проекта

15
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Отладка в браузере

16
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Тестирование на устройстве

17
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Тестирование на устройстве

18
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Тестирование на устройстве

19
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Приглашение к тестированию

20
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Сборка приложения

21
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Сборка приложения

22
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Сборка приложения

23
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Сборка приложения

24
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Доступные сборки

25
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Возможности эмулятора
Тестирование на различных устройствах классах устройств – смартфоны, планшеты, ультрабуки, с различным разрешением, ориентацией экрана.

26
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Возможности эмулятора

27
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Возможности эмулятора
- Варианты подключения - Геолокация

28
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Интегрируемые сервисы
- Интегрированная система обновлений - Статистика магазина - Push уведомления - Прием платежей

29
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Обновление

30
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Прием платежей
1Touch In-App Payments (JavaScript) Единый шлюз для платежей

31
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

JavaScript API
Свойства для определения параметров платформы • AppMobi.isamazon • AppMobi.ischrome • AppMobi.isfacebook • AppMobi.isgoogle

32
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

JavaScript API
Объекты для работы с мобильной платформой • accelerometer • contacts • device • display • geolocation • multitouch • notification
33
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

SDK и фреймворки
jqMobi Bootstrap AppMobi.canvas для iOS и Android Box2D

34
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Legal Disclaimer & Optimization Notice
INFORMATION IN THIS DOCUMENT IS PROVIDED “AS IS”. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO THIS INFORMATION INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. Software and workloads used in performance tests may have been optimized for performance only on Intel microprocessors. Performance tests, such as SYSmark and MobileMark, are measured using specific computer systems, components, software, operations and functions. Any change to any of those factors may cause the results to vary. You should consult other information and performance tests to assist you in fully evaluating your contemplated purchases, including the performance of that product when combined with other products. Copyright © , Intel Corporation. All rights reserved. Intel, the Intel logo, Xeon, Core, VTune, and Cilk are trademarks of Intel Corporation in the U.S. and other countries.

Optimization Notice
Intel’s compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice. Notice revision #20110804
35
Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners.

Спасибо за участие!

Sign up to vote on this title
UsefulNot useful