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>
|
2013-08-10 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* tablet/*: updated the tablet version.
|
* 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_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"
|
||||||
|
|
|
@ -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.<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>
|
||||||
<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>
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
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_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"
|
||||||
|
|
|
@ -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.<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>
|
||||||
<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>
|
||||||
|
|