Digital performance. YASSER OUAFTOUH Introduction to Hybris Mobile App SDK for Android 10/05/2016 [email protected]
Digital performance.
YASSER OUAFTOUH
Introduction to HybrisMobile App SDK for Android
10/05/2016
ANDROID REVIEW1. INTRODUCTION2. HYBRIS MOBILE APP SDK FOR ANDROID3. ARCHITECTURE
CAPTURES - DEMO
Content
ANDROID REVIEW
INTRODUCTION
8
Build Unique Mobile Apps with the hybris Mobile AppSDK for iOS and Android.hybris Mobile includes a ready-to-use Mobile App SDK(Software Development Kit) for both iOS and Android toget you started quickly and cost efficiently when lookingto develop a unique, fully-integrated app.The Mobile App SDK consists of an API library that isfully connected to the hybris Platform via the OmniCommerce Connect interface and includes corecommerce functionality, like catalog search & browse,cart, checkout, order, customer account and store locator.The SDK comes with native, pre-configured iOS andAndroid sample apps that can either be used as-is, orfurther customized to your needs, significantly loweringtime- and cost-to-market.The SDK also contains native QR code scanners for bothiOS and Android and NFC writing and reading capabilitiesfor the Android version.
Hybris Mobile
© SQLI GROUP | 2015
9
Barcode IntegrationMobile barcodes are a powerful way to transfer customers between channels and drive sales. For example, retailers can add barcodes to catalogs or advertisements. When a picture of a barcode is snapped with a mobile phone it will, for example, bring up a special landing page for that product or group of products. This can provide customerswith instant product and pricing information and create opportunities for cross selling or upselling. These same capabilities would also provide the ability to link coupons or vouchers to barcodes that encourage impulse buying in the store.
Barcode Integration
© SQLI GROUP | 2015
Source
Hybris Mobile App SDK for Android
11
The SDK comprises eight components:• yCommerceApp• yB2BLibrary• yB2CLibrary• yCommerceLibrary• yHTTPClientLibrary• yUILibrary• yLocationLibrary• yScannerLibrary
SDK Components
© SQLI GROUP | 2015
12
• yCommerceApp: A fully functional base sample app that showcases live use of the hybris Mobile App SDK. This app is declined with two versions (B2B and B2C) through the flavor system offered by the Android gradle plugin. Refer to the Android Functional Guides section for details on the features included in the yCommerceApp for B2B and B2C scenarios.
SDK Components
© SQLI GROUP | 2015
13
• yCommerceLibrary: A configurable and extendable wrapper for communicating with the hybris Commerce Suite. It is used to connect to the Commerce Suite and retrieve all available information in the suite, and provides secure connections for critical data such as login credentials and cart management. Refer to the hybris Components section of this topic for more information on the hybris components that this library uses. Note that this library should not be used directly but rather be extended according to your needs.
SDK Components
© SQLI GROUP | 2015
14
• yB2BLibrary and yB2CLibrary: Extensions of the yCommerceLibrary that are specific to B2B and B2C verticals respectively.
SDK Components
© SQLI GROUP | 2015
15
• yHTTPClientLibrary: A configurable and extendable HTTP client with caching capabilities and automatic conversion of JSON/XML to Java objects (POJOs). The default network communication engine implementation uses Volley, a powerful and lightweight network client from Google for Android. If required, you can provide your own network communication engine implementation instead. Gson is the default JSON converter, but you can provide your own converter if required. Refer to the Gson project home page for more information: https://code.google.com/p/google-gson/
SDK Components
© SQLI GROUP | 2015
16
• yUILibrary: A suite of hybris-developed Android UI components that help in implementing and enhancing attractive interfaces for your app.
SDK Components
© SQLI GROUP | 2015
17
• yLocationLIbrary: A library based on Google Maps that facilitates implementation of any map behavior and component in your app. Also contains a facilitator for geofencing features.
SDK Components
© SQLI GROUP | 2015
18
• yScannerLibrary: A library used for barcode scanning that includes a default implementation based on ZXing.
SDK Components
© SQLI GROUP | 2015
ARCHITECTURE
yUILibrary
yB2BLibrary
yHTTPClientLibrarycaching
hybris CommerceModules
hybris Mobile App SDKhybris Mobile App SDK
yCommerceApp
OCC & Extended Services
Customer Specific Library
Third Party Library
Third Party Components
REST
/ H
TTP
yLocationLibrary
yCommerceLibrary
yScannerLibrary
yB2CLibrary
Using yB2BLibrary
OryB2CLibrary
Captures
DEMOPROJECTS’ ARCHITECTURE