As it is possible in B4PPC would it be possible to add a text (code) file to an B4A Activity?
When sub routines are used across an application they need to be pasted into each Activity which is error-prone once sub routines are modified.
If text files could be added (included) then you need to write your sub routines only once and save them to a text file, which is then loaded by an Activity but stays invisible.