cancel
Showing results for 
Search instead for 
Did you mean: 

odata for offline applications for android

Former Member
0 Kudos


hello all,

Can we use odata application for android and iphone , If yes how can i use it

Kindly give me response.

Accepted Solutions (0)

Answers (3)

Answers (3)

midhun_vp
Active Contributor
0 Kudos

A complete offline is available with Odata SDK SMP 3.0 now. SMP 3.0 Odata SDK is supported with Android and IOS, Windows 8 may be supported in the future. But understand that Odata is open standard and it allows you to connect to any mobile OS. In the Odata SDK you will have APIs for connection/on board a user, offline etc, but if you are not using the Odata SDK you can do it manually too, ie you can develop win 8 apps even now.

If you are planning to develop offline app using Odata with SMP lower versions like 2.3 or 2.2 you will not get APIs that support offline, but by putting some effort you can create a offline app too. You need to make use of the local DB of the device. ex, Android has SQLite DB you need to write code to create a table to store the data you are getting through Odata call. When the user is trying to do an operation you can write code to check whether the device is online or not and save the data locally in device if its offline and can be updated to backend when the device is online. The advantages of offline APIs is that you don't want to bother about the data storage and its management when the app runs.

Examples are provided in the previous comments.

Midhun VP

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

I believe from SMP 3.0 onward, there has new feature been introduced for offline capabilities for OData based apps.

Please check these links for more understanding

btw Which SUP/SMP version you are trying with?

Regards,

Jitendra

Former Member
0 Kudos

hi jitendra , we are using 3.2

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos
 we are using 3.2

or 2.3?

Former Member
0 Kudos

yeah sorry you are right 2.3

Former Member
0 Kudos

can we use it odata  for smp 2.3

Virinchy
Active Contributor
0 Kudos

The above examples can be used for SMP 2.3

http://scn.sap.com/message/14914266#14914266

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

You may also check a very well written blog which provides a clear understanding about all the APIs especially related to OData SDK.

Rgrds,

Jitendra

Virinchy
Active Contributor
0 Kudos

Yes ODATA can be used to develop both Android and IPhone applications.

Odata details in SUP

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01708.0222/doc/html/title...

Android tutorials

SyBooks Online

IOS tutorials

SyBooks Online

hybrid Way of consuming ODATA

Once Odata services are generated you can also use SAP Ui5 following a hybrid way of developing applications which runs across all devices supporting html5 .

More video tutorials

http://www.sapmobileacademy.com/smp-23-native/

SMP 2.3 Native Android - OData — SAP Mobile Academy

For offline ODATA capabilities

http://scn.sap.com/docs/DOC-47043