既然是安卓开发,首先咱们要下载Android Studio.html
接着是从SAP官网下载SAP Cloud Platform的Android开发SDK:android
https://developers.sap.com/tr...app
https://developers.sap.com/to...测试
Android SDK安装完毕后,使用项目建立向导新建一个项目:spa
使用SAP Cloud Platform mobile service上已经建立好的应用:com.sap.wizapp:3d
这个com.sap.wizapp的配置在SAP Cloud Platform的mobile services页面里打开以下:code
com.sap.edm.sampleservice.v2这个Destination提供了测试数据,包含product categories, product, supplier, customer和sales order等等。orm
完成项目建立向导。htm
SAP Cloud Platform Android SDK会自动给咱们建立一个模板应用:blog
点击Run按钮启动应用:
选择在模拟器上运行:
点击Get Started,进入用户登陆页面:
输入SAP Cloud Platform的用户名和密码:
建立本地Passcode:
以后看到destination指向的OData服务的entity:
选择Products,能看到产品列表:
选中某个产品,进入其明细页面。
要获取更多Jerry的原创文章,请关注公众号"汪子熙":