Index: src/com/openvehicles/OVMS/ui/settings/CarEditorFragment.java
===================================================================
--- src/com/openvehicles/OVMS/ui/settings/CarEditorFragment.java (revision 101)
+++ src/com/openvehicles/OVMS/ui/settings/CarEditorFragment.java (working copy)
@@ -132,6 +132,7 @@
mCarData.sel_vehicle_label = Ui.getValidValue(rootView, R.id.txt_vehicle_label, new StringValidator());
mCarData.sel_server_password = Ui.getValidValue(rootView, R.id.txt_server_passwd, new PasswdValidator(4, 16));
mCarData.sel_module_password = Ui.getValidValue(rootView, R.id.txt_module_passwd, new PasswdValidator(4, 16));
+ mCarData.sel_server = Ui.getValidValue(rootView, R.id.txt_server_address, new StringValidator());
mCarData.sel_vehicle_image = sAvailableColors[mGalleryCar.getSelectedItemPosition()];
} catch (ValidationException e) {
@@ -156,6 +157,7 @@
Ui.setValue(rootView, R.id.txt_vehicle_label, mCarData.sel_vehicle_label);
Ui.setValue(rootView, R.id.txt_server_passwd, mCarData.sel_server_password);
Ui.setValue(rootView, R.id.txt_module_passwd, mCarData.sel_module_password);
+ Ui.setValue(rootView, R.id.txt_server_address, mCarData.sel_server);
AppPrefes appPrefes = new AppPrefes(getActivity(), "ovms");
System.out.println("sel_vehicle_label" + mCarData.sel_vehicle_label);
Index: res/layout/fragment_careditor.xml
===================================================================
--- res/layout/fragment_careditor.xml (revision 101)
+++ res/layout/fragment_careditor.xml (working copy)
@@ -32,6 +32,16 @@
android:layout_marginTop="8dp"
android:hint="@string/lb_module_passwd"
android:inputType="textPassword"/>
+
+
Vehicle Label
OVMS Server Password
OVMS Module Password
- Slide for choice vehicle
+ Slide for vehicle choice
MMI/USSD Code
Cellular Usage
Reset OVMS Module