2012-09-12 Sergio Martin <sergio.martin@artica.es>
* src/pandroid/agent/PandroidAgent.java src/pandroid/agent/PandroidAgentTentacle.java src/pandroid/agent/Status.java src/pandroid/agent/PandroidAgentListener.java res/drawable-xhdpi/ic_launcher.png res/drawable-xhdpi/logo.png res/drawable-xhdpi/pandroid_large.png res/drawable-hdpi/ic_launcher.png res/drawable-ldpi/ic_launcher.png res/drawable-ldpi/logo.png res/drawable-ldpi/pandroid_large.png res/drawable-mdpi/ic_launcher.png: Fixed some warnings of not used variables and includes. Added new designs git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
|
@ -1,3 +1,20 @@
|
|||
2012-09-12 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* src/pandroid/agent/PandroidAgent.java
|
||||
src/pandroid/agent/PandroidAgentTentacle.java
|
||||
src/pandroid/agent/Status.java
|
||||
src/pandroid/agent/PandroidAgentListener.java
|
||||
res/drawable-xhdpi/ic_launcher.png
|
||||
res/drawable-xhdpi/logo.png
|
||||
res/drawable-xhdpi/pandroid_large.png
|
||||
res/drawable-hdpi/ic_launcher.png
|
||||
res/drawable-ldpi/ic_launcher.png
|
||||
res/drawable-ldpi/logo.png
|
||||
res/drawable-ldpi/pandroid_large.png
|
||||
res/drawable-mdpi/ic_launcher.png: Fixed some
|
||||
warnings of not used variables and includes.
|
||||
Added new designs
|
||||
|
||||
2012-08-25 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* res/values-ja/strings.xml: Fixed wrong Japanese translations.
|
||||
|
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 16 KiB |
|
@ -16,15 +16,15 @@ package pandroid.agent;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
import android.app.Dialog;
|
||||
//import android.app.Dialog;
|
||||
import android.app.TabActivity;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.telephony.TelephonyManager;
|
||||
import android.util.Log;
|
||||
import android.view.WindowManager.LayoutParams;
|
||||
//import android.util.Log;
|
||||
//import android.view.WindowManager.LayoutParams;
|
||||
import android.widget.TabHost;
|
||||
|
||||
public class PandroidAgent extends TabActivity {
|
||||
|
|
|
@ -359,7 +359,6 @@ public class PandroidAgentListener extends Service {
|
|||
private void writeFile(String fileName, String textToWrite) {
|
||||
try { // catches IOException below
|
||||
|
||||
String filePath = fileName;
|
||||
String UTF8 = "utf8";
|
||||
int BUFFER_SIZE = 8192;
|
||||
|
||||
|
@ -610,6 +609,7 @@ try { // catches IOException below
|
|||
RandomAccessFile reader = new RandomAccessFile("/proc/meminfo", "r");
|
||||
|
||||
String line = reader.readLine();
|
||||
reader.close();
|
||||
line = line.replaceAll("[ ]+", " ");
|
||||
String[] tokens = line.split(" ");
|
||||
|
||||
|
|
|
@ -108,6 +108,8 @@ class tentacle_client {
|
|||
String line;
|
||||
while((line=br.readLine())!=null)
|
||||
data += line + '\n';
|
||||
|
||||
br.close();
|
||||
} catch (IOException e) {
|
||||
getError("Could not get the file");
|
||||
}
|
||||
|
|
|
@ -18,16 +18,16 @@ import java.util.Date;
|
|||
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
//import android.content.SharedPreferences;
|
||||
import android.graphics.Color;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuInflater;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.widget.Button;
|
||||
//import android.view.View;
|
||||
//import android.view.View.OnClickListener;
|
||||
//import android.widget.Button;
|
||||
import android.widget.TextView;
|
||||
|
||||
public class Status extends Activity {
|
||||
|
|