简体   繁体   中英

How to call SAP Odata service in Android Studio

I want to call SAP Odata service in Android Studio. I searched about calling SAP Odata service from Android, but most of the answers are about calling sap odata service from Eclipse IDE. And I think the way to call SAP Odata service in Eclipse IDE is different from calling it in Android Studio. Also, I am not using SMP to create my mobile application. Some of the answers suggest to use Odata4j libraries, but I am not able to understand how to use these libraries to call SAP Odata services. Can you kindly help me in calling SAP Odata service from Android Studio, and may be provide some sample code ? It would be of great help.

The guides to configuring Eclipse and android studio should be very similar, IIRC SAP Java development uses a modified Java6 VM which should be near completely compatible with Android Java. can you post the error you are seeing when you attempt to call the ODATA service from android studio?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM