Skip to Content
author's profile photo Former Member
Former Member

Open Offline OData Store Android

Hey Experts,

one more Question i am trying to convert some Online Stores of my application in too Offline Stores.

So when i am Trying to initalise the Offline Store global with "OfflineODataStore.globalInit();" the app collaps.

I've steped into the globalInit method and find out that the app Collaps at the function "System.loadLibrary("odataofflinejni");",

because of this i think there is some problem with my libarys so i will atach some screenshots under this.

Regards,

Dominik

src.PNG (17.1 kB)
collaps.PNG (1.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2016 at 01:01 PM

    So I got it. If you try to call ODataOfflineStore.globalInit(); delet this, it trys to load the libary out of the wrong path which is created on initalise without contex. So you only need to call offlineStore = new ODataOfflineStore(context) to initialise the Store.
    And it will finaly load the libary correct. I am using second Configuration which is working well after finguring out how to initialise.

    Hope this will works for you too.

    Regards,

    Dominik

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.