Profile cover photo
Profile photo
Andrew Roberts
49 followers
49 followers
About
Andrew's posts

Post has attachment
At long last a usable battery life, well done Google the Android 6.0 updates turned the 7 hrs I was getting into a day and a half from a charge :)
Photo

Post has attachment
That's quick :)
Photo

Re the Fit App dying when you try to browse Activity / Weight history, via:  Settings -> Weight History, then scrolling one of the graphs.

 Had a look at the logs and there appears to be a consistent:

Google Fit app:  java.lang.IllegalStateException: Invalid end time: 1427670000000

For:

FitnessApp﹕ requesting weight from 16 Mar 2015 12:00:00 am to 30 Mar 2015 12:00:00 am
..
OR
...
requesting weight from 30 Mar 2015 12:00:00 am to 30 Mar 2015 12:00:00 am

Which as a valid timestamp, i'm guessing there's something else up.

A couple of examples.:

04-14 00:52:12.451    4363-4527/? E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #5
    Process: com.google.android.apps.fitness, PID: 4363
    java.lang.RuntimeException: An error occured while executing doInBackground()
            at android.os.AsyncTask$3.done(AsyncTask.java:304)
            at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
            at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
            at java.util.concurrent.FutureTask.run(FutureTask.java:242)
            at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
            at java.lang.Thread.run(Thread.java:818)
     Caused by: java.lang.IllegalStateException: Invalid end time: 1427670000000
            at b.a(PG)
            at afx.c(Unknown Source)
            at com.google.android.apps.fitness.dataviz.dataloaders.ActivityDataLoader.a(PG:42)
            at xk.doInBackground(PG:67)
            at android.os.AsyncTask$2.call(AsyncTask.java:292)
            at java.util.concurrent.FutureTask.run(FutureTask.java:237)
            at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
            at java.lang.Thread.run(Thread.java:818)
04-14 00:52:12.452    4363-4516/? I/FitnessApp﹕ requesting weight from 16 Mar 2015 12:00:00 am to 30 Mar 2015 12:00:00 am


and:


04-14 01:08:29.963   9668-17993/? I/FitnessApp﹕ requesting weight from 16 Mar 2015 12:00:00 am to 30 Mar 2015 12:00:00 am
04-14 01:08:29.963   9668-17990/? E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #2
    Process: com.google.android.apps.fitness, PID: 9668
    java.lang.RuntimeException: An error occured while executing doInBackground()
            at android.os.AsyncTask$3.done(AsyncTask.java:304)
            at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
            at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
            at java.util.concurrent.FutureTask.run(FutureTask.java:242)
            at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
            at java.lang.Thread.run(Thread.java:818)
     Caused by: java.lang.IllegalStateException: Invalid end time: 1427670000000
            at b.a(PG)
            at afx.c(Unknown Source)
            at com.google.android.apps.fitness.dataviz.dataloaders.ActivityDataLoader.a(PG:42)
            at xk.doInBackground(PG:67)
            at android.os.AsyncTask$2.call(AsyncTask.java:292)
            at java.util.concurrent.FutureTask.run(FutureTask.java:237)
            at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
            at java.lang.Thread.run(Thread.java:818)
04-14 01:08:29.986    1855-2136/? W/ActivityManager﹕ Force finishing activity 1 com.google.android.apps.fitness/.FitnessActivity
04-14 01:08:30.029    1855-4447/? I/OpenGLRenderer﹕ Initialized EGL, version 1.4
04-14 01:08:30.403   9668-17993/? I/FitnessApp﹕ requesting weight from 30 Mar 2015 12:00:00 am to 30 Mar 2015 12:00:00 am

Wondering if the GoogleApiClient.Builder(this) ... if (!authInProgress) example block, on the Getting Started page, should also capture ConnectionResult.SIGN_IN_REQUIRED results?

I ask as since moving to the latest version I've notice the occasional:
 
  google fit Connection failed. Cause: ConnectionResult{statusCode=SIGN_IN_REQUIRED,

error, so wondering rather than:

    mClient = new GoogleApiClient.Builder(this)
    
    ....
    
        if (!authInProgress) {
                if (result.getErrorCode() == FitnessStatusCodes.NEEDS_OAUTH_PERMISSIONS) {

the site should advice bodies to use:

    mClient = new GoogleApiClient.Builder(this)
    
    ....
    
        if (!authInProgress) {
                if (result.getErrorCode() == FitnessStatusCodes.NEEDS_OAUTH_PERMISSIONS
                       || result.getErrorCode() == ConnectionResult.SIGN_IN_REQUIRED
                 ) {

Post has attachment

Post has attachment
Might as well ask here: Has anyone gone through the Google-Play-Services API documentation and worked out what's changed syntactically between v6.5 and 7.0.0?

Looking for a crib sheet to save me having to compile my own eg.

See: http://stackoverflow.com/questions/29336756/google-play-service-v-6-5-to-v-7-0-0-differences

Patents - wondering if anyone operating in the USA, CAN, JPN, KOR,  SGP, AUS, CHN, ... or any other market where the implementation of an abstract concepts, process or mathematical formula in software is patentable, has performed a search / compiled a list of the patents that they suspect may cover use of the API in that market?

For a start, a few of the many thousand GRANT's:
- Automated processing of training data [US 8066514 B2]
- Body type determination apparatus [US 6539310 B]
- Apparatus for measurement of living body [US 8135457 B2]
- Apparatus for determining basal metabolism and body mass index, BMI [EP 1386581 B1]
- Apparatus for measuring the quantity of physical exercise 
[US 4525074 A]
- Weight loss management system [US 4951197 A]
- Personal physical fitness measuring apparatus [US 5615685 A]
- Method of determining an optimum workload corresponding to user's target heart rate and exercise device therefor [US 5853351 A]
- Walking/running heart rate monitoring system 
[US 6013009 A] 
- Method and apparatus for measuring exertion endurance 
[US 6277080 B1]
- Health management device [US 6095949 A] (calorie counter)
- Electronic calorie counter [US 4192000 A]
- Integrated weight loss control method [US 5839901 A]
- Caloric value calculation device [US 6482155 B2]
- Health management device [US 6095949 A]
- Diet and activity monitoring device [WO 2001052718 A2]
- Computer program, method, and system for monitoring nutrition content of consumables and for facilitating menu planning [US 6953342 B2]
- For shceduling/monitoring physical activities of an individual [US 5387164 A]
- Diet and activity-monitoring device [US 6513532 B2]
- Exercise workout support device [US 6241684 B1]
- Managing body composition [US 7788042 B2]

Post has attachment
Anyone fancy having a go at breaking a half complete toy: https://play.google.com/apps/testing/net.arcalot.biometrics

Why no  "Google Fit" category in the Play store?  Is someone missing a marketing trick by not having a specific category for Google Fit intergrated app's, or at least a bit of metadata / tag for an accurate search? Without trawling each app's Play Store listing, and more often than not downloading an App. there appears to be no way to identify whether an app is currently Google Fit enabled. 
Wait while more posts are being loaded