android - Why is everything related to nutrition obfuscated in google fit? -


i'm using android studio , have google play services rev.25 installed. playing around fitness api. documentation claims there should datatype.type_nutrition see instead following

    zzyw = new datatype("com.google.nutrition.meal", new field[]{field.zzzi, field.field_calories, field.zzzj, field.zzzk, field.zzzl, field.zzzm, field.zzzn, field.zzzo, field.zzzp, field.zzzq, field.zzzr, field.zzzs, field.zzzt, field.zzzu, field.zzzv, field.zzzw, field.zzzx, field.zzzy}); 

the nutrition stuff in both datatype , field seems obfuscated reason. puzzles me when use obfuscated values , deploy app phone works... assumed there wrong copy of sdk phone seems have api obfuscated well...

also strange type should com.google.nutrition there no such thing in (decompiled) datatype. i'm pretty sure i'm doing wrong no clue is...

ok.. funny... had post question here realize problem was... maybe someone...

the problem declared requirement play services 7.0.0 nutrition not available. changing gradle build dependencies following resolved "problem"

compile 'com.google.android.gms:play-services:7.5.0' 

Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -