Get images from FTP server to display on the web using Flickr program

Asmoro

Active Member
Licensed User
Longtime User
Hi All,

I'm searching for another option to display images getting from
my FTP server onto a website(using Flickr demo app) for my app.

At first I've tried the FTP library to do this by downloading the
images to my android and then displaying on a scrollview.

But in the end, the lack of speed getting the images quickly and
the difficulties to achieve this, makes me start searching for
another solution.

This time I'm using the Flickr viewer program to get the result.

As naïve I could be I just changed the "main url" only like:

B4X:
Sub Process_Globals
   Dim MainUrl As String
   MainUrl = "http://testtest.bugs3.com/test/"
End Sub
Off course it didn't work so well.

On the web I see the list directory but no images to the Flickr app.
And the log it says:

LogCat connected to: B4A-Bridge: Sony Ericsson X10
Streams_Error: java.net.SocketException: Connection timed out
Connected to B4A-Bridge
Connected to B4A-Bridge
Installing file.
PackageAdded: package:anywheresoftware.b4a.samples.flickr
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Starting Job: Main page
** Service (httputilsservice) Create **
** Service (httputilsservice) Start **
done parsing main page: 4
Starting Job: Images
** Service (httputilsservice) Start **
** Activity (main) Pause, UserClosed = false **

No specific error(s) have been shown to understand the problems.

What's happening here.:sign0163:

note: the Flickr demo works great so issue to none.
 
Last edited:
Top