Connect to local ethernet server

Hello!

I have to create a mobile app displaying OSM with a primary demand: to connect to a local server that stores OSM tiles. Is there a way using OSMDroid lib to connect to that local(ethernet) server? Thanks!

Yes. https://github.com/SomeoneElseOSM/AJTS04/blob/master/app/src/main/java/com/ajtown/ajts04/MainActivity.java#L47 is a simple example that does that. Obviously you’ll want to substitute where your tiles are for "“https://map.atownsend.org.uk/hot/” in that example, and your local tiles need to be available on the Internet if you want other internet-connected servers to be able to get to them.