1
0
Fork 0
This commit is contained in:
Carlos Mogas da Silva 2010-05-16 00:44:27 +01:00
parent f7d7c030b0
commit c9d4808be2
5 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/gen /gen
/bin

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -24,6 +24,7 @@ import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager; import android.net.wifi.WifiManager;
import android.os.IBinder; import android.os.IBinder;
import android.os.SystemClock; import android.os.SystemClock;
import android.util.Log;
public class DroidUptimeService extends Service { public class DroidUptimeService extends Service {
private Timer timer; private Timer timer;
@ -133,6 +134,15 @@ public class DroidUptimeService extends Service {
String distrib = "Android"; String distrib = "Android";
String distribContent = "SDK " + android.os.Build.VERSION.RELEASE; String distribContent = "SDK " + android.os.Build.VERSION.RELEASE;
distribContent = Base64.encodeToString(distribContent.getBytes(), false); distribContent = Base64.encodeToString(distribContent.getBytes(), false);
Log.d("DroidUptime", agent);
Log.d("DroidUptime", cnb);
Log.d("DroidUptime", mac);
Log.d("DroidUptime", machine);
Log.d("DroidUptime", os);
Log.d("DroidUptime", distrib);
Log.d("DroidUptime", distribContent);
Log.d("DroidUptime", cv.getUsername());
Log.d("DroidUptime", cv.getPassword());
try { try {
DefaultHttpClient httpclient = new DefaultHttpClient(); DefaultHttpClient httpclient = new DefaultHttpClient();