Expected duration: 1 day or less I've working on a project using microcontrollers (ESP32) running a web server, and I've hit a bump. It turns out that Android does not support mDNS, so I am having to try and create a app to display the HTML interface.
I've installed Android studio, and this might be programming language to far, trying follow Android studio beginner guides and I don't get it, I've worked out few bits but I just can't get it to work.
I'm look for someone to build a working version that I can just open and compile, so would required the full source code ready for the latest version of Arduino studio, from here I can make edits I need.
App Requiremnts
The Android device and microcontroller will be connected to the same router so they will both be on a local network (192.168.x.x).
The microcontrollers will broadcast a massage on given PORT, this message will be a JSON obj ie: {"My_API_IP":"192.168.0.10"}.
When the Android App runs it will display a message "finding API" or something, then start listening on the UDP port. If it receives the correct the JSON obj it send back a JSON obj to say "thanks", this will stop the ESP from broadcasting, it then will open up the URL IP Address in a WebView (the small bit I have worked out), which will display my HTML interface running on ESP.
It needs to continuously monitor the UDP port, all be slim, there is a chance the IP address of the ESP could change, if so it will re-broadcast a new IP. If there is a change then open up that new IP ( If ReceivedIP != CurrentIP update URL )
As I say in theory should be very simple, I just can't get my head round it
Advanced AR Headset Development Category: Android, Game Development, IPhone, Matlab And Mathematica, Mobile App Development Budget: ₹500000 - ₹1000000 INR