The developer forum is now view only. You are welcome to open new discussions in other forum websites (for example: Reddit) or contact us at dev@consumerphysics.com.
It seems to me that the sample code for “storeToDisk” method of “SampleFileUtils” which is located under Android API category of Online Guide is not for Android development: