Connection with PC.

109 views
Skip to first unread message

Nathan Aguiar Carvalho

unread,
Jan 3, 2016, 8:25:56 PM1/3/16
to DroidScript
Hi, I am Brazilian and my English is bad, sorry for my mistakes in this topic.
I want to know how to use the web server, because I like to do as DroidScript do with a PC, send a page to PC and send data to this page, and some of this data a user's choice of file.
If does not have the current version of DroidScript, could be a suggestion.
Thank you!

Steve Garman

unread,
Jan 4, 2016, 1:24:36 AM1/4/16
to DroidScript
DroidScript's WiFi editor uses the same web server that is in the "HTTP Server" sample that comes with DroidScript.

It is then just a question of building the HTML in the same way as you would for a website.

Dave Smart

unread,
Jan 4, 2016, 2:03:25 AM1/4/16
to DroidScript
Note: The HTML server sample is broken in the latest release, please check here for a fix:- 

 

Nathan Aguiar Carvalho

unread,
Jan 12, 2016, 11:31:42 PM1/12/16
to DroidScript
I would like to send the phone's file to the PC, the server would be on the phone and the computer will only open the selected file on the phone.

Chris Hopkin

unread,
Jan 13, 2016, 4:30:48 AM1/13/16
to DroidScript
Hi Nathan

Have you tried the 'HTTP Server' sample as Steve suggested?

It runs a server on the phone, which you can connect to from your PC. It allows you to browse a directory on your phone and open those files from the browser on your PC.

Please try using and adapting the sample for your needs and let us know if you have any problems.

Thanks

Chris
Reply all
Reply to author
Forward
0 new messages