05-14-2021 10:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-14-2021 10:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I created a new project using File-Transfer template. It runs successfully. Simulator show the data on device. But where is the file. If there is no file created then how do I create a TXT file in External Storage of Phone of simulator? Can I have a simulated Versa with physical phone device?

05-14-2021 13:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


05-14-2021 13:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
On the phone, the file isn't accessible. You get the file's contents as data in the companion. Getting the data off the companion is difficult; fetch is your best bet.
Gondwana Software

05-14-2021 15:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-14-2021 15:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Forgive me...I am new to Fit Bit but use Visual Studio 2019. What do you mean Companion? My impression is that once I get a Versa3, I pair it with my Android Phone which will get the data stored somewhere. Where and how do I see that data? Is there a path to that file in External Storage of the phone?
Additionally I can download projects from GIT into Visual Studio 2019 or Fit Bit Studio but it does not execute. How can I do that?
Thank you!
05-14-2021 15:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


05-14-2021 15:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Visual Studio doesn't support Fitbit apps. You have to use Fitbit Studio or Fitbit CLI.
Gondwana Software

05-14-2021 15:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-14-2021 15:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks for clarifying about Visual Studio...Do you know how to answer the rest of my questions?
Thank You!

05-14-2021 15:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


05-14-2021 15:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Not really; I don't quite understand them. If you want your data in a file, you'll have to write some tricky code to do it, unless you make do with what Fitbit provides from within the Fitbit app.
If you want synced data, investigate the Web API. If you want real-time data (or details such as accelerometer), investigate the Device and Companion APIs.
Gondwana Software

05-14-2021 15:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-14-2021 15:52
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Well that is done in FitBit Studio. There is a file transfer sample that is in 5.0 Versa3. It sends data but where is it?

05-14-2021 16:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


05-14-2021 16:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
When a file is sent from companion (phone) to watch, it's stored in a file on the watch's file system, and is accessible via the FS API.
When a file is sent from watch to companion, it's not stored anywhere accessible. You get the contents of the file as data in your app code. See here.
Gondwana Software

05-14-2021 16:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-14-2021 16:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am with you so far. I wonder if you can go to Studio and create a file transfer App. when you run it on OS simulator it display a string on Versa3 simulator and I believe it is sending it to companion as well???? where is it on companion. Right now everything is simulator but if I get actual device where is the data on phone.
Also GIT samples are not compatible for 5.0?????

05-14-2021 16:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


05-14-2021 16:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The file isn't anywhere accessible on the companion (phone). If you want to get the data out of the companion, you have to use fetch() or WebSockets.
Some of the git samples probably haven't been updated to SDK5. There were breaking changes between SDK4 and SDK5. There's probably sufficient info to enable you to do it here.
Gondwana Software

05-14-2021 16:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-14-2021 16:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
if they are creating a new SDK that is different then previous then it behooves them to go to Android Wear OS that way they support multiple development platform such as Visual Studio. I am confused!!!!!
They expect me to help bridge a gap at an advance level between 4 and 5 when I don't even know how to put on my diapers or even do baby talk such as I am struggling here!

05-14-2021 17:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-14-2021 17:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Is it possible that you can please Post a GIT type project here for 5.0 where we see the acceleration data from the Data-Transfer Sample on the Android Phone.
I feel that once I can see a skeletal structure then I can adapt it.
Thank you!

