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:
@ -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";
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user