Need Help with Android SDK for DHIS

Hi

We are planning to make an android application that interacts with a DHIS server.

For this we plan to use the DHIS Android SDK available on Github -[https://github.com/dhis2/dhis2-android-sdk].

But there is no release version available yet as the project is still in alpha phase. When is it planned for a release?

We really want to use this for our application but not sure if we should go with an alpha version( just downloaded and built it - it gives error )

[ *Error:/home/hisp/development/source_code/android/dhis2-android- sdk/app/src/main/java/org/hisp/dhis/android/sdk/persistence/models/ProgramRule.ja va:72: ProgramRuleAction$Table cannot be resolved to a variable *

]

Also, is there any documentation available?

Any help will be much appreciated.

Regards

harsh

Hello Harsh,

just downloaded and built it - it gives error
Have you tried to test latest version from master branch?

But there is no release version available yet as the project is still in alpha phase.
That’s correct. SDK is now on early stages of development. For the same reason we don’t have documentation, because current SDK API is subject to change in near future.

But I think you should try it out, in order to understand which benefits it offers. You can use our android projects as reference point instead of documentation. Please, take a look into the source code here:

https://github.com/dhis2/dhis2-android-trackercapture

https://github.com/dhis2/dhis2-android-eventcapture

Best Regards,

Araz

···

On Tue, Jun 30, 2015 at 3:37 PM, Harsh Atal harsh.atal@gmail.com wrote:

Hi

We are planning to make an android application that interacts with a DHIS server.

For this we plan to use the DHIS Android SDK available on Github -[https://github.com/dhis2/dhis2-android-sdk].

But there is no release version available yet as the project is still in alpha phase. When is it planned for a release?

We really want to use this for our application but not sure if we should go with an alpha version( just downloaded and built it - it gives error )

[ *Error:/home/hisp/development/source_code/android/dhis2-android- sdk/app/src/main/java/org/hisp/dhis/android/sdk/persistence/models/ProgramRule.ja va:72: ProgramRuleAction$Table cannot be resolved to a variable *

]

Also, is there any documentation available?

Any help will be much appreciated.

Regards

harsh


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

Hi Araz,

In PSI, we are going to put a lot effort in the following weeks in order to integrate the DHIS2 - SDK with our mobile developments, I am a bit worried with your comment “SDK is now on early stages of development. For the same reason we don’t have documentation, because current SDK API is subject to change in near future”… What kind of changes in the API can we expect? Also, at least I am assuming that the datamodel (database) is not going to change right? When do you plan to have a stable SDK?

Our mobile developments will have several features not included in the SDK or DHIS2, but one of the main reasons of using the SDK is to re-use some of the features you may implement in the future. Do you have a roadmap for this? (Analytics, …).

Thank you!

Regards

Jose

···

On Tue, Jul 7, 2015 at 7:25 AM, Araz Abishov araz.abishov.gsoc@gmail.com wrote:

Hello Harsh,

just downloaded and built it - it gives error
Have you tried to test latest version from master branch?

But there is no release version available yet as the project is still in alpha phase.
That’s correct. SDK is now on early stages of development. For the same reason we don’t have documentation, because current SDK API is subject to change in near future.

But I think you should try it out, in order to understand which benefits it offers. You can use our android projects as reference point instead of documentation. Please, take a look into the source code here:

https://github.com/dhis2/dhis2-android-trackercapture

https://github.com/dhis2/dhis2-android-eventcapture

Best Regards,

Araz


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

On Tue, Jun 30, 2015 at 3:37 PM, Harsh Atal harsh.atal@gmail.com wrote:

Hi

We are planning to make an android application that interacts with a DHIS server.

For this we plan to use the DHIS Android SDK available on Github -[https://github.com/dhis2/dhis2-android-sdk].

But there is no release version available yet as the project is still in alpha phase. When is it planned for a release?

We really want to use this for our application but not sure if we should go with an alpha version( just downloaded and built it - it gives error )

[ *Error:/home/hisp/development/source_code/android/dhis2-android- sdk/app/src/main/java/org/hisp/dhis/android/sdk/persistence/models/ProgramRule.ja va:72: ProgramRuleAction$Table cannot be resolved to a variable *

]

Also, is there any documentation available?

Any help will be much appreciated.

Regards

harsh


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

Hello Jose,

The database schema won’t change, as well as core functionality. I just wanted to warn you that API of some components (UI elements mainly) can be changed until final release (1.0).

But for sure, you should start using it. If there will be API breaking changes in UI components, they will not be intrusive.

Also I wanted to mention, that your contribution or feedback on SDK will be highly appreciated.

Best Regards,

Araz

···

On Wed, Jul 8, 2015 at 2:02 PM, Jose Garcia Muñoz josemp10@gmail.com wrote:

Hi Araz,

In PSI, we are going to put a lot effort in the following weeks in order to integrate the DHIS2 - SDK with our mobile developments, I am a bit worried with your comment “SDK is now on early stages of development. For the same reason we don’t have documentation, because current SDK API is subject to change in near future”… What kind of changes in the API can we expect? Also, at least I am assuming that the datamodel (database) is not going to change right? When do you plan to have a stable SDK?

Our mobile developments will have several features not included in the SDK or DHIS2, but one of the main reasons of using the SDK is to re-use some of the features you may implement in the future. Do you have a roadmap for this? (Analytics, …).

Thank you!

Regards

Jose

On Tue, Jul 7, 2015 at 7:25 AM, Araz Abishov araz.abishov.gsoc@gmail.com wrote:

Hello Harsh,

just downloaded and built it - it gives error
Have you tried to test latest version from master branch?

But there is no release version available yet as the project is still in alpha phase.
That’s correct. SDK is now on early stages of development. For the same reason we don’t have documentation, because current SDK API is subject to change in near future.

But I think you should try it out, in order to understand which benefits it offers. You can use our android projects as reference point instead of documentation. Please, take a look into the source code here:

https://github.com/dhis2/dhis2-android-trackercapture

https://github.com/dhis2/dhis2-android-eventcapture

Best Regards,

Araz


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

On Tue, Jun 30, 2015 at 3:37 PM, Harsh Atal harsh.atal@gmail.com wrote:

Hi

We are planning to make an android application that interacts with a DHIS server.

For this we plan to use the DHIS Android SDK available on Github -[https://github.com/dhis2/dhis2-android-sdk].

But there is no release version available yet as the project is still in alpha phase. When is it planned for a release?

We really want to use this for our application but not sure if we should go with an alpha version( just downloaded and built it - it gives error )

[ *Error:/home/hisp/development/source_code/android/dhis2-android- sdk/app/src/main/java/org/hisp/dhis/android/sdk/persistence/models/ProgramRule.ja va:72: ProgramRuleAction$Table cannot be resolved to a variable *

]

Also, is there any documentation available?

Any help will be much appreciated.

Regards

harsh


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

So, that’s great news Araz, thank you! Yes, we are planning to collaborate with you adding the concept of attributes in the SDK for dataelements. We really need them in the SDK (as far as I know they don’t exist in the SDK database). Will start other email for this possible contribution (in case you agreed with that)

···

On Wed, Jul 8, 2015 at 1:39 PM, Araz Abishov araz.abishov.gsoc@gmail.com wrote:

Hello Jose,

The database schema won’t change, as well as core functionality. I just wanted to warn you that API of some components (UI elements mainly) can be changed until final release (1.0).

But for sure, you should start using it. If there will be API breaking changes in UI components, they will not be intrusive.

Also I wanted to mention, that your contribution or feedback on SDK will be highly appreciated.

Best Regards,

Araz

On Wed, Jul 8, 2015 at 2:02 PM, Jose Garcia Muñoz josemp10@gmail.com wrote:

Hi Araz,

In PSI, we are going to put a lot effort in the following weeks in order to integrate the DHIS2 - SDK with our mobile developments, I am a bit worried with your comment “SDK is now on early stages of development. For the same reason we don’t have documentation, because current SDK API is subject to change in near future”… What kind of changes in the API can we expect? Also, at least I am assuming that the datamodel (database) is not going to change right? When do you plan to have a stable SDK?

Our mobile developments will have several features not included in the SDK or DHIS2, but one of the main reasons of using the SDK is to re-use some of the features you may implement in the future. Do you have a roadmap for this? (Analytics, …).

Thank you!

Regards

Jose

On Tue, Jul 7, 2015 at 7:25 AM, Araz Abishov araz.abishov.gsoc@gmail.com wrote:

Hello Harsh,

just downloaded and built it - it gives error
Have you tried to test latest version from master branch?

But there is no release version available yet as the project is still in alpha phase.
That’s correct. SDK is now on early stages of development. For the same reason we don’t have documentation, because current SDK API is subject to change in near future.

But I think you should try it out, in order to understand which benefits it offers. You can use our android projects as reference point instead of documentation. Please, take a look into the source code here:

https://github.com/dhis2/dhis2-android-trackercapture

https://github.com/dhis2/dhis2-android-eventcapture

Best Regards,

Araz


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

On Tue, Jun 30, 2015 at 3:37 PM, Harsh Atal harsh.atal@gmail.com wrote:

Hi

We are planning to make an android application that interacts with a DHIS server.

For this we plan to use the DHIS Android SDK available on Github -[https://github.com/dhis2/dhis2-android-sdk].

But there is no release version available yet as the project is still in alpha phase. When is it planned for a release?

We really want to use this for our application but not sure if we should go with an alpha version( just downloaded and built it - it gives error )

[ *Error:/home/hisp/development/source_code/android/dhis2-android- sdk/app/src/main/java/org/hisp/dhis/android/sdk/persistence/models/ProgramRule.ja va:72: ProgramRuleAction$Table cannot be resolved to a variable *

]

Also, is there any documentation available?

Any help will be much appreciated.

Regards

harsh


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

That’d be great. Will you be using GitHub for project hosting? It will be much easier to track progress and collaborate for us if you could use it.

···

On Wed, Jul 8, 2015 at 2:59 PM, Jose Garcia Muñoz josemp10@gmail.com wrote:

So, that’s great news Araz, thank you! Yes, we are planning to collaborate with you adding the concept of attributes in the SDK for dataelements. We really need them in the SDK (as far as I know they don’t exist in the SDK database). Will start other email for this possible contribution (in case you agreed with that)

On Wed, Jul 8, 2015 at 1:39 PM, Araz Abishov araz.abishov.gsoc@gmail.com wrote:

Hello Jose,

The database schema won’t change, as well as core functionality. I just wanted to warn you that API of some components (UI elements mainly) can be changed until final release (1.0).

But for sure, you should start using it. If there will be API breaking changes in UI components, they will not be intrusive.

Also I wanted to mention, that your contribution or feedback on SDK will be highly appreciated.

Best Regards,

Araz

On Wed, Jul 8, 2015 at 2:02 PM, Jose Garcia Muñoz josemp10@gmail.com wrote:

Hi Araz,

In PSI, we are going to put a lot effort in the following weeks in order to integrate the DHIS2 - SDK with our mobile developments, I am a bit worried with your comment “SDK is now on early stages of development. For the same reason we don’t have documentation, because current SDK API is subject to change in near future”… What kind of changes in the API can we expect? Also, at least I am assuming that the datamodel (database) is not going to change right? When do you plan to have a stable SDK?

Our mobile developments will have several features not included in the SDK or DHIS2, but one of the main reasons of using the SDK is to re-use some of the features you may implement in the future. Do you have a roadmap for this? (Analytics, …).

Thank you!

Regards

Jose

On Tue, Jul 7, 2015 at 7:25 AM, Araz Abishov araz.abishov.gsoc@gmail.com wrote:

Hello Harsh,

just downloaded and built it - it gives error
Have you tried to test latest version from master branch?

But there is no release version available yet as the project is still in alpha phase.
That’s correct. SDK is now on early stages of development. For the same reason we don’t have documentation, because current SDK API is subject to change in near future.

But I think you should try it out, in order to understand which benefits it offers. You can use our android projects as reference point instead of documentation. Please, take a look into the source code here:

https://github.com/dhis2/dhis2-android-trackercapture

https://github.com/dhis2/dhis2-android-eventcapture

Best Regards,

Araz


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

On Tue, Jun 30, 2015 at 3:37 PM, Harsh Atal harsh.atal@gmail.com wrote:

Hi

We are planning to make an android application that interacts with a DHIS server.

For this we plan to use the DHIS Android SDK available on Github -[https://github.com/dhis2/dhis2-android-sdk].

But there is no release version available yet as the project is still in alpha phase. When is it planned for a release?

We really want to use this for our application but not sure if we should go with an alpha version( just downloaded and built it - it gives error )

[ *Error:/home/hisp/development/source_code/android/dhis2-android- sdk/app/src/main/java/org/hisp/dhis/android/sdk/persistence/models/ProgramRule.ja va:72: ProgramRuleAction$Table cannot be resolved to a variable *

]

Also, is there any documentation available?

Any help will be much appreciated.

Regards

harsh


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

Yes, we are using github. We are starting to work on a first prototype here https://github.com/EyeSeeTea/malariapp/tree/sdk_integration . Will give you some feedback and information about some challenges we are facing, soon :slight_smile: (likely early next week)

Thanks!!

···

On Wed, Jul 8, 2015 at 2:50 PM, Araz Abishov araz.abishov.gsoc@gmail.com wrote:

That’d be great. Will you be using GitHub for project hosting? It will be much easier to track progress and collaborate for us if you could use it.

On Wed, Jul 8, 2015 at 2:59 PM, Jose Garcia Muñoz josemp10@gmail.com wrote:

So, that’s great news Araz, thank you! Yes, we are planning to collaborate with you adding the concept of attributes in the SDK for dataelements. We really need them in the SDK (as far as I know they don’t exist in the SDK database). Will start other email for this possible contribution (in case you agreed with that)

On Wed, Jul 8, 2015 at 1:39 PM, Araz Abishov araz.abishov.gsoc@gmail.com wrote:

Hello Jose,

The database schema won’t change, as well as core functionality. I just wanted to warn you that API of some components (UI elements mainly) can be changed until final release (1.0).

But for sure, you should start using it. If there will be API breaking changes in UI components, they will not be intrusive.

Also I wanted to mention, that your contribution or feedback on SDK will be highly appreciated.

Best Regards,

Araz

On Wed, Jul 8, 2015 at 2:02 PM, Jose Garcia Muñoz josemp10@gmail.com wrote:

Hi Araz,

In PSI, we are going to put a lot effort in the following weeks in order to integrate the DHIS2 - SDK with our mobile developments, I am a bit worried with your comment “SDK is now on early stages of development. For the same reason we don’t have documentation, because current SDK API is subject to change in near future”… What kind of changes in the API can we expect? Also, at least I am assuming that the datamodel (database) is not going to change right? When do you plan to have a stable SDK?

Our mobile developments will have several features not included in the SDK or DHIS2, but one of the main reasons of using the SDK is to re-use some of the features you may implement in the future. Do you have a roadmap for this? (Analytics, …).

Thank you!

Regards

Jose

On Tue, Jul 7, 2015 at 7:25 AM, Araz Abishov araz.abishov.gsoc@gmail.com wrote:

Hello Harsh,

just downloaded and built it - it gives error
Have you tried to test latest version from master branch?

But there is no release version available yet as the project is still in alpha phase.
That’s correct. SDK is now on early stages of development. For the same reason we don’t have documentation, because current SDK API is subject to change in near future.

But I think you should try it out, in order to understand which benefits it offers. You can use our android projects as reference point instead of documentation. Please, take a look into the source code here:

https://github.com/dhis2/dhis2-android-trackercapture

https://github.com/dhis2/dhis2-android-eventcapture

Best Regards,

Araz


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

On Tue, Jun 30, 2015 at 3:37 PM, Harsh Atal harsh.atal@gmail.com wrote:

Hi

We are planning to make an android application that interacts with a DHIS server.

For this we plan to use the DHIS Android SDK available on Github -[https://github.com/dhis2/dhis2-android-sdk].

But there is no release version available yet as the project is still in alpha phase. When is it planned for a release?

We really want to use this for our application but not sure if we should go with an alpha version( just downloaded and built it - it gives error )

[ *Error:/home/hisp/development/source_code/android/dhis2-android- sdk/app/src/main/java/org/hisp/dhis/android/sdk/persistence/models/ProgramRule.ja va:72: ProgramRuleAction$Table cannot be resolved to a variable *

]

Also, is there any documentation available?

Any help will be much appreciated.

Regards

harsh


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