2013-05-16 Mark Holland <mark@mark-holland.me.uk>
* 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. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b6e90e5278
commit
b8fa2708f9
|
@ -1,3 +1,12 @@
|
|||
2013-05-16 Mark Holland <mark@mark-holland.me.uk>
|
||||
|
||||
* 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 <mark@mark-holland.me.uk>
|
||||
|
||||
* res/values: Added report inventory string to all languages.
|
||||
|
|
Binary file not shown.
|
@ -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"))
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue