Hello,
I'm having some difficulties with the Methods DateTime.Time and DateTime.Date.
In my App i'm getting Data from a Bluetooth Device via AsyncStreams in a service running in the background. Every time Data comes through the _NewData Event i log it in a Textfile with a Time Stamp. Recently i changed that and used the 2 mentioned Methods to format the Timestamp into readable State with the Result being that from time to time the received Data gets scrambled. This only happens sometimes when the Phone is under Stress anyways (for example when many applications are in use).
I would like to keep the formatted Datetime but am out of ideas to work around this issue.
Does anybody here have any ideas? Any help would be appreciated.
Thanks in Advance
I'm having some difficulties with the Methods DateTime.Time and DateTime.Date.
In my App i'm getting Data from a Bluetooth Device via AsyncStreams in a service running in the background. Every time Data comes through the _NewData Event i log it in a Textfile with a Time Stamp. Recently i changed that and used the 2 mentioned Methods to format the Timestamp into readable State with the Result being that from time to time the received Data gets scrambled. This only happens sometimes when the Phone is under Stress anyways (for example when many applications are in use).
I would like to keep the formatted Datetime but am out of ideas to work around this issue.
Does anybody here have any ideas? Any help would be appreciated.
Thanks in Advance