# SDK - Android Development

**URL:** https://community.dhis2.org/c/development/sdk-android-development/39.md?page=1

[Latest](https://community.dhis2.org/latest.md) · [Categories](https://community.dhis2.org/categories.md) · [Tags](https://community.dhis2.org/tags.md)

**Page:** 2

---

## [OptionSet not showing DHIS2 Android App v2.6 requiring Positive integer instead](https://community.dhis2.org/t/optionset-not-showing-dhis2-android-app-v2-6-requiring-positive-integer-instead/47332)

<div class="topic-metadata">

**Author:** [@antony.sibanda](https://community.dhis2.org/u/antony.sibanda)\
**Replies:** 6\
**Last updated:** [24 May 2022 13:07 UTC](https://community.dhis2.org/t/optionset-not-showing-dhis2-android-app-v2-6-requiring-positive-integer-instead/47332 "2022-05-24T13:07:00Z")

</div>

Android app v2.6 is not showing Option sets, instead it is requiring positive integers values. DHIS2 version: 2.35.10

---

## [Getting error while building signed apk in release mode (:app) DHIS2 Capture](https://community.dhis2.org/t/getting-error-while-building-signed-apk-in-release-mode-app-dhis2-capture/47173)

<div class="topic-metadata">

**Author:** [@besourabh](https://community.dhis2.org/u/besourabh)\
**Replies:** 4\
**Last updated:** [10 May 2022 11:44 UTC](https://community.dhis2.org/t/getting-error-while-building-signed-apk-in-release-mode-app-dhis2-capture/47173 "2022-05-10T11:44:09Z")

</div>

Hi, I am not able to build the release mode signed apk , debug mode is working fine. build variant structure: (not working for dhisRelease) getting below error: :\\build\\suni- \*sea1\\dhis\_android\_analytics\\src\\mai…

---

## [Import DHIS2 git](https://community.dhis2.org/t/import-dhis2-git/46784)

<div class="topic-metadata">

**Author:** [@Channara](https://community.dhis2.org/u/Channara)\
**Replies:** 7\
**Last updated:** [10 May 2022 11:25 UTC](https://community.dhis2.org/t/import-dhis2-git/46784 "2022-05-10T11:25:11Z")

</div>

Dear team, do you know this problem? what should i do? thanks channara

---

## [Transfer collected data from Android App to Memory Card](https://community.dhis2.org/t/transfer-collected-data-from-android-app-to-memory-card/42300)

<div class="topic-metadata">

**Author:** [@baktash.salehi](https://community.dhis2.org/u/baktash.salehi)\
**Replies:** 1\
**Last updated:** [27 September 2021 08:54 UTC](https://community.dhis2.org/t/transfer-collected-data-from-android-app-to-memory-card/42300 "2021-09-27T08:54:31Z")

</div>

Dear Marta and team, Is there any possibility to transfer all the collected data of the DHIS2 android application into an external memory card and share the memory card from the facility level to the national level? If …

---

## [Import/extract/link phone contact data with DHIS2 Capture](https://community.dhis2.org/t/import-extract-link-phone-contact-data-with-dhis2-capture/43818)

<div class="topic-metadata">

**Author:** [@ejkinsey](https://community.dhis2.org/u/ejkinsey)\
**Replies:** 3\
**Last updated:** [17 September 2021 13:19 UTC](https://community.dhis2.org/t/import-extract-link-phone-contact-data-with-dhis2-capture/43818 "2021-09-17T13:19:47Z")

</div>

Our community service providers (Mobile Capture Users) need to communicate with registered households (TEIs) using their devices, by phone and sms. Currently the contact details are saved in the DHIS2 Mobile Capture but…

---

## [DHIS2 Calander](https://community.dhis2.org/t/dhis2-calander/42904)

<div class="topic-metadata">

**Author:** [@Asfaw\_ET\_MoH](https://community.dhis2.org/u/Asfaw_ET_MoH)\
**Replies:** 1\
**Last updated:** [29 May 2021 12:44 UTC](https://community.dhis2.org/t/dhis2-calander/42904 "2021-05-29T12:44:13Z")

</div>

Calander become a bottle neck for us here in Ethiopia

---

## [Build Failed - Internal Compiler Error for DHIS2 Capture App develop branch](https://community.dhis2.org/t/build-failed-internal-compiler-error-for-dhis2-capture-app-develop-branch/40270)

<div class="topic-metadata">

**Author:** [@tmakawa265](https://community.dhis2.org/u/tmakawa265)\
**Replies:** 1\
**Last updated:** [23 November 2020 13:42 UTC](https://community.dhis2.org/t/build-failed-internal-compiler-error-for-dhis2-capture-app-develop-branch/40270 "2020-11-23T13:42:44Z")

</div>

I’m trying to clone and run the DHIS2 Capture App onto my Android Studio. I have followed the instructions from the DHIS2 capture app wiki but the build fails to finish giving the following error and failed task details…

---

## [Mandatory astrerisk symbol and cursor visibility](https://community.dhis2.org/t/mandatory-astrerisk-symbol-and-cursor-visibility/39737)

<div class="topic-metadata">

**Author:** [@lusandan](https://community.dhis2.org/u/lusandan)\
**Replies:** 1\
**Last updated:** [23 November 2020 12:03 UTC](https://community.dhis2.org/t/mandatory-astrerisk-symbol-and-cursor-visibility/39737 "2020-11-23T12:03:57Z")

</div>

Hi Colleagues, Is it possible to make color of the mandatory indicator red on mobile to clearly indicate mandatory fields as also done on web. On the current version of the app your can hardly see the asterisk symbol a…

---

## [How to start launch Search from Custom Activity providing OU and Tracker program?](https://community.dhis2.org/t/how-to-start-launch-search-from-custom-activity-providing-ou-and-tracker-program/41161)

<div class="topic-metadata">

**Author:** [@moukaila](https://community.dhis2.org/u/moukaila)\
**Replies:** 3\
**Last updated:** [3 November 2020 11:21 UTC](https://community.dhis2.org/t/how-to-start-launch-search-from-custom-activity-providing-ou-and-tracker-program/41161 "2020-11-03T11:21:38Z")

</div>

Hi all. I am working on an android app based on dhis2-tracker-capture-app and i am looking for the way i could launch SearchActivity from my custom Activity where i already have acces to the Organization Unit and the tr…

---

## [22 Sept - 16:00 - Android - Experts Lounge Q&A](https://community.dhis2.org/t/22-sept-16-00-android-experts-lounge-q-a/40482)

<div class="topic-metadata">

**Author:** [@Grant.ChapmanClarke](https://community.dhis2.org/u/Grant.ChapmanClarke)\
**Replies:** 31\
**Last updated:** [20 October 2020 02:24 UTC](https://community.dhis2.org/t/22-sept-16-00-android-experts-lounge-q-a/40482 "2020-10-20T02:24:13Z")

</div>

In this discussion thread, feel free to ask questions related to the Android - Experts Lounge session of the 2020 DHIS2 Digital Annual Conference. You can post your questions ahead of, during, or after the session. The p…

---

## [Plugin with id 'findbugs' not found](https://community.dhis2.org/t/plugin-with-id-findbugs-not-found/40952)

<div class="topic-metadata">

**Author:** [@moukaila](https://community.dhis2.org/u/moukaila)\
**Replies:** 3\
**Last updated:** [7 October 2020 09:17 UTC](https://community.dhis2.org/t/plugin-with-id-findbugs-not-found/40952 "2020-10-07T09:17:02Z")

</div>

Hi all. After cloning the dhis2-tracker-capture-app from the repository GitHub - dhis2/dhis2-android-capture-app: DHIS 2 data and tracker capture app for Android and its submodules using –recurse-submodules option i am g…

---

## [24 Sept - 15:00 - Building Custom Mobile Apps with the DHIS2 Android SDK Q&A](https://community.dhis2.org/t/24-sept-15-00-building-custom-mobile-apps-with-the-dhis2-android-sdk-q-a/40380)

<div class="topic-metadata">

**Author:** [@Grant.ChapmanClarke](https://community.dhis2.org/u/Grant.ChapmanClarke)\
**Replies:** 11\
**Last updated:** [2 October 2020 12:35 UTC](https://community.dhis2.org/t/24-sept-15-00-building-custom-mobile-apps-with-the-dhis2-android-sdk-q-a/40380 "2020-10-02T12:35:34Z")

</div>

In this discussion thread, feel free to ask questions related to the Building Custom Mobile Apps with the DHIS2 Android SDK session of the 2020 DHIS2 Digital Annual Conference. You can post your questions ahead of, durin…

---

## [Capture Android App for DHIS2 v2.2.2](https://community.dhis2.org/t/capture-android-app-for-dhis2-v2-2-2/40806)

<div class="topic-metadata">

**Author:** [@samuelkamwa](https://community.dhis2.org/u/samuelkamwa)\
**Replies:** 1\
**Last updated:** [25 September 2020 09:23 UTC](https://community.dhis2.org/t/capture-android-app-for-dhis2-v2-2-2/40806 "2020-09-25T09:23:37Z")

</div>

Hello everyone! I cannot use the DHIS v.2.2.2 android application on my server. After entering the username and password, it loops on the setup sync page. The server is running on 2.34.1 It’s urgent, please!

---

## [Sept 21 - 14:30 - Tracker & Android Software Updates Q&A](https://community.dhis2.org/t/sept-21-14-30-tracker-android-software-updates-q-a/40493)

<div class="topic-metadata">

**Author:** [@Grant.ChapmanClarke](https://community.dhis2.org/u/Grant.ChapmanClarke)\
**Replies:** 38\
**Last updated:** [22 September 2020 07:52 UTC](https://community.dhis2.org/t/sept-21-14-30-tracker-android-software-updates-q-a/40493 "2020-09-22T07:52:59Z")

</div>

In this discussion thread, feel free to ask questions related to the Tracker & Android Software Updates session of the 2020 DHIS2 Digital Annual Conference. You can post your questions ahead of, during, or after the sess…

---

## [Sept 21 - 15:15 - Tracker & Android Country Stories Q&A](https://community.dhis2.org/t/sept-21-15-15-tracker-android-country-stories-q-a/40492)

<div class="topic-metadata">

**Author:** [@Grant.ChapmanClarke](https://community.dhis2.org/u/Grant.ChapmanClarke)\
**Replies:** 14\
**Last updated:** [21 September 2020 19:18 UTC](https://community.dhis2.org/t/sept-21-15-15-tracker-android-country-stories-q-a/40492 "2020-09-21T19:18:06Z")

</div>

In this discussion thread, feel free to ask questions related to the Tracker & Android Country Stories session of the 2020 DHIS2 Digital Annual Conference. You can post your questions ahead of, during, or after the sessi…

---

## [Getting repeated program stages in the adapter](https://community.dhis2.org/t/getting-repeated-program-stages-in-the-adapter/40232)

<div class="topic-metadata">

**Author:** [@Monjur](https://community.dhis2.org/u/Monjur)\
**Replies:** 4\
**Last updated:** [6 September 2020 02:47 UTC](https://community.dhis2.org/t/getting-repeated-program-stages-in-the-adapter/40232 "2020-09-06T02:47:40Z")

</div>

Hi, I have tried to add program stages activity in the Android skeleton app, it was working well until I added a program stages in the server. When I updated metadata, I found three program stages are repeating all the t…

---

## [@Dhis2-devs android rule not working after installing updates](https://community.dhis2.org/t/dhis2-devs-android-rule-not-working-after-installing-updates/40087)

<div class="topic-metadata">

**Author:** [@abdimohammed](https://community.dhis2.org/u/abdimohammed)\
**Replies:** 1\
**Last updated:** [13 August 2020 07:19 UTC](https://community.dhis2.org/t/dhis2-devs-android-rule-not-working-after-installing-updates/40087 "2020-08-13T07:19:36Z")

</div>

@dhis2-android Some rules on android tracker capture are not working after recent updates

---

## [DHIS 2 API for pulling Data Element ID,Data Element Name and Data Element Value](https://community.dhis2.org/t/dhis-2-api-for-pulling-data-element-id-data-element-name-and-data-element-value/39601)

<div class="topic-metadata">

**Author:** [@mountain](https://community.dhis2.org/u/mountain)\
**Replies:** 6\
**Last updated:** [26 June 2020 08:36 UTC](https://community.dhis2.org/t/dhis-2-api-for-pulling-data-element-id-data-element-name-and-data-element-value/39601 "2020-06-26T08:36:48Z")

</div>

Hello, Am trying to build a mobile app and am stuck on what API I can use to bring Data Element ID,Data Element Name and Data Element Value in one array/json? Am currently using the following: For Data Element ID an…

---

## [Error in dhis2-android-skeleton-app fresh build](https://community.dhis2.org/t/error-in-dhis2-android-skeleton-app-fresh-build/39441)

<div class="topic-metadata">

**Author:** [@Keronei](https://community.dhis2.org/u/Keronei)\
**Replies:** 8\
**Last updated:** [15 June 2020 09:56 UTC](https://community.dhis2.org/t/error-in-dhis2-android-skeleton-app-fresh-build/39441 "2020-06-15T09:56:22Z")

</div>

I have cloned the sdk-skeleton app from GitHub. While building it, I get the following errors(many of them lint issues). You can set environment variable LINT\_PRINT\_STACKTRACE=true to dump a full stacktrace to stdout. …

---

## [Error building the app](https://community.dhis2.org/t/error-building-the-app/39052)

<div class="topic-metadata">

**Author:** [@marta](https://community.dhis2.org/u/marta)\
**Replies:** 1\
**Last updated:** [23 April 2020 14:37 UTC](https://community.dhis2.org/t/error-building-the-app/39052 "2020-04-23T14:37:00Z")

</div>

Dear @dhis2-android, I have received this question through email and want to post it here so that the answer can also be public When I open the app in android studio and then run it, a message shows that says ("BUILD F…

---

## [Would like to contribute to Android Capture development](https://community.dhis2.org/t/would-like-to-contribute-to-android-capture-development/38884)

<div class="topic-metadata">

**Author:** [@oslynn](https://community.dhis2.org/u/oslynn)\
**Replies:** 2\
**Last updated:** [7 April 2020 12:54 UTC](https://community.dhis2.org/t/would-like-to-contribute-to-android-capture-development/38884 "2020-04-07T12:54:41Z")

</div>

I am sorry to post here. I am new to DHIS2 community. I am an experienced programmer (JAVA or other). Is it possible that I can contribute my work to the Android team? How can I? Should I just look through the JIRA …

---

## [Dhis capture app build failed: error: resource drawable/ic\_clinical\_f\_outline (aka com.dhis2.alpha:drawable/ic\_clinical\_f\_outline) not found](https://community.dhis2.org/t/dhis-capture-app-build-failed-error-resource-drawable-ic-clinical-f-outline-aka-com-dhis2-alpha-drawable-ic-clinical-f-outline-not-found/38661)

<div class="topic-metadata">

**Author:** [@linxd](https://community.dhis2.org/u/linxd)\
**Replies:** 5\
**Last updated:** [23 March 2020 02:35 UTC](https://community.dhis2.org/t/dhis-capture-app-build-failed-error-resource-drawable-ic-clinical-f-outline-aka-com-dhis2-alpha-drawable-ic-clinical-f-outline-not-found/38661 "2020-03-23T02:35:58Z")

</div>

Task :app:processDhisAlphaResources FAILED FAILURE: Build failed with an exception. What went wrong: Execution failed for task ‘:app:processDhisAlphaResources’. A failure occurred while executing com.android.buil…

---

## [How to build capture app with local string?](https://community.dhis2.org/t/how-to-build-capture-app-with-local-string/38692)

<div class="topic-metadata">

**Author:** [@linxd](https://community.dhis2.org/u/linxd)\
**Replies:** 2\
**Last updated:** [23 March 2020 01:49 UTC](https://community.dhis2.org/t/how-to-build-capture-app-with-local-string/38692 "2020-03-23T01:49:49Z")

</div>

There is no local translating version for the release. how to build ?

---

## [Enable\\disable items in the formRecycler adapter based on event status](https://community.dhis2.org/t/enable-disable-items-in-the-formrecycler-adapter-based-on-event-status/38680)

<div class="topic-metadata">

**Author:** [@Monjur](https://community.dhis2.org/u/Monjur)\
**Replies:** 3\
**Last updated:** [18 March 2020 16:29 UTC](https://community.dhis2.org/t/enable-disable-items-in-the-formrecycler-adapter-based-on-event-status/38680 "2020-03-18T16:29:44Z")

</div>

Hi devs! I was trying enable\\disable items or controls of an event (in an event edit form) based on that event’s status (complete or not). The flow is, if an event is complete then the items will be disabled and an edit…

---

## [AAPT: error: resource string/content\_pro vider (aka com.dhis2:string/content\_provider) not found](https://community.dhis2.org/t/aapt-error-resource-string-content-pro-vider-aka-com-dhis2-string-content-provider-not-found/38665)

<div class="topic-metadata">

**Author:** [@linxd](https://community.dhis2.org/u/linxd)\
**Replies:** 1\
**Last updated:** [18 March 2020 09:35 UTC](https://community.dhis2.org/t/aapt-error-resource-string-content-pro-vider-aka-com-dhis2-string-content-provider-not-found/38665 "2020-03-18T09:35:11Z")

</div>

Task :dhis2-rule-engine:compileJava FAILED FAILURE: Build completed with 2 failures. 1: Task failed with an exception. What went wrong: Execution failed for task ‘:app:processDhisDebugResources’. A failure occurr…

---

## [Log In Problem on Android Apps](https://community.dhis2.org/t/log-in-problem-on-android-apps/38452)

<div class="topic-metadata">

**Author:** [@md-rahim](https://community.dhis2.org/u/md-rahim)\
**Replies:** 2\
**Last updated:** [27 February 2020 04:19 UTC](https://community.dhis2.org/t/log-in-problem-on-android-apps/38452 "2020-02-27T04:19:42Z")

</div>

Hello All, I am from Bangladesh. I can not log-in through android apps. My handset is Huawei and Poco Phone. Would you please suggest the solution? Thanks in advance.

---

## [User Names in a tracked entity attribute?](https://community.dhis2.org/t/user-names-in-a-tracked-entity-attribute/38252)

<div class="topic-metadata">

**Author:** [@Monjur](https://community.dhis2.org/u/Monjur)\
**Replies:** 8\
**Last updated:** [13 February 2020 10:04 UTC](https://community.dhis2.org/t/user-names-in-a-tracked-entity-attribute/38252 "2020-02-13T10:04:54Z")

</div>

Hi, How can I get User Names to show in a tracked entity attribute? I’ve explored Sdk.d2().UserModule but not found it.

---

## [Can't find TEI after opening in EnrollmentFormActivity Class - Android Skeleton App](https://community.dhis2.org/t/cant-find-tei-after-opening-in-enrollmentformactivity-class-android-skeleton-app/38248)

<div class="topic-metadata">

**Author:** [@Monjur](https://community.dhis2.org/u/Monjur)\
**Replies:** 6\
**Last updated:** [4 February 2020 13:42 UTC](https://community.dhis2.org/t/cant-find-tei-after-opening-in-enrollmentformactivity-class-android-skeleton-app/38248 "2020-02-04T13:42:50Z")

</div>

Hi, I’m practicing with Android-Skeleton-App. When I opened a TEI in EnrollmentFormActivity form and cancel it by pressing Back button, I can’t see the TEI in the list. I debugged the code and found that TEI are in the …

---

## [Program rules execution and effects in Android](https://community.dhis2.org/t/program-rules-execution-and-effects-in-android/38264)

<div class="topic-metadata">

**Author:** [@Monjur](https://community.dhis2.org/u/Monjur)\
**Replies:** 2\
**Last updated:** [4 February 2020 12:33 UTC](https://community.dhis2.org/t/program-rules-execution-and-effects-in-android/38264 "2020-02-04T12:33:18Z")

</div>

Hi, I’m using the Android Skeleton app. I’ve added some functionalities regarding program rules in the app. When I click a checkbox in an event form I got some extra checkboxes clicked automatically. I don’t know this h…

---

## [Get sorted TrackedEntityInstances](https://community.dhis2.org/t/get-sorted-trackedentityinstances/38193)

<div class="topic-metadata">

**Author:** [@Monjur](https://community.dhis2.org/u/Monjur)\
**Replies:** 4\
**Last updated:** [27 January 2020 17:36 UTC](https://community.dhis2.org/t/get-sorted-trackedentityinstances/38193 "2020-01-27T17:36:38Z")

</div>

How can I get sorted tracked entity instances by Sdk.d2().trackedEntityModule() .trackedEntityInstances().withTrackedEntityAttributeValues()?

[Previous page](https://community.dhis2.org/c/development/sdk-android-development/39.md)

[Next page](https://community.dhis2.org/c/development/sdk-android-development/39.md?page=2)
