Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Fit FileEncoder

Rank

Total Posts: 1

Joined 2012-03-19

PM

At present, I've got a simple example of sending the age, weight, height UserProfileMesg, then using the FileEncoder which writes the information to the file. When this is finished, the file is locked. The only input and output streams are those used in the FileEncoder class.

java.io.File f = new java.io.File(outFileName);

FileEncoder encode = new FileEncoder(f);
encode.write(upm);
encode.close(); 


Also is there a good example of encoding a file then sending it back to the device via the communicator plugin?