Tool Working with the HTTP Server

In order for those not so fluid in HTML, CSS and JavaScript to enjoy Erel's magnificent HTTPServer library,
here is a further developed example. The major additions being:

1. HTML5 coded templates
2. Embeds Base64 encoded icons in CSS
3. Prompts a confirmation before deleting a file
4. Deletes empty directories
5. Makes directories
6. Checks whether a file to upload was selected.
7. Adds further 'ContentTypes'
8. User can change ports
9. Enabling/disabling buttons as appropriate
10. Wait for connection when started offline

Access to 'Local Network' is not realized as yet. This would require the smb:// protocol.
Note that you cannot manipulate files in external cards with Android 4.4x devices.

This is certainly not a complete application and leaves much room for enhancement.
Anyway, have fun!

Be sure to download the HTTP Server library:
https://www.b4x.com/android/forum/t...er-in-your-android-application.25984/#content
 

Attachments

  • WiFi_FileExplorer.zip
    238 KB · Views: 313
  • wifiex1.png
    wifiex1.png
    29.4 KB · Views: 244
  • wifiex2.png
    wifiex2.png
    24.1 KB · Views: 227
  • wifiex3.png
    wifiex3.png
    10.9 KB · Views: 227

IslamQabel

Active Member
Licensed User
Longtime User
I already do something like this and make buttons for remote control....using /get method.... but the problem with me now that when pressing on a button, a new page is loaded ....all i want is pressing on a button do the effect(this is happened) but without going to a new page or open a new page....
I will check your example....may be answer my questions.....thanks for your effort
 
Top