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
|
@ -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>
|
||||
|
||||
* tablet/*: updated the tablet version.
|
||||
|
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 721 B After Width: | Height: | Size: 1.3 KiB |
|
@ -27,7 +27,7 @@
|
|||
android:layout_gravity="center"
|
||||
android:layout_weight="0"
|
||||
android:contentDescription="@string/about_desc"
|
||||
android:src="@drawable/pandorafms_logo" />
|
||||
android:src="@drawable/pandroid_large" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
@ -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
|
||||
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.
|
||||
El código fuente esta disponible.<p>Puedes informarte de esto y mas en Pandora FMS en <a href="http://pandorafms.org">http://pandorafms.org</a></p>
|
||||
El código fuente esta disponible.<p>Puedes informarte de esto y mas en Pandora FMS en <a href="http://pandorafms.com">http://pandorafms.com</a></p>
|
||||
</string>
|
||||
<string name="start">Iniciar</string>
|
||||
<string name="correct_start">Conexion con éxito</string>
|
||||
|
|
|
@ -247,6 +247,8 @@ public class Setup extends Activity {
|
|||
|
||||
ArrayAdapter<String> spinnerArrayAdapter = new ArrayAdapter<String>(getApplicationContext(),
|
||||
R.layout.spinner, listProcessHuman);
|
||||
spinnerArrayAdapter
|
||||
.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
||||
combo.setAdapter(spinnerArrayAdapter);
|
||||
|
||||
combo.setSelection(position);
|
||||
|
@ -650,12 +652,13 @@ public class Setup extends Activity {
|
|||
|
||||
try
|
||||
{
|
||||
if(TextUtils.isEmpty(createpass_password))
|
||||
if (TextUtils.isEmpty(createpass_password))
|
||||
{
|
||||
Core.password = Core.defaultPassword;
|
||||
Core.updateConf(getApplicationContext());
|
||||
getApplicationContext();
|
||||
//TODO
|
||||
InputMethodManager im = (InputMethodManager)getSystemService(getApplicationContext().INPUT_METHOD_SERVICE);
|
||||
InputMethodManager im = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
im.hideSoftInputFromWindow(text.getWindowToken(), 0);
|
||||
dialog.dismiss();
|
||||
|
||||
|
@ -666,19 +669,20 @@ public class Setup extends Activity {
|
|||
|
||||
return;
|
||||
}
|
||||
else if(createpass_password.length() < 6)
|
||||
else if (createpass_password.length() < 6)
|
||||
{
|
||||
text.setError(getString(R.string.password_length));
|
||||
text2.setError(getString(R.string.password_length));
|
||||
return;
|
||||
}
|
||||
|
||||
else if(createpass_password.equals(createpass_password2))
|
||||
else if (createpass_password.equals(createpass_password2))
|
||||
{
|
||||
Core.password = createpass_password;
|
||||
Core.updateConf(getApplicationContext());
|
||||
getApplicationContext();
|
||||
//TODO
|
||||
InputMethodManager im = (InputMethodManager)getSystemService(getApplicationContext().INPUT_METHOD_SERVICE);
|
||||
InputMethodManager im = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
im.hideSoftInputFromWindow(text.getWindowToken(), 0);
|
||||
|
||||
dialog.dismiss();
|
||||
|
@ -737,8 +741,9 @@ public class Setup extends Activity {
|
|||
{
|
||||
if(password.equals(Core.password))
|
||||
{
|
||||
getApplicationContext();
|
||||
//TODO
|
||||
InputMethodManager im = (InputMethodManager)getSystemService(getApplicationContext().INPUT_METHOD_SERVICE);
|
||||
InputMethodManager im = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
im.hideSoftInputFromWindow(text.getWindowToken(), 0);
|
||||
dialog.dismiss();
|
||||
|
||||
|
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 721 B After Width: | Height: | Size: 1.3 KiB |
|
@ -27,7 +27,7 @@
|
|||
android:layout_gravity="center"
|
||||
android:layout_weight="0"
|
||||
android:contentDescription="@string/about_desc"
|
||||
android:src="@drawable/pandorafms_logo" />
|
||||
android:src="@drawable/pandroid_large" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
@ -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
|
||||
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.
|
||||
El código fuente esta disponible.<p>Puedes informarte de esto y mas en Pandora FMS en <a href="http://pandorafms.org">http://pandorafms.org</a></p>
|
||||
El código fuente esta disponible.<p>Puedes informarte de esto y mas en Pandora FMS en <a href="http://pandorafms.com">http://pandorafms.com</a></p>
|
||||
</string>
|
||||
<string name="start">Iniciar</string>
|
||||
<string name="correct_start">Conexion con éxito</string>
|
||||
|
|