Device Web browser not recognising Android

Comalco

Member
Licensed User
Longtime User
I am using B4A to open a web browser on a embedded controller device using the code;

Dim p As PhoneIntents
StartActivity(p.openbrowser("http://192.168.1.200"))

The web browser works fine until I try and save a file from the embedded device to my "PC". When I click on "download" using IE on a PC, I get the usual "file save" dialog box, but using B4A I get nothing.............at all.
The web browser registers the button press when I click on "download", but nothing happens after that.

Is it because I am using the openbrowser in Phone, or ????

The purpose of the exercise is to save a small text (*.csv) file that is a summary of the embedded controller device's configuration, so I can use some of data in labels etc in my B4A app.............

I presume I can open a storage location in the tablet under B4A in a similar manner to using IE under Windows??

I should have added, the "download" button is embedded in the devices HTML web server - on one of the webserver's pages........
 

Comalco

Member
Licensed User
Longtime User
The problem is that when you click "download" on the devices webbrowser page, it takes all of its current parameters and makes a "config" file for download to you......
So I need to go through the websever "process" to get the file created ready for download........
You have me wondering though if there is another way around it........more investigation on my part required. Many thanks for the reply (as always)

One interesting thing I have noticed is that the webbrowser appears slightly differently on my tablet than on a Windows device.
The webbrowser pagefor config files appears a little differently, but I just assumed this was the difference between browsers (chrome, IE8, firefox etc can all process some of the webbrowser html code slightly differently at times - so I assume that to be the case here)
 
Last edited:
Upvote 0
Top