← Back to team overview

dhis2-devs team mailing list archive

Re: Android Event Capture app doesn't allow decimal values

 

Thanks Simen!

The same error is happening on the Tracker Capture Android App. I have just
checked it with the last build of the Android App (.apk from github) for
DHIS2 2.20 version.

Regards!


*Sergio Valenzuela*
Fundación EHAS
Telemedicina para países en desarrollo -* www.ehas.org
<http://www.ehas.org/>*
E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
Madrid - España
Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62



2016-01-15 15:06 GMT+01:00 Simen Skogly Russnes <simen.s.russnes@xxxxxxxxx>:

> Adding link to launchpad issue
> https://bugs.launchpad.net/dhis2/+bug/1523838
>
> On Wed, Jan 13, 2016 at 10:29 AM, Sergio Valenzuela <
> sergio.valenzuela@xxxxxxxx> wrote:
>
>> Hi all,
>>
>> The value type is set to number. Double-checked ^^
>>
>> Hope you find out what is happening.
>>
>> I'll follow your next answers.
>>
>> Thanks!
>>
>>
>> *Sergio Valenzuela*
>> Fundación EHAS
>> Telemedicina para países en desarrollo -* www.ehas.org
>> <http://www.ehas.org/>*
>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>> Madrid - España
>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>
>>
>>
>> 2016-01-13 9:55 GMT+01:00 Simen Skogly Russnes <simen.s.russnes@xxxxxxxxx
>> >:
>>
>>> I have verified that this is an issue, but the issue was also present on
>>> the web Event Capture so I thought maybe there was an issue with the API.
>>> I'll verify asap if the issue is on Android.
>>>
>>> On Tue, Jan 12, 2016 at 6:42 PM, Lars Helge Øverland <
>>> larshelge@xxxxxxxxx> wrote:
>>>
>>>> Hi Sergio,
>>>>
>>>> just to make sure - did you set the value type of the data element to
>>>> "number" or "integer" ?
>>>>
>>>> regards,
>>>>
>>>> Lars
>>>>
>>>>
>>>> On Tue, Jan 12, 2016 at 11:59 AM, Sergio Valenzuela <
>>>> sergio.valenzuela@xxxxxxxx> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> The decimal values issue is still on. I checked the Android Event
>>>>> Capture and Tracker Capture apps (on their last release for 2.20 DHIS2
>>>>> version) and I couldn't indroduce any decimal value on any form field even
>>>>> if the number type of the data elements associated are "Number". The
>>>>> numeric pad which appears when you are going to introduce numeric values on
>>>>> numeric fields doesn't have a decimal comma key.
>>>>> Do you have any news about this? Am I defining the data element in a
>>>>> bad way?
>>>>>
>>>>> Best regards!
>>>>>
>>>>>
>>>>> *Sergio Valenzuela*
>>>>> Fundación EHAS
>>>>> Telemedicina para países en desarrollo -* www.ehas.org
>>>>> <http://www.ehas.org/>*
>>>>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>>>>> Madrid - España
>>>>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>>>>
>>>>>
>>>>>
>>>>> 2015-11-13 14:45 GMT+01:00 Sergio Valenzuela <
>>>>> sergio.valenzuela@xxxxxxxx>:
>>>>>
>>>>>> Thanks for your answer Simen.
>>>>>>
>>>>>> I'll follow the result of your investigation, so just let me know if
>>>>>> you can finally solve it from the API.
>>>>>>
>>>>>> Best regards.
>>>>>>
>>>>>>
>>>>>> *Sergio Valenzuela*
>>>>>> Fundación EHAS
>>>>>> Telemedicina para países en desarrollo -* www.ehas.org
>>>>>> <http://www.ehas.org/>*
>>>>>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30,
>>>>>> 28040 Madrid - España
>>>>>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2015-11-13 14:37 GMT+01:00 Simen Skogly Russnes <
>>>>>> simen.s.russnes@xxxxxxxxx>:
>>>>>>
>>>>>>> Hi Sergio,
>>>>>>>
>>>>>>> yes I've checked this now and it seems the decimal is lost once the
>>>>>>> app communicates with the server. From what I see it seems it might be an
>>>>>>> issue in the API so we might be able to solve this without upgrading the
>>>>>>> Android apps, but only the servers.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Simen
>>>>>>>
>>>>>>> On Fri, Nov 13, 2015 at 7:26 AM, Sergio Valenzuela <
>>>>>>> sergio.valenzuela@xxxxxxxx> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I am testing the last apk release of the Android Event Capture app
>>>>>>>> for DHIS2 version 2.20 and I realized is not possible to introduce decimal
>>>>>>>> values (like 12.5 or 3.3) on number type data element fields. The same
>>>>>>>> fields allow me to introduce decimal values through the web application, so
>>>>>>>> I guess is an Android app problem.
>>>>>>>>
>>>>>>>> Is there any solution for this?
>>>>>>>>
>>>>>>>> Thanks in advance.
>>>>>>>>
>>>>>>>>
>>>>>>>> *Sergio Valenzuela*
>>>>>>>> Fundación EHAS
>>>>>>>> Telemedicina para países en desarrollo -* www.ehas.org
>>>>>>>> <http://www.ehas.org/>*
>>>>>>>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30,
>>>>>>>> 28040 Madrid - España
>>>>>>>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lars Helge Øverland
>>>> Lead developer, DHIS 2
>>>> University of Oslo
>>>> Skype: larshelgeoverland
>>>> http://www.dhis2.org <https://www.dhis2.org>
>>>>
>>>>
>>>
>>
>

References