Migrating Android Native OData Applications

Migrate your Android OData application from version 2.x to SAP Mobile Platform version 3.0.

There is no change in code and no refactoring is required to migrate an application from 2.3.x to 3.x. Existing applications based on 2.x will continue to work against the SAP Mobile Platform 3.0 OData SDK post migration, without any code changes, with just a rebuild. The deprecated class details in this section is applicable for new application development, where it is requested or mandatorily required to use the new APIs. To use OData offline and other features such as batch processing, the new classes are mandatory.
List of Refactored APIs
API in Version 2.x API in Version 3.x
buildSDMODataEntryXML buildODataEntryRequestBody
parseSDMODataServiceDocumentXML parseODataServiceDocument
parseSDMODataSchemaXML parseODataSchema
parseSDMODataEntriesXML parseODataEntries
parseSDMODataOpenSearchDescriptionXML parseODataOpenSearchDescription
parseSDMODataErrorXML parseODataError
parseFunctionImportResultXML parseFunctionImportResult
Note: SAP recommends you to update the APIs to the newly refactored APIs listed. The deprecated SDM APIs are supported for backward compatibility.
Related concepts
Developing Android Applications