diff --git a/pandora_agents/android/ChangeLog b/pandora_agents/android/ChangeLog index f6b19bc2e0..b568a50870 100644 --- a/pandora_agents/android/ChangeLog +++ b/pandora_agents/android/ChangeLog @@ -1,3 +1,12 @@ +2013-05-16 Mark Holland + + * src/pandroid/agent/PandroidAgentListener.java: Fixed + values not showing up on status view when pandroid activity + killed. Corrected spelling mistake of receiveBytes. Removed + last_gps_contact module, wasn't implemented. + + * Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version. + 2013-05-16 Mark Holland * res/values: Added report inventory string to all languages. diff --git a/pandora_agents/android/Pandroid Agent v3.0_iso-8859-1.apk b/pandora_agents/android/Pandroid Agent v3.0_iso-8859-1.apk index 36e3d7b1a3..51b231d6c6 100644 Binary files a/pandora_agents/android/Pandroid Agent v3.0_iso-8859-1.apk and b/pandora_agents/android/Pandroid Agent v3.0_iso-8859-1.apk differ diff --git a/pandora_agents/android/src/pandroid/agent/PandroidAgentListener.java b/pandora_agents/android/src/pandroid/agent/PandroidAgentListener.java index 851d0d8ffa..1eeda49c08 100644 --- a/pandora_agents/android/src/pandroid/agent/PandroidAgentListener.java +++ b/pandora_agents/android/src/pandroid/agent/PandroidAgentListener.java @@ -183,6 +183,7 @@ public class PandroidAgentListener extends Service { @Override protected Void doInBackground(Void... params) { Core.loadConf(getApplicationContext()); + Core.loadLastValues(getApplicationContext()); return null; } @@ -466,7 +467,7 @@ public class PandroidAgentListener extends Service { buffer += buildmoduleXML("freeRamMemory", "The percentage of available ram.", "generic_data", formatPercent.format(freeMemory.doubleValue())); } - buffer += buildmoduleXML("last_gps_contact", "Datetime of the last geo-location contact", "generic_data", lastGpsContactDateTime); + //buffer += buildmoduleXML("last_gps_contact", "Datetime of the last geo-location contact", "generic_data", lastGpsContactDateTime); if (DeviceUpTimeReport.equals("enabled")) buffer += buildmoduleXML("upTime","Total device uptime in seconds.", "generic_data", upTime); @@ -485,7 +486,7 @@ public class PandroidAgentListener extends Service { if (SignalStrengthReport.equals("enabled")) buffer += buildmoduleXML("signalStrength","Signal strength (dB)", "generic_data_string", signalStrength); if (ReceivedSMSReport.equals("enabled")) - buffer += buildmoduleXML("SMSRecieved","Number of SMS received", "generic_data", SMSReceived); + buffer += buildmoduleXML("SMSReceived","Number of SMS received", "generic_data", SMSReceived); if (SentSMSReport.equals("enabled")) buffer += buildmoduleXML("SMSSent","Number of SMS sent", "generic_data", SMSSent); if (IncomingCallsReport.equals("enabled")) diff --git a/pandora_agents/android/src/pandroid/agent/Status.java b/pandora_agents/android/src/pandroid/agent/Status.java index f0c4d29c27..3a568023f2 100644 --- a/pandora_agents/android/src/pandroid/agent/Status.java +++ b/pandora_agents/android/src/pandroid/agent/Status.java @@ -14,8 +14,6 @@ package pandroid.agent; -import java.util.Date; - import android.app.Activity; import android.content.Intent; import android.graphics.Color; @@ -27,6 +25,8 @@ import android.view.MenuInflater; import android.view.MenuItem; import android.widget.TextView; +import java.util.Date; + public class Status extends Activity { Handler h = new Handler(); @@ -62,6 +62,8 @@ public class Status extends Activity { } + + public void onStart(){ super.onStart(); @@ -268,7 +270,7 @@ public class Status extends Activity { // phoneType textView = (TextView)findViewById(R.id.phone_type_value); textView.setText(""); - if(Core.phoneType != null) + if(Core.phoneType != null) textView.setText("" + Core.phoneType); // signalStrength