SAP Mobile App Development

Windows System Setup for Developing Mobile Apps with SAPWebIDE and SAP Mobile SDK

      In this tutorial we will see how to setup development environment for developing mobile applications with SAPWebIDE cloud version and SAP Mobile SDK.In this tutorial we install in windows machine.We will use HAT connector to connect between SAP Mobile SDK and sapwebide.

Steps

  • Install SAP Mobile Platform SDK 

Steps
  1. Download SAP Mobile Platform SDK from SAP store.I have downloaded SDK3_14(SP 14 windows installer which is latest as of today)
  2. Install SAP Mobile Platform SDK.
  • Set Up HAT pre-requisites
  1. Download and Install Java JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html
  2. Dowload and install Node.js from https://nodejs.org/download/release/v5.4.1/.Install version v5.4.1 only which is supported by mobile SDK.
  3. Download apache cordova cli.For this open cmd(command prompt) and install cordova version 6.1.1 by command npm install -g cordova@6.3.1
  4. Download and install Git from https://git-scm.com/
  5. Install kapsel CLI.For this open cmd(command prompt) and navigate to C:\SAP\MobileSDK3\KapselSDK\cli and use command npm install -g
  6. Install apache Ant.Download Ant from http://ant.apache.org/  and just extract the downloaded zip file.
  7. Install android SDK from http://developer.android.com/sdk/installing/index.html .After installing android SDK just create an AVD(Android Virtual Device) with avd manager available with SDK.
  • Set Up Path variables
  1. Go to System->Advanced system settings and click on environment variables.Add following variables to the system.You should use your path.Iam using mine.
  2. select Path variable and add these values and click ok.
  • Set Up HAT
  1. Download and install SCN Hybrid App Toolkit from SAP store.Extract the zip and run setup.cmd file.Follow the instructions.You should have SAP Web IDE cloud account or you can use local version of SAP Web IDE.I recommend you use cloud version because it has all the new features available.If you dont have an hcp account signup from here.
  2. Check the HAT installation.Just run run.cmd from the extracted HAT directory.It will ask for password which was given in step 1 of set Up HAT.Give password and press enter.Now open SAP Web IDE go to Tools->Preferences and enable HAT Plugin.Go to  Plugins > Optional Plugins  and tick mark com.sap.webide.hybrid and press save.Now click on Hybrid Application Toolkit and press test connection.It should give success message.
I have made this tutorial as compact as possible.Please comment if need any clarification.

If you enjoyed this post, Please Share!!

0 comments :

Post a Comment

Powered by Blogger.