]> iEval git - fonbot.git/commit
Upgrade to the latest server protocol.
authorMarius Gavrilescu <marius@ieval.ro>
Mon, 11 Mar 2013 15:27:54 +0000 (17:27 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Mon, 11 Mar 2013 15:27:54 +0000 (17:27 +0200)
commitd13f1533daefa5353d59d79f804931777a3aace6
tree2b42f969ebaa91f3c4971e4c320dc1fcf3d14eae
parenta97d31fb5c1bc1725079b5329168b22db3cf9cf3
Upgrade to the latest server protocol.

Server protocol changes:
* All server requests use Basic access authentication
* There is no more X-Action. Server paths are used instead:
- /send for sending messages, with the destination address
in the X-Destination header.
- /ok for doing nothing. Used for the main activity login status.

Other minor changes:
* Centered the resultTextView in main.xml.
* Utils#parseHttpMessage can parse messages like "(text)".
res/layout/main.xml
res/values/strings.xml
src/ro/ieval/fonbot/FonBotMainActivity.java
src/ro/ieval/fonbot/PollServerAsyncTask.java
src/ro/ieval/fonbot/RemoteCrashdumpHandler.java
src/ro/ieval/fonbot/SendHttpMessageAsyncTask.java
src/ro/ieval/fonbot/Utils.java
This page took 0.020725 seconds and 4 git commands to generate.