Working with UWP MapControl and offline GeoServer tiles - geoserver

I'm working with UWP MapControl and local networked GeoServer as my tile server.
When I'm connected to the internet everything works fine and the map shows my tiles.
When disconnecting the client from the internet the tiles are not visible.
Working with fiddler shows that applications sends request to ecn.dev.virtualearth.net.
When online, answer recieved and then sends requests to local GeoServer.
When not connected to web, no answer received and no request are then sent to GeoServer.
Is there a way to work disconnected from the internet? having an offline license?
Thanks
Dror

I would suggest using a CustomMapTileDataSource for your use case. You can control making the request for the tile directly from your code (to a local or remote endpoint) and supply the tile to the map control. https://learn.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Controls.Maps.CustomMapTileDataSource

Related

"an error occurred in the application server (Not found)" message in Android app

I've been handed a Genexus KB to make an SD app for it. But each time i want to try it i get a "an error occurred in the application server (Not found)" each time i've ran it in a real device (connected in the internal network thorugh) or in an Android Emulator (Andy).
I've setted the KB to point to a local DB stored in my computer and i've tried different ways to try it and it keeps with no luck.
What else should I do?
PS: when i run the web version of it, there's no problem.
Altight people, first of all thanks for the help you gave me!
Secondly #fpanizza that link you gave me was very useful, I could use CatLog with android emulator Andy (after installing Andy Rootkit) and I found out that my app wasn't reaching REST services in the server which leads me to #Franklin, who was right to let me know that it had to do with REST services and I've found out later that i didn't had installed HTTP Activation at one of the WCF Services at the .Net Framework 4.5 Advanced Services, which allowed to reach REST services, and now it worked.
You can try setting the server URL with the IP of your server.
Is probable that the local host is trying to access itself, the android device.
Service URL property: http://wiki.genexus.com/commwiki/servlet/hwikibypageid?21146
Update
I would do what fpanizza suggests on the comment.
Another troubleshooting idea that may bring some light into problem would be to try to access the rest services from a web navigator on the emulator. The idea would be to validate that the emulator/device can "see" the server. Testing outside the app will help understand if the problem is in the app or the server or the connection device - server.
Thank you #Juan.
For better understanding here I enclose the image.
Control Panel > All Control Panel Items > Programs and Features > Turn Windows features on or off

Invoke CNA on iOS8 device

I am working on a network controller based on Raspberry Pi 2. I have nicely working WiFi AP, DHCP server, captive portal (via DNSmasq) and a web server. The unit is fully offline, no internet access is available.
My only problem now is that users need to initiate interaction by running their browser and typing in a random domain so they are served my content.
I was searching the internet for a way to make my iPhone initiate captive network assistant, but couldn't find a way to do so on iOS 8.
Given that my network is offline with no access to the internet it is clear to me that my iPhone detected a captive portal as it presumably pings many websites in order to determine it's online status. Why doesn't it display my login screen automatically?

Chromecast for digital signage

I was hoping that someone with chromecast experience could help me with the following.
I want to make a simple digital signage application using chromecast. My plan is to set up a bunch of monitors with chromecast attached. Each monitor would point to a particular URL on the local network -- not a public facing web site. Each one would refresh its view every few minutes, completely replacing its content with the information on the web server.
I'd like to do this without mirroring, so that the chromecast itself would keep reloading the page without another device helping it along.
Can someone point me in the right direction?
Maybe start with the Chromecast developer guide: https://developers.google.com/cast/
From here you could choose to use the API here: https://developers.google.com/cast/docs/downloads
When you're ready to release it you probably need to register an API key with them for your sign app here: https://developers.google.com/cast/docs/registration
Good luck with your app.
From the sounds of it, Greenscreen.io would be perfect for this application. Especially when you're running a local server.
I want to do a similar digital signage app, but ended up needing to go for Raspberry Pi's with wifi that connect to a public webpage. I'd have preferred to use Chromecast for it though!

How does geolocation work on a windows PC on wired broadband connection?

I'm trying to develop a web app which uses geolocation, and to begin with it worked fine on my Windows 7 PC at home, both in Chrome and Firefox.
It still works fine on mobile browsers, but has stopped working on both browsers on my PC, which made me wonder how it actually works on my PC - is it querying a geographical database of IP addresses that could now be blocking me due to overuse?
Is there any way to change the settings? The "Location and Other Sensors" control panel tells me there are no sensors installed, and nothing shows up in the event log for "Location Activity".
Firefox gathers information about nearby wireless access points and
your computer’s IP address. Then Firefox sends this information to the
default geolocation service provider, Google Location Services, to get
an estimate of your location. That location estimate is then shared
with the requesting website.
From: https://www.mozilla.org/en-US/firefox/geolocation/
This is also how Chrome determines location (Sending IP and nearby Wi-Fi info to Google Location Services). It seems likely that Windows 7 does about the same thing, though I couldn't find specific details other than it uses postal code if available.

Why can't I connect to a site on my local network with WP7 via Wifi?

I am working on a WP7 application that retrieves data from a web service. The web service was written by a co-worker and is hosted on a server connected to the office network. The app works just fine in the emulator. However, when I run the app on the actual phone (HTC Surround) it can't connect to the web service. If I try to open a website hosted on the same server that doesn't work either. However I can connect to other websites just fine.
One thing to note is - I don't have a SIM card in the phone, so the only available data connection is via WiFi, which connects to the office network (the same network that the service is hosted on).
I'm able to hit this website just fine from my laptop (on the wired office network), via an Android phone using WiFi, and via an Android phone using 4G.
What could be going on here? Alternatively - how can I debug this issue?
Thanks
I'd start debugging it by using Connectify.me (or something similar) to re-broadcast the wifi network you're having problems with, start Fiddler up and analyze what happens when the device's browser connects to some external site vs the site hosted on your network.

Resources