Hi,
unfortunately this was not this problem. I create and insert the
DataSource/DataPoint with the following code: http://pastebin.com/WGFC2MsU
Can you take a look at it and compare it with your code so that you can
eventually identify the issue with my code?
Thanks in advance,
Christian
Am Donnerstag, 2. Juni 2016 08:59:54 UTC+2 schrieb sanjeet kumar Singh:
>
> Hi,
> Yes we found the cause for the above problem. There was one attribute
> missing when we were setting the nutrition values to DataPoint.
> So, in DataPoint you need to set the fields listed below (Meal type and
> Food item):
>
> dataPoint.getValue(Field.FIELD_FOOD_ITEM).setString("some string");
> dataPoint.getValue(Field.FIELD_MEAL_TYPE).setInt(Field.MEAL_TYPE_SNACK);
>
>
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/a60e0c16-be0d-4967-9e38-07513f9a50cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.