2013-08-11 Miguel de Dios <miguel.dedios@artica.es>

* mobile/src/pandroid/agent/Setup.java,

	mobile/res/drawable-mdpi/help.png,

	mobile/res/drawable-mdpi/about.png,

	mobile/res/values-es/strings.xml, mobile/res/layout/about.xml,

	tablet/res/drawable-mdpi/help.png,

	tablet/res/drawable-mdpi/about.png, tablet/res/layout/about.xml,

	tablet/res/values-es/strings.xml: some changes.






git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-12-11 10:51:41 +00:00
parent 1b48604075
commit f6e8148534
10 changed files with 25 additions and 10 deletions

View File

@ -1,3 +1,13 @@
2013-08-11 Miguel de Dios <miguel.dedios@artica.es>
* mobile/src/pandroid/agent/Setup.java,
mobile/res/drawable-mdpi/help.png,
mobile/res/drawable-mdpi/about.png,
mobile/res/values-es/strings.xml, mobile/res/layout/about.xml,
tablet/res/drawable-mdpi/help.png,
tablet/res/drawable-mdpi/about.png, tablet/res/layout/about.xml,
tablet/res/values-es/strings.xml: some changes.
2013-08-10 Miguel de Dios <miguel.dedios@artica.es> 2013-08-10 Miguel de Dios <miguel.dedios@artica.es>
* tablet/*: updated the tablet version. * tablet/*: updated the tablet version.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -27,7 +27,7 @@
android:layout_gravity="center" android:layout_gravity="center"
android:layout_weight="0" android:layout_weight="0"
android:contentDescription="@string/about_desc" android:contentDescription="@string/about_desc"
android:src="@drawable/pandorafms_logo" /> android:src="@drawable/pandroid_large" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"

View File

@ -63,7 +63,7 @@
un señal de saludo para monotrorizar instalaciones de pandroid, un inventario con información de todos los apps instalados. También un señal de saludo para monotrorizar instalaciones de pandroid, un inventario con información de todos los apps instalados. También
datos de moviles, la ID del sim, número de SMS enviados/recibidos, número de llamadas entrantes/perdidas/recibidas, el nombre del operador datos de moviles, la ID del sim, número de SMS enviados/recibidos, número de llamadas entrantes/perdidas/recibidas, el nombre del operador
y el tipo, el tipo de móvil, la potencia de señal, el número de bytes enviados/recibidos por la red móvil. y el tipo, el tipo de móvil, la potencia de señal, el número de bytes enviados/recibidos por la red móvil.
El código fuente esta disponible.&lt;p&gt;Puedes informarte de esto y mas en Pandora FMS en &lt;a href=&quot;http://pandorafms.org&quot;&gt;http://pandorafms.org&lt;/a&gt;&lt;/p&gt; El código fuente esta disponible.&lt;p&gt;Puedes informarte de esto y mas en Pandora FMS en &lt;a href=&quot;http://pandorafms.com&quot;&gt;http://pandorafms.com&lt;/a&gt;&lt;/p&gt;
</string> </string>
<string name="start">Iniciar</string> <string name="start">Iniciar</string>
<string name="correct_start">Conexion con éxito</string> <string name="correct_start">Conexion con éxito</string>

View File

@ -247,6 +247,8 @@ public class Setup extends Activity {
ArrayAdapter<String> spinnerArrayAdapter = new ArrayAdapter<String>(getApplicationContext(), ArrayAdapter<String> spinnerArrayAdapter = new ArrayAdapter<String>(getApplicationContext(),
R.layout.spinner, listProcessHuman); R.layout.spinner, listProcessHuman);
spinnerArrayAdapter
.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
combo.setAdapter(spinnerArrayAdapter); combo.setAdapter(spinnerArrayAdapter);
combo.setSelection(position); combo.setSelection(position);
@ -650,12 +652,13 @@ public class Setup extends Activity {
try try
{ {
if(TextUtils.isEmpty(createpass_password)) if (TextUtils.isEmpty(createpass_password))
{ {
Core.password = Core.defaultPassword; Core.password = Core.defaultPassword;
Core.updateConf(getApplicationContext()); Core.updateConf(getApplicationContext());
getApplicationContext();
//TODO //TODO
InputMethodManager im = (InputMethodManager)getSystemService(getApplicationContext().INPUT_METHOD_SERVICE); InputMethodManager im = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
im.hideSoftInputFromWindow(text.getWindowToken(), 0); im.hideSoftInputFromWindow(text.getWindowToken(), 0);
dialog.dismiss(); dialog.dismiss();
@ -666,19 +669,20 @@ public class Setup extends Activity {
return; return;
} }
else if(createpass_password.length() < 6) else if (createpass_password.length() < 6)
{ {
text.setError(getString(R.string.password_length)); text.setError(getString(R.string.password_length));
text2.setError(getString(R.string.password_length)); text2.setError(getString(R.string.password_length));
return; return;
} }
else if(createpass_password.equals(createpass_password2)) else if (createpass_password.equals(createpass_password2))
{ {
Core.password = createpass_password; Core.password = createpass_password;
Core.updateConf(getApplicationContext()); Core.updateConf(getApplicationContext());
getApplicationContext();
//TODO //TODO
InputMethodManager im = (InputMethodManager)getSystemService(getApplicationContext().INPUT_METHOD_SERVICE); InputMethodManager im = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
im.hideSoftInputFromWindow(text.getWindowToken(), 0); im.hideSoftInputFromWindow(text.getWindowToken(), 0);
dialog.dismiss(); dialog.dismiss();
@ -737,8 +741,9 @@ public class Setup extends Activity {
{ {
if(password.equals(Core.password)) if(password.equals(Core.password))
{ {
getApplicationContext();
//TODO //TODO
InputMethodManager im = (InputMethodManager)getSystemService(getApplicationContext().INPUT_METHOD_SERVICE); InputMethodManager im = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
im.hideSoftInputFromWindow(text.getWindowToken(), 0); im.hideSoftInputFromWindow(text.getWindowToken(), 0);
dialog.dismiss(); dialog.dismiss();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -27,7 +27,7 @@
android:layout_gravity="center" android:layout_gravity="center"
android:layout_weight="0" android:layout_weight="0"
android:contentDescription="@string/about_desc" android:contentDescription="@string/about_desc"
android:src="@drawable/pandorafms_logo" /> android:src="@drawable/pandroid_large" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"

View File

@ -63,7 +63,7 @@
un señal de saludo para monotrorizar instalaciones de pandroid, un inventario con información de todos los apps instalados. También un señal de saludo para monotrorizar instalaciones de pandroid, un inventario con información de todos los apps instalados. También
datos de moviles, la ID del sim, número de SMS enviados/recibidos, número de llamadas entrantes/perdidas/recibidas, el nombre del operador datos de moviles, la ID del sim, número de SMS enviados/recibidos, número de llamadas entrantes/perdidas/recibidas, el nombre del operador
y el tipo, el tipo de móvil, la potencia de señal, el número de bytes enviados/recibidos por la red móvil. y el tipo, el tipo de móvil, la potencia de señal, el número de bytes enviados/recibidos por la red móvil.
El código fuente esta disponible.&lt;p&gt;Puedes informarte de esto y mas en Pandora FMS en &lt;a href=&quot;http://pandorafms.org&quot;&gt;http://pandorafms.org&lt;/a&gt;&lt;/p&gt; El código fuente esta disponible.&lt;p&gt;Puedes informarte de esto y mas en Pandora FMS en &lt;a href=&quot;http://pandorafms.com&quot;&gt;http://pandorafms.com&lt;/a&gt;&lt;/p&gt;
</string> </string>
<string name="start">Iniciar</string> <string name="start">Iniciar</string>
<string name="correct_start">Conexion con éxito</string> <string name="correct_start">Conexion con éxito</string>