[android-developers] Android N Multi-locale feature

2016-09-27 Thread sanjeet kumar Singh
While developing an app, I tried use Android N multi-lingual support. As explained on developers site. It seems that it will automatically pick the resources using resource resolution mechanism. But it doesn't seem to be working or could it be that I am missing something? Here is the complete

[android-developers] Re: Google Fit Nutrition Card

2016-06-02 Thread 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");