Organization list error

I am creating an Android app and using the Android SDK for retrieving and storing the data. After integrating the SDK I tried getting my organization list but it returns an empty list while I can see the organization when I login from the website.

I am using the refactoring branch of the SDK and there was a lot of code in the Persistence module that was commented. Should I uncomment it to use it or am I supposed to do something else? I have attached a copy of the code I am doing right now.

Thanks

Apoorv

Organization code.rtf (1.46 KB)

Hi Apoorv,

that’s great you’re using the refactoring branch. We’re actually just finishing the project in refactoring and we haven’t tested everything yet so it’s hard to say where the error lies. Perhaps during this week we can revisit the issue.

Simen

···

On Sun, Jan 17, 2016 at 6:28 PM, Apoorv Patel patelapoorv9990@gmail.com wrote:

I am creating an Android app and using the Android SDK for retrieving and storing the data. After integrating the SDK I tried getting my organization list but it returns an empty list while I can see the organization when I login from the website.

I am using the refactoring branch of the SDK and there was a lot of code in the Persistence module that was commented. Should I uncomment it to use it or am I supposed to do something else? I have attached a copy of the code I am doing right now.

Thanks

Apoorv


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp