N niqpw Member Licensed User Longtime User Jun 13, 2011 #1 Is there an equivalent to event logs in Android? As an example is it possible to: Record the date a button was clicked in my app Close the app, and come back three days later to retrieve the date stored in the previous step. Or could this only be achieved by opening a bespoke txt file and logging there? Any pointers would be great!
Is there an equivalent to event logs in Android? As an example is it possible to: Record the date a button was clicked in my app Close the app, and come back three days later to retrieve the date stored in the previous step. Or could this only be achieved by opening a bespoke txt file and logging there? Any pointers would be great!
Erel B4X founder Staff member Licensed User Longtime User Jun 13, 2011 #2 There is an internal log. Actually the Log keywords writes to this log. However its capacity is limited. You will need to write your logging to a text file. Upvote 0
There is an internal log. Actually the Log keywords writes to this log. However its capacity is limited. You will need to write your logging to a text file.
N niqpw Member Licensed User Longtime User Jun 13, 2011 #3 Thanks Erel for your speedy reply. Where would be the best default location to put this file? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 13, 2011 #4 Assuming that this is a pretty small file then you can put it in File.DirInternal. See the text files tutorial for more information: Basic4android Search: text files tutorial Upvote 0
Assuming that this is a pretty small file then you can put it in File.DirInternal. See the text files tutorial for more information: Basic4android Search: text files tutorial
N niqpw Member Licensed User Longtime User Jun 13, 2011 #5 Thanks again Erel, I'm enjoying the B4A experience! Upvote 0