|
|
@ -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(); |
|
|
|