I am trying to create an android application to connect to Azure's SQL database. When I try to create a ODataConsumer object that would later be used to filter the message.
The ODataConsumer object is create with the create method
ODataConsumer c = ODataConsumer.create("http:/xxx/yyy.svc");
But when the execution reaches here, I get class def not found exception and the application is force closed.
I downloaded the jar files from the following site
http://code.google.com/p/odata4j/downloads/list
I started off with v0.3 as this is the jar file used in the demo that is provided by Microsoft. I also tried v0.4
I add <uses-permission android:name="android.permission.INTERNET"/>
to the manifest file of the project. I also import
import org.odata4j.consumer.ODataConsumer;
import org.odata4j.core.OEntity;.
Am I missing something here?
The error that I get is AndroidRuntime(595): java.lang.NoClassDefFoundError: org.data4j.consumer.OdataConsumer