Android Question Service question

Patrick Clark

Active Member
Licensed User
Why does this work (Public Sub GetFileVersion in Starter Service)
B4X:
    Wait for (Starter.GetFileVersion("PC.config")) Complete (fv As Long)

but if the Public Sub is in a Service module called vptftp this
B4X:
    Wait for (vptftp.GetFileVersion("PC.config")) Complete (fv As Long)
Results in "unknown member getfileversion"
 

josejad

Expert
Licensed User
Longtime User
Hum... Not completely sure, but maybe due

Starter service subs can be accessed directly without using CallSub.
since B4A 9.80.
 
Upvote 0
Top