I would like to develop an application to transfer files between the android device and PC over wifi.
I have a webserver and a service set up and when a button is clicked the web server service is called and it serves a html page from the assets folder over http. This page could be accessed over wifi by typing the ip address of the phone:port number.
But to do something useful with the application,I have been looking for a way to call native android code from the javascript functions in the html page.
Most of the examples I have looked for involve calling android code from webview. I was wondering if there was a way to call it from javascript without web view/dummy web view.
Any pointers in the right direction would be greatly appreciated.
No, for obvious security and privacy reasons.