Device logs to file

Shay

Well-Known Member
Licensed User
Longtime User
Hi

Is there a way to write logs (as we are getting in the B4A logs tab) into file

the goal, is where there is a crash, I wish to write it to file, and then user will send it to me

Thanks
Shay
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
There is a method in the Phone to read the logs. However I don't recommend you to implement such a system. It is more complicated than it may seem.

Also, how will you send the logs once your application crashes?

Applications uploaded to the market include this feature automatically. When there is a crash, the user is asked whether they want to send a crash report.
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
so how does waze, implemented their mechanism
when there is a problem, I am getting - "please help us to improve our app, by sending the log" and I have "yes"/"no" to send the file or such
 
Upvote 0
Top