diff --git a/res/drawable-hdpi/ic_menu_link.png b/res/drawable-hdpi/ic_menu_link.png
new file mode 100755
index 0000000..e306517
Binary files /dev/null and b/res/drawable-hdpi/ic_menu_link.png differ
diff --git a/res/drawable-hdpi/ic_menu_settings.png b/res/drawable-hdpi/ic_menu_settings.png
new file mode 100755
index 0000000..4437158
Binary files /dev/null and b/res/drawable-hdpi/ic_menu_settings.png differ
diff --git a/res/drawable-hdpi/ic_menu_tick.png b/res/drawable-hdpi/ic_menu_tick.png
new file mode 100755
index 0000000..9691a11
Binary files /dev/null and b/res/drawable-hdpi/ic_menu_tick.png differ
diff --git a/res/drawable-ldpi/ic_menu_link.png b/res/drawable-ldpi/ic_menu_link.png
new file mode 100755
index 0000000..44c54f8
Binary files /dev/null and b/res/drawable-ldpi/ic_menu_link.png differ
diff --git a/res/drawable-ldpi/ic_menu_settings.png b/res/drawable-ldpi/ic_menu_settings.png
new file mode 100755
index 0000000..3ccd262
Binary files /dev/null and b/res/drawable-ldpi/ic_menu_settings.png differ
diff --git a/res/drawable-ldpi/ic_menu_tick.png b/res/drawable-ldpi/ic_menu_tick.png
new file mode 100755
index 0000000..cdafad6
Binary files /dev/null and b/res/drawable-ldpi/ic_menu_tick.png differ
diff --git a/res/drawable-mdpi/ic_menu_link.png b/res/drawable-mdpi/ic_menu_link.png
new file mode 100755
index 0000000..f4a120e
Binary files /dev/null and b/res/drawable-mdpi/ic_menu_link.png differ
diff --git a/res/drawable-mdpi/ic_menu_settings.png b/res/drawable-mdpi/ic_menu_settings.png
new file mode 100755
index 0000000..c2cc333
Binary files /dev/null and b/res/drawable-mdpi/ic_menu_settings.png differ
diff --git a/res/drawable-mdpi/ic_menu_tick.png b/res/drawable-mdpi/ic_menu_tick.png
new file mode 100755
index 0000000..8b41c01
Binary files /dev/null and b/res/drawable-mdpi/ic_menu_tick.png differ
diff --git a/res/menu/mainmenu.xml b/res/menu/mainmenu.xml
index cc7148d..13b4fdc 100755
--- a/res/menu/mainmenu.xml
+++ b/res/menu/mainmenu.xml
@@ -1,12 +1,12 @@
\ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 8dc1820..5a5657d 100755
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -2,6 +2,6 @@
KalSMS 2
Settings
- Test
- Check Now
+ Test Connection
+ Check Messages
diff --git a/server/php/KalSMS.php b/server/php/KalSMS.php
index bc11040..9e4ecee 100755
--- a/server/php/KalSMS.php
+++ b/server/php/KalSMS.php
@@ -11,7 +11,6 @@ class KalSMS
const ACTION_INCOMING = 'incoming';
const ACTION_OUTGOING = 'outgoing';
const ACTION_SEND_STATUS = 'send_status';
- const ACTION_TEST = 'test';
const STATUS_QUEUED = 'queued';
const STATUS_FAILED = 'failed';
@@ -50,8 +49,6 @@ class KalSMS
return new KalSMS_Action_Outgoing($this);
case static::ACTION_SEND_STATUS:
return new KalSMS_Action_SendStatus($this);
- case static::ACTION_TEST:
- return new KalSMS_Action_Test($this);
default:
return new KalSMS_Action($this);
}
diff --git a/server/php/example/www/index.php b/server/php/example/www/index.php
index 3f5a1b4..223649e 100755
--- a/server/php/example/www/index.php
+++ b/server/php/example/www/index.php
@@ -80,10 +80,6 @@ switch ($action->type)
}
return;
- case KalSMS::ACTION_TEST:
- echo "OK";
- return;
-
default:
header("HTTP/1.1 404 Not Found");
echo "Invalid action";
diff --git a/src/org/envaya/kalsms/App.java b/src/org/envaya/kalsms/App.java
index 3388ee5..e7b6edb 100755
--- a/src/org/envaya/kalsms/App.java
+++ b/src/org/envaya/kalsms/App.java
@@ -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";
diff --git a/src/org/envaya/kalsms/Main.java b/src/org/envaya/kalsms/Main.java
index 686a7e5..9f00c0e 100755
--- a/src/org/envaya/kalsms/Main.java
+++ b/src/org/envaya/kalsms/Main.java
@@ -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: