Android Question Referencing Internal Libraries

rhanger

Member
Licensed User
Longtime User
I am trying to implement FTP in to an app. I downloaded the net library as instructed and put the files in the .zip where instructed. But FTP does not show up as a an object as the tutorial said it should. I am pretty sure this is simple, but what else do I have to do to reference to a file in the libraries folder


Dim ftp As FTP

It does not recognize FTP as a declarable object.

Thanks
 

rhanger

Member
Licensed User
Longtime User
Well I thought I had it working, but now although it lets me declare FTP. it errors when I run it. I commented out everthing but the declaration an still get the result below.
I would appreciate any ideas.

Thanks

Sub Process_Globals
Dim FTP As FTP
End Sub
Sub Globals

End Sub

Sub Activity_Create(FirstTime As Boolean)
' If FirstTime Then
' FTP.Initialize("FTP", "ftp.ebarcom.com", 21, "xxx", "xxxx")
' End If
End Sub


 
Upvote 0

rhanger

Member
Licensed User
Longtime User
Thanks Erel

I connected and ran it on an android phone with the same result. I uninstalled all instances of the program from the phone before starting.

Cleared the Logs and captured the below: It looked like it installed correctly but it would not run. Does FTP need any other libraries other than NET. I included my library settings below.

Any other ideas. I can host a teamviewer session for you if you think that will help

Ray



 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…