Crashes at startup because it cannot resolve some DNS entry:
I/ActivityManager( 345): Start proc Com.Gnomic.SquareOff for activity Com.Gnomic.SquareOff/squareoffgame.android.ActivitySplash: pid=2227 uid=10061 gids={3003, 1015, 1023, 1028} E/mono ( 2227): Unhandled Exception: E/mono ( 2227): System.Net.WebException: Error: NameResolutionFailure E/mono ( 2227): at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 E/mono ( 2227): at Mogade.Communicator.GetRequestStream[Object] (IAsyncResult result) [0x00000] in <filename unknown>:0 E/mono ( 2227): at System.Net.WebAsyncResult.CB (System.Object unused) [0x00000] in <filename unknown>:0 D/Zygote ( 110): Process 2227 exited cleanly (255)
If you define the DNS entry for api2.mogade.com and point it to an IP that has no HTTP server running it will still crash:
E/mono ( 2300): Unhandled Exception: E/mono ( 2300): System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused E/mono ( 2300): at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in <filename unknown>:0 E/mono ( 2300): at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x00000] in <filename unknown>:0 E/mono ( 2300): --- End of inner exception stack trace --- E/mono ( 2300): at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 E/mono ( 2300): at Mogade.Communicator.GetRequestStream[Object] (IAsyncResult result) [0x00000] in <filename unknown>:0 E/mono ( 2300): at System.Net.WebAsyncResult.CB (System.Object unused) [0x00000] in <filename unknown>:0 I/ActivityManager( 345): Process Com.Gnomic.SquareOff (pid 2300) has died.
If you point it to an IP with a HTTP server, it will work - and send statistics to it:
"POST /api/gamma/stats HTTP/1.1" 404 482 "-" "mogade-csharp2" "GET /api/gamma/assets?key=5145168151603336ee53f029 HTTP/1.1" 404 457 "-" "mogade-csharp2" "POST /api/gamma/errors HTTP/1.1" 404 482 "-" "mogade-csharp2" "POST /api/gamma/scores HTTP/1.1" 404 482 "-" "mogade-csharp2" "GET /api/gamma/scores/count?lid=51451c01563d8a14ec00000f&scope=3 HTTP/1.1" 404 457 "-" "mogade-csharp2"