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 android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
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/f58cd1b1-7bc8-4d10-855c-3e5ca382cefe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to