Hello all,
I came across this Log To Text File Class in this thread.
https://www.b4x.com/android/forum/threads/log-to-txt-file-class.76388/
I found it quite useful.
I wanted to introduce two additional methods to read the log file and to delete the log file.
Both the methods require the log file name which is internal to the Class.
(Actually, we specify the name of the log file, but internally, the name is appended with the current date. So, possibly, I can workaround that limitation of not having the internal file name).
How do I write a new class module which adds only the two additional methods, keeping the original class unmodified ?
I found this thread after searching the forum.
https://www.b4x.com/android/forum/threads/how-i-will-extend-a-b4j-or-b4a-class.48055/#content
which says,
That was way back in 2014. Is it not possible even in the current version?
Regards,
KPS
I came across this Log To Text File Class in this thread.
https://www.b4x.com/android/forum/threads/log-to-txt-file-class.76388/
I found it quite useful.
I wanted to introduce two additional methods to read the log file and to delete the log file.
Both the methods require the log file name which is internal to the Class.
(Actually, we specify the name of the log file, but internally, the name is appended with the current date. So, possibly, I can workaround that limitation of not having the internal file name).
How do I write a new class module which adds only the two additional methods, keeping the original class unmodified ?
I found this thread after searching the forum.
https://www.b4x.com/android/forum/threads/how-i-will-extend-a-b4j-or-b4a-class.48055/#content
which says,
It is not possible to extend a class as there is no support for inheritance.
That was way back in 2014. Is it not possible even in the current version?
Regards,
KPS