diff --git a/AndroidManifest.xml b/AndroidManifest.xml index c0a34ec6..5c4ec5a5 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2,7 +2,7 @@ + android:textStyle="bold" + android:contentDescription="@string/url_app_mainpage" + android:onClick="clickHandler" + android:clickable="true" + /> + android:textAppearance="?android:attr/textAppearanceMedium" + android:enabled="true" + android:contentDescription="@string/url_app_releases" + android:onClick="clickHandler" + android:clickable="true" + /> + android:textAppearance="?android:attr/textAppearanceSmall" + /> + + ELM Einstellungen ELM Initialisierung eigene ELM Befehle zur Initialisierung + Übersetzung von fr3ts0n diff --git a/res/values/strings.xml b/res/values/strings.xml index e493bbb4..d5544010 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1,11 +1,14 @@ - AndrOBD - V1.3.6 + V1.3.7 © 2015 fr3ts0n + Translation by fr3ts0n Android OBD vehicle diagnostics app for ELM327 bluetooth adapter + https://github.com/fr3ts0n/AndrOBD/ + https://github.com/fr3ts0n/AndrOBD/releases/ + https://hosted.weblate.org/projects/androbd/strings/ Send You are not connected to a device Connecting… @@ -39,7 +42,7 @@ information, including:\n - Distance travelled since DTCs cleared\n - Engine run time while MIL activated\n - Time since DTCs cleared\n\n -Other manufacturer-specific clearing/resetting actions may occur.\n +Other manufacturer specific clearing/resetting actions may occur.\n The loss of data may cause the vehicle to run poorly for a short \n period of time while the ECU recalibrates itself. @@ -66,6 +69,7 @@ period of time while the ECU recalibrates itself. Saved Data loaded saved + "Connected to " Demo… Saving data … @@ -222,5 +226,4 @@ period of time while the ECU recalibrates itself. @string/RXERROR @string/ERROR - diff --git a/src/com/fr3ts0n/ecu/gui/androbd/MainActivity.java b/src/com/fr3ts0n/ecu/gui/androbd/MainActivity.java index 53e747ab..bb809585 100644 --- a/src/com/fr3ts0n/ecu/gui/androbd/MainActivity.java +++ b/src/com/fr3ts0n/ecu/gui/androbd/MainActivity.java @@ -443,7 +443,7 @@ protected void selectEcu(final Set ecuAdresses) // if more than one ECUs available ... if(ecuAdresses.size() > 1) { - int preferredAddress = prefs.getInt(PRESELECT.LAST_ECU_ADDRESS.toString(),0); + int preferredAddress = prefs.getInt(PRESELECT.LAST_ECU_ADDRESS.toString(), 0); // check if last preferred address matches any of the reported addresses if(istRestoreWanted(PRESELECT.LAST_ECU_ADDRESS) && ecuAdresses.contains(preferredAddress)) @@ -657,6 +657,16 @@ protected void onCreate(Bundle savedInstanceState) } } + /** + * OnClick handler - Browse URL from content description + * @param view view source of click event + */ + public void clickHandler(View view) + { + String url = view.getContentDescription().toString(); + startActivity(new Intent(Intent.ACTION_VIEW).setData(Uri.parse(url))); + } + @Override public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {