any ideas why i getting "undeclared variable 'activity' is used before it was assigned any value"
B4X:
Sub Process_Globals
Dim soso As FTP_Auto
End Sub
Sub Service_Create
End Sub
Sub Service_Start (StartingIntent As Intent)
soso.Initialize(activity,Me,"ftp.DOMAIIN.com","USER","PASS",21,False,False)
soso.UpLoadFile(File.DirRootExternal,"/htdocs","test.txt")
soso.CloseNow
End Sub
Sub Service_Destroy
End Sub
Last edited: