B4X FEED Writing to a simple text file

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Writing to a simple text file است. این موضوع تا کنون 26 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Writing to a simple text file
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
26
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I am writing a data logger that appends a CSV string to a file every second. I must be able to open the file with Excel either on my cell phone or by sending it to my PC. Note that my phone is a Samsung S21 that does not support an SD card.

I have spent the last two days reading every forum and tutorial without gaining a single clue as to how to do this. I see criticism of using TextWriter but there is a comment by Erel saying that it is justified when appending lines to files. The TextEditor example works well but is far beyond my comprehension to extract the portion of the code that does what I want.

Here is what the data looks like:
2022-09-29 19-19-27,38.83687973022461,-77.47976684570312,39,0.20999999344348907,18.317604064941406,149.45,24.64,-0.17,2,-0.00,-0.06,24.66,0.400

Here is a snippet to save the data. This runs but I can't see the saved file. This comes from

Sub getBTfullData
Private...



 

عقب
بالا