4
0
mirror of https://github.com/cwinfo/envayasms.git synced 2025-07-01 12:56:17 +00:00

remove test action to simplify server implementation; add icons from http://www.androidicons.com/freebies.php

This commit is contained in:
Jesse Young
2011-09-12 18:16:44 -07:00
parent 0a0f50ad18
commit da334a04c9
15 changed files with 9 additions and 15 deletions

View File

@ -29,7 +29,6 @@ public class App {
public static final String ACTION_OUTGOING = "outgoing";
public static final String ACTION_INCOMING = "incoming";
public static final String ACTION_SEND_STATUS = "send_status";
public static final String ACTION_TEST = "test";
public static final String STATUS_QUEUED = "queued";
public static final String STATUS_FAILED = "failed";

View File

@ -40,7 +40,9 @@ public class Main extends Activity {
@Override
protected void handleResponse(HttpResponse response) throws Exception
{
app.log("Server connection OK!");
parseResponseXML(response);
app.log("Server connection OK!");
}
}
@ -139,7 +141,7 @@ public class Main extends Activity {
case R.id.test:
app.log("Testing server connection...");
new TestTask().execute(
new BasicNameValuePair("action", App.ACTION_TEST)
new BasicNameValuePair("action", App.ACTION_OUTGOING)
);
return true;
default: