Compare commits
14 Commits
07011b2053
..
v1.8.4
| Author | SHA1 | Date | |
|---|---|---|---|
| fd90b14bdc | |||
| 91fdef99c3 | |||
| 63264fcf9b | |||
| 2758ef180d | |||
| 3d2b48706d | |||
| e52ce4cd30 | |||
| bbb477fc77 | |||
| 4478006109 | |||
| d117484143 | |||
| f7d8389668 | |||
| 4282c53372 | |||
| 35e2a1158d | |||
| 66e86e66b3 | |||
| 4c4a355ff5 |
+3
-3
@@ -11,8 +11,8 @@ android {
|
|||||||
compileSdkVersion 34
|
compileSdkVersion 34
|
||||||
buildToolsVersion '34.0.0'
|
buildToolsVersion '34.0.0'
|
||||||
useLibrary 'org.apache.http.legacy'
|
useLibrary 'org.apache.http.legacy'
|
||||||
versionCode 144
|
versionCode 145
|
||||||
versionName "1.8.3"
|
versionName "1.8.4"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
@@ -36,7 +36,7 @@ android {
|
|||||||
{
|
{
|
||||||
dimension "version"
|
dimension "version"
|
||||||
versionNameSuffix "-googlePlay"
|
versionNameSuffix "-googlePlay"
|
||||||
targetSdkVersion 34
|
targetSdkVersion 35
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -73,9 +73,8 @@
|
|||||||
<uses-permission android:name="android.hardware.sensor.proximity"/>
|
<uses-permission android:name="android.hardware.sensor.proximity"/>
|
||||||
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
||||||
<uses-permission android:name="android.permission.READ_CALENDAR" />
|
<uses-permission android:name="android.permission.READ_CALENDAR" />
|
||||||
<uses-permission
|
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
|
||||||
android:name="android.permission.WRITE_SECURE_SETTINGS"
|
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" tools:ignore="ProtectedPermissions" />
|
||||||
tools:ignore="ProtectedPermissions" />
|
|
||||||
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
|
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
|
||||||
<!--android:maxSdkVersion="32" />
|
<!--android:maxSdkVersion="32" />
|
||||||
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />-->
|
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />-->
|
||||||
|
|||||||
@@ -71,9 +71,8 @@
|
|||||||
<uses-permission android:name="android.hardware.sensor.proximity"/>
|
<uses-permission android:name="android.hardware.sensor.proximity"/>
|
||||||
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
||||||
<uses-permission android:name="android.permission.READ_CALENDAR" />
|
<uses-permission android:name="android.permission.READ_CALENDAR" />
|
||||||
<uses-permission
|
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
|
||||||
android:name="android.permission.WRITE_SECURE_SETTINGS"
|
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" tools:ignore="ProtectedPermissions" />
|
||||||
tools:ignore="ProtectedPermissions" />
|
|
||||||
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
|
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
|
||||||
<!--android:maxSdkVersion="32" />
|
<!--android:maxSdkVersion="32" />
|
||||||
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />-->
|
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />-->
|
||||||
|
|||||||
@@ -67,13 +67,12 @@
|
|||||||
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
|
||||||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
||||||
<uses-permission android:name="android.hardware.sensor.proximity"/>
|
<uses-permission android:name="android.hardware.sensor.proximity"/>
|
||||||
<uses-permission
|
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
|
||||||
android:name="android.permission.WRITE_SECURE_SETTINGS"
|
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" tools:ignore="ProtectedPermissions" />
|
||||||
tools:ignore="ProtectedPermissions" />
|
|
||||||
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
|
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
|
||||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
||||||
<!--android:maxSdkVersion="32" />
|
<!--android:maxSdkVersion="32" />
|
||||||
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />-->
|
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />-->
|
||||||
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||||
<uses-permission android:name="com.termux.permission.RUN_COMMAND" />
|
<uses-permission android:name="com.termux.permission.RUN_COMMAND" />
|
||||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
|
||||||
|
|
||||||
|
|||||||
@@ -115,22 +115,18 @@ public class Actions
|
|||||||
public static void closeNotification(Action action)
|
public static void closeNotification(Action action)
|
||||||
{
|
{
|
||||||
NotificationManager nm = (NotificationManager) Miscellaneous.getAnyContext().getSystemService(Context.NOTIFICATION_SERVICE);
|
NotificationManager nm = (NotificationManager) Miscellaneous.getAnyContext().getSystemService(Context.NOTIFICATION_SERVICE);
|
||||||
// for(StatusBarNotification n : nm.getActiveNotifications())
|
|
||||||
// {
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT)
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT)
|
||||||
{
|
{
|
||||||
String[] params = action.getParameter2().split(Action.actionParameter2Split);
|
String[] params = action.getParameter2().split(Action.actionParameter2Split, -1);
|
||||||
|
|
||||||
String myApp = params[0];
|
String myApp = params[0];
|
||||||
String myTitleDir = params[1];
|
String myTitleDir = params[1];
|
||||||
String requiredTitle = params[2];
|
String requiredTitle = params[2];
|
||||||
String myTextDir = params[3];
|
String myTextDir = params[3];
|
||||||
String requiredText = "";
|
String requiredText = params[4];
|
||||||
String method = ActivityManageActionCloseNotification.dismissRegularString;
|
String method = ActivityManageActionCloseNotification.dismissRegularString;
|
||||||
|
|
||||||
if (params.length >= 5)
|
|
||||||
requiredText = params[4];
|
|
||||||
|
|
||||||
if (params.length >= 6 && !params[5].equals(ActivityManageActionCloseNotification.dismissRegularString))
|
if (params.length >= 6 && !params[5].equals(ActivityManageActionCloseNotification.dismissRegularString))
|
||||||
method = params[5];
|
method = params[5];
|
||||||
|
|
||||||
@@ -196,7 +192,6 @@ public class Actions
|
|||||||
Miscellaneous.logEvent("i", "NotificationCloseCheck", "NotificationListener instance is null. Can\'t close notification.", 3);
|
Miscellaneous.logEvent("i", "NotificationCloseCheck", "NotificationListener instance is null. Can\'t close notification.", 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void sendBroadcast(Context context, String action)
|
public static void sendBroadcast(Context context, String action)
|
||||||
@@ -962,24 +957,46 @@ public class Actions
|
|||||||
|
|
||||||
public static void vibrate(boolean parameter1, String parameter2)
|
public static void vibrate(boolean parameter1, String parameter2)
|
||||||
{
|
{
|
||||||
String vibrateDurations[] = parameter2.split(Action.vibrateSeparator);
|
String[] vibrateDurations = parameter2.split(Action.vibrateSeparator);
|
||||||
|
|
||||||
int counter = 1;
|
int counter = 1;
|
||||||
for (String vibrate : vibrateDurations)
|
|
||||||
|
Vibrator vibrator = (Vibrator) Miscellaneous.getAnyContext().getSystemService(Context.VIBRATOR_SERVICE);
|
||||||
|
|
||||||
|
if(ActivityPermissions.havePermission(Manifest.permission.VIBRATE, Miscellaneous.getAnyContext()))
|
||||||
|
Miscellaneous.logEvent("i", "Vibrate", "Have permission.", 3);
|
||||||
|
|
||||||
|
if(vibrator != null && vibrator.hasVibrator())
|
||||||
{
|
{
|
||||||
|
for (String vibrateDuration : vibrateDurations)
|
||||||
|
{
|
||||||
|
vibrator.cancel();
|
||||||
|
|
||||||
if (counter % 2 != 0)
|
if (counter % 2 != 0)
|
||||||
{
|
{
|
||||||
Vibrator vibrator = (Vibrator) Miscellaneous.getAnyContext().getSystemService(Context.VIBRATOR_SERVICE);
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)
|
||||||
vibrator.vibrate(VibrationEffect.createOneShot(Long.parseLong(vibrate), VibrationEffect.DEFAULT_AMPLITUDE));
|
{
|
||||||
|
VibrationEffect ve = VibrationEffect.createOneShot(Long.parseLong(vibrateDuration), VibrationEffect.DEFAULT_AMPLITUDE);
|
||||||
|
vibrator.vibrate(ve);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
vibrator.vibrate(Long.parseLong(vibrate));
|
vibrator.vibrate(Long.parseLong(vibrateDuration));
|
||||||
|
|
||||||
|
// Wait for the vibration to complete.
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Thread.sleep(Long.parseLong(vibrateDuration));
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
Miscellaneous.logEvent("e", "VibrateSleep", Log.getStackTraceString(e), 5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Thread.sleep(Long.parseLong(vibrate));
|
Thread.sleep(Long.parseLong(vibrateDuration));
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
@@ -990,6 +1007,9 @@ public class Actions
|
|||||||
counter++;
|
counter++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
Miscellaneous.logEvent("w", "Vibrate", "Device doesn't have vibrator.", 3);
|
||||||
|
}
|
||||||
|
|
||||||
public void useDownloadedWebpage(String result)
|
public void useDownloadedWebpage(String result)
|
||||||
{
|
{
|
||||||
@@ -1097,7 +1117,9 @@ public class Actions
|
|||||||
|
|
||||||
if (!packageName.equals(dummyPackageString))
|
if (!packageName.equals(dummyPackageString))
|
||||||
{
|
{
|
||||||
|
if(!packageName.isEmpty())
|
||||||
externalApplicationIntent.setPackage(packageName);
|
externalApplicationIntent.setPackage(packageName);
|
||||||
|
|
||||||
if (!StringUtils.isEmpty(className))
|
if (!StringUtils.isEmpty(className))
|
||||||
externalApplicationIntent.setClassName(packageName, className);
|
externalApplicationIntent.setClassName(packageName, className);
|
||||||
}
|
}
|
||||||
@@ -1118,8 +1140,8 @@ public class Actions
|
|||||||
{
|
{
|
||||||
if (Miscellaneous.isNumeric(startupType))
|
if (Miscellaneous.isNumeric(startupType))
|
||||||
externalApplicationIntent = packParametersIntoIntent(externalApplicationIntent, params, 4);
|
externalApplicationIntent = packParametersIntoIntent(externalApplicationIntent, params, 4);
|
||||||
else
|
// else
|
||||||
externalApplicationIntent = packParametersIntoIntent(externalApplicationIntent, params, 3);
|
// externalApplicationIntent = packParametersIntoIntent(externalApplicationIntent, params, 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (startupType.equals(ActivityManageActionStartActivity.startByActivityString))
|
if (startupType.equals(ActivityManageActionStartActivity.startByActivityString))
|
||||||
@@ -1207,7 +1229,6 @@ public class Actions
|
|||||||
{
|
{
|
||||||
Miscellaneous.logEvent("i", "StartOtherApp", "Adding parameter of type " + singleParam[0] + " with value " + singleParam[2] + " as standard data parameter.", 3);
|
Miscellaneous.logEvent("i", "StartOtherApp", "Adding parameter of type " + singleParam[0] + " with value " + singleParam[2] + " as standard data parameter.", 3);
|
||||||
intent.setData(Uri.parse(Miscellaneous.replaceVariablesInText(singleParam[2], context)));
|
intent.setData(Uri.parse(Miscellaneous.replaceVariablesInText(singleParam[2], context)));
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -128,9 +128,9 @@ public class ActivityMainScreen extends ActivityGeneric
|
|||||||
@Override
|
@Override
|
||||||
public void onClick(View v)
|
public void onClick(View v)
|
||||||
{
|
{
|
||||||
String privacyPolicyUrl = "https://server47.de/donate";
|
String donationUrl = "https://server47.de/donate";
|
||||||
|
|
||||||
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(privacyPolicyUrl));
|
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(donationUrl));
|
||||||
startActivity(browserIntent);
|
startActivity(browserIntent);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -2,10 +2,13 @@ package com.jens.automation2;
|
|||||||
|
|
||||||
import android.Manifest;
|
import android.Manifest;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
|
import android.app.ProgressDialog;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
import android.os.AsyncTask;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
import android.os.Looper;
|
||||||
import android.os.VibrationEffect;
|
import android.os.VibrationEffect;
|
||||||
import android.os.Vibrator;
|
import android.os.Vibrator;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
@@ -22,6 +25,7 @@ public class ActivityManageActionVibrate extends Activity
|
|||||||
{
|
{
|
||||||
TextView etVibratePattern;
|
TextView etVibratePattern;
|
||||||
Button bTestVibratePattern, bSaveVibratePattern;
|
Button bTestVibratePattern, bSaveVibratePattern;
|
||||||
|
ProgressDialog pdPleaseWait = null;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(@Nullable Bundle savedInstanceState)
|
protected void onCreate(@Nullable Bundle savedInstanceState)
|
||||||
@@ -60,7 +64,20 @@ public class ActivityManageActionVibrate extends Activity
|
|||||||
if (ActivityPermissions.havePermission(Manifest.permission.VIBRATE, ActivityManageActionVibrate.this))
|
if (ActivityPermissions.havePermission(Manifest.permission.VIBRATE, ActivityManageActionVibrate.this))
|
||||||
{
|
{
|
||||||
String pattern = etVibratePattern.getText().toString();
|
String pattern = etVibratePattern.getText().toString();
|
||||||
|
|
||||||
|
String[] patternArray = pattern.split(",");
|
||||||
|
long sum = 0;
|
||||||
|
for(String element : patternArray)
|
||||||
|
sum += Long.parseLong(element);
|
||||||
|
|
||||||
|
if(sum <= 2000)
|
||||||
Actions.vibrate(false, pattern);
|
Actions.vibrate(false, pattern);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pdPleaseWait = ProgressDialog.show(ActivityManageActionVibrate.this, null, getResources().getString(R.string.pleaseWait));
|
||||||
|
VibrateTask vt = new VibrateTask();
|
||||||
|
vt.execute(pattern);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -84,4 +101,22 @@ public class ActivityManageActionVibrate extends Activity
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class VibrateTask extends AsyncTask<String, Void, Void>
|
||||||
|
{
|
||||||
|
@Override
|
||||||
|
protected Void doInBackground(String... strings)
|
||||||
|
{
|
||||||
|
String pattern = (String)strings[0];
|
||||||
|
Actions.vibrate(false, pattern);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onPostExecute(Void unused)
|
||||||
|
{
|
||||||
|
pdPleaseWait.dismiss();
|
||||||
|
super.onPostExecute(unused);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -551,7 +551,7 @@ public class ActivityManageRule extends Activity
|
|||||||
public void onClick(View v)
|
public void onClick(View v)
|
||||||
{
|
{
|
||||||
// Open help popup
|
// Open help popup
|
||||||
Miscellaneous.messageBox(getResources().getString(R.string.whatsThis), getResources().getString(R.string.helpTextToggable), ActivityManageRule.this).show();
|
Miscellaneous.messageBox(getResources().getString(R.string.whatsThis), getResources().getString(R.string.helpTextToggleable), ActivityManageRule.this).show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
package com.jens.automation2;
|
package com.jens.automation2;
|
||||||
|
|
||||||
|
import android.Manifest;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.bluetooth.BluetoothDevice;
|
import android.bluetooth.BluetoothDevice;
|
||||||
import android.content.pm.PackageManager;
|
import android.content.pm.PackageManager;
|
||||||
|
import android.os.Build;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
@@ -16,17 +18,20 @@ import android.widget.Spinner;
|
|||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
|
import androidx.annotation.NonNull;
|
||||||
|
|
||||||
import com.jens.automation2.receivers.BluetoothReceiver;
|
import com.jens.automation2.receivers.BluetoothReceiver;
|
||||||
|
|
||||||
public class ActivityManageTriggerBluetooth extends Activity
|
public class ActivityManageTriggerBluetooth extends Activity
|
||||||
{
|
{
|
||||||
|
final static int requestPermissionCodeBluetoothConnect = 4711;
|
||||||
protected static Trigger editedBluetoothTrigger;
|
protected static Trigger editedBluetoothTrigger;
|
||||||
RadioButton radioAnyBluetoothDevice, radioNoDevice, radioDeviceFromList, radioBluetoothConnected, radioBluetoothDisconnected, radioBluetoothInRange, radioBluetoothOutRange;
|
RadioButton radioAnyBluetoothDevice, radioNoDevice, radioDeviceFromList, radioBluetoothConnected, radioBluetoothDisconnected, radioBluetoothInRange, radioBluetoothOutRange;
|
||||||
Button bSaveBluetoothTrigger;
|
Button bSaveBluetoothTrigger;
|
||||||
Spinner spinnerBluetoothDevices;
|
Spinner spinnerBluetoothDevices;
|
||||||
TextView tvBluetoothNotPresentNotice;
|
TextView tvBluetoothNotPresentNotice;
|
||||||
|
|
||||||
ArrayAdapter<String> bluetoothDevicesSpinnerAdapter;
|
ArrayAdapter<String> bluetoothDevicesSpinnerAdapter = null;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState)
|
protected void onCreate(Bundle savedInstanceState)
|
||||||
@@ -47,8 +52,6 @@ public class ActivityManageTriggerBluetooth extends Activity
|
|||||||
spinnerBluetoothDevices = (Spinner)findViewById(R.id.spinnerBluetoothDevices);
|
spinnerBluetoothDevices = (Spinner)findViewById(R.id.spinnerBluetoothDevices);
|
||||||
tvBluetoothNotPresentNotice = (TextView)findViewById(R.id.tvBluetoothNotPresentNotice);
|
tvBluetoothNotPresentNotice = (TextView)findViewById(R.id.tvBluetoothNotPresentNotice);
|
||||||
|
|
||||||
bluetoothDevicesSpinnerAdapter = new ArrayAdapter<String>(this, R.layout.text_view_for_poi_listview_mediumtextsize, BluetoothReceiver.getAllPairedBluetoothDevicesStrings());
|
|
||||||
|
|
||||||
if(!getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH))
|
if(!getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH))
|
||||||
tvBluetoothNotPresentNotice.setVisibility(View.VISIBLE);
|
tvBluetoothNotPresentNotice.setVisibility(View.VISIBLE);
|
||||||
else
|
else
|
||||||
@@ -76,16 +79,36 @@ public class ActivityManageTriggerBluetooth extends Activity
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if(Miscellaneous.getTargetSDK(ActivityManageTriggerBluetooth.this) >= 31 && !ActivityPermissions.havePermission(Manifest.permission.BLUETOOTH_CONNECT, ActivityManageTriggerBluetooth.this))
|
||||||
|
requestPermissions(new String[] {Manifest.permission.BLUETOOTH_CONNECT }, requestPermissionCodeBluetoothConnect);
|
||||||
|
else
|
||||||
refreshBluetoothDeviceSpinner();
|
refreshBluetoothDeviceSpinner();
|
||||||
|
|
||||||
spinnerBluetoothDevices.setEnabled(false);
|
spinnerBluetoothDevices.setEnabled(false);
|
||||||
|
|
||||||
if(editedBluetoothTrigger.getBluetoothDeviceAddress() != null && editedBluetoothTrigger.getBluetoothDeviceAddress().length() > 0)
|
if(editedBluetoothTrigger.getBluetoothDeviceAddress() != null && editedBluetoothTrigger.getBluetoothDeviceAddress().length() > 0)
|
||||||
loadVariableIntoGui();
|
loadVariableIntoGui();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults)
|
||||||
|
{
|
||||||
|
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
|
||||||
|
|
||||||
|
if(requestCode == requestPermissionCodeBluetoothConnect)
|
||||||
|
{
|
||||||
|
if(permissions[0].equals(Manifest.permission.BLUETOOTH_CONNECT) && grantResults[0] == PackageManager.PERMISSION_GRANTED)
|
||||||
|
refreshBluetoothDeviceSpinner();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protected void refreshBluetoothDeviceSpinner()
|
protected void refreshBluetoothDeviceSpinner()
|
||||||
{
|
{
|
||||||
Miscellaneous.logEvent("i", "Spinner", "Attempting to update spinnerBluetoothDevices", 4);
|
Miscellaneous.logEvent("i", "Spinner", "Attempting to update spinnerBluetoothDevices", 4);
|
||||||
|
|
||||||
|
if(bluetoothDevicesSpinnerAdapter == null)
|
||||||
|
bluetoothDevicesSpinnerAdapter = new ArrayAdapter<String>(this, R.layout.text_view_for_poi_listview_mediumtextsize, BluetoothReceiver.getAllPairedBluetoothDevicesStrings());
|
||||||
|
|
||||||
if(spinnerBluetoothDevices.getAdapter() == null)
|
if(spinnerBluetoothDevices.getAdapter() == null)
|
||||||
{
|
{
|
||||||
spinnerBluetoothDevices.setAdapter(bluetoothDevicesSpinnerAdapter);
|
spinnerBluetoothDevices.setAdapter(bluetoothDevicesSpinnerAdapter);
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ public class ActivityManageTriggerNfc extends Activity
|
|||||||
@Override
|
@Override
|
||||||
protected void onPause()
|
protected void onPause()
|
||||||
{
|
{
|
||||||
/**
|
/*
|
||||||
* Call this before onPause, otherwise an IllegalArgumentException is thrown as well.
|
* Call this before onPause, otherwise an IllegalArgumentException is thrown as well.
|
||||||
*/
|
*/
|
||||||
disableForegroundDispatch(this);
|
disableForegroundDispatch(this);
|
||||||
@@ -203,7 +203,7 @@ public class ActivityManageTriggerNfc extends Activity
|
|||||||
protected void onResume()
|
protected void onResume()
|
||||||
{
|
{
|
||||||
super.onResume();
|
super.onResume();
|
||||||
/**
|
/*
|
||||||
* It's important, that the activity is in the foreground (resumed). Otherwise
|
* It's important, that the activity is in the foreground (resumed). Otherwise
|
||||||
* an IllegalStateException is thrown.
|
* an IllegalStateException is thrown.
|
||||||
*/
|
*/
|
||||||
@@ -238,9 +238,17 @@ public class ActivityManageTriggerNfc extends Activity
|
|||||||
{
|
{
|
||||||
generatedId = NfcReceiver.readTag(discoveredTag);
|
generatedId = NfcReceiver.readTag(discoveredTag);
|
||||||
if(generatedId != null && generatedId.length() > 0)
|
if(generatedId != null && generatedId.length() > 0)
|
||||||
|
{
|
||||||
tvCurrentNfcId.setText(generatedId);
|
tvCurrentNfcId.setText(generatedId);
|
||||||
|
bReadNfcTag.setEnabled(true);
|
||||||
|
bUseValueCurrentlyStored.setEnabled(true);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
tvCurrentNfcId.setText(getResources().getString(R.string.nfcTagDataNotUsable));
|
tvCurrentNfcId.setText(getResources().getString(R.string.nfcTagDataNotUsable));
|
||||||
|
bReadNfcTag.setEnabled(false);
|
||||||
|
bUseValueCurrentlyStored.setEnabled(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if(currentStatus == 1)
|
else if(currentStatus == 1)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -149,17 +149,17 @@ public class ActivityManageTriggerProximity extends Activity
|
|||||||
sbProximityTest.setProgress((int)sensorEvent.values[0]);
|
sbProximityTest.setProgress((int)sensorEvent.values[0]);
|
||||||
tvProximityCurrentValue.setText((String.valueOf(sensorEvent.values[0])));
|
tvProximityCurrentValue.setText((String.valueOf(sensorEvent.values[0])));
|
||||||
|
|
||||||
if (sensorEvent.values[0] == 0)
|
// if (sensorEvent.values[0] == 0)
|
||||||
{
|
// {
|
||||||
// here we are setting our status to our textview..
|
// here we are setting our status to our textview..
|
||||||
// if sensor event return 0 then object is closed
|
// if sensor event return 0 then object is closed
|
||||||
// to sensor else object is away from sensor.
|
// to sensor else object is away from sensor.
|
||||||
// sensorStatusTV.setText("Near");
|
// sensorStatusTV.setText("Near");
|
||||||
}
|
// }
|
||||||
else
|
// else
|
||||||
{
|
// {
|
||||||
// sensorStatusTV.setText("Away");
|
// sensorStatusTV.setText("Away");
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -46,8 +46,8 @@ public class ActivityManageTriggerTimeFrame extends Activity
|
|||||||
|
|
||||||
setContentView(R.layout.activity_manage_trigger_timeframe);
|
setContentView(R.layout.activity_manage_trigger_timeframe);
|
||||||
|
|
||||||
if(Build.VERSION.SDK_INT == 34)
|
// if(Build.VERSION.SDK_INT == 34)
|
||||||
Miscellaneous.messageBox(getResources().getString(R.string.info), getResources().getString(R.string.Android14TimePickerHint), ActivityManageTriggerTimeFrame.this).show();
|
// Miscellaneous.messageBox(getResources().getString(R.string.info), getResources().getString(R.string.Android14TimePickerHint), ActivityManageTriggerTimeFrame.this).show();
|
||||||
|
|
||||||
startPicker = (TimePicker)findViewById(R.id.tpTimeFrameStart);
|
startPicker = (TimePicker)findViewById(R.id.tpTimeFrameStart);
|
||||||
stopPicker = (TimePicker)findViewById(R.id.tpTimeFrameStop);
|
stopPicker = (TimePicker)findViewById(R.id.tpTimeFrameStop);
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ package com.jens.automation2;
|
|||||||
|
|
||||||
import android.Manifest;
|
import android.Manifest;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
|
import android.app.AlarmManager;
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
import android.app.NotificationManager;
|
import android.app.NotificationManager;
|
||||||
import android.app.admin.DevicePolicyManager;
|
import android.app.admin.DevicePolicyManager;
|
||||||
@@ -27,6 +28,8 @@ import android.view.View;
|
|||||||
import android.widget.Button;
|
import android.widget.Button;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
|
import androidx.core.content.ContextCompat;
|
||||||
|
|
||||||
import com.jens.automation2.receivers.NotificationListener;
|
import com.jens.automation2.receivers.NotificationListener;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@@ -316,9 +319,20 @@ public class ActivityPermissions extends Activity
|
|||||||
{
|
{
|
||||||
return haveAccessibilityAccess(Miscellaneous.getAnyContext());
|
return haveAccessibilityAccess(Miscellaneous.getAnyContext());
|
||||||
}
|
}
|
||||||
|
else if(s.equals(Manifest.permission.SCHEDULE_EXACT_ALARM) && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S)
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
It appears like as long as targetSdk has not been raised, this check
|
||||||
|
will return true even if the slider in the settings for that
|
||||||
|
permission is not enabled.
|
||||||
|
*/
|
||||||
|
AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
|
||||||
|
return alarmManager.canScheduleExactAlarms();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int res = context.checkCallingOrSelfPermission(s);
|
// int res = context.checkCallingOrSelfPermission(s);
|
||||||
|
int res = ContextCompat.checkSelfPermission(context, s);
|
||||||
return (res == PackageManager.PERMISSION_GRANTED);
|
return (res == PackageManager.PERMISSION_GRANTED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -573,8 +587,8 @@ public class ActivityPermissions extends Activity
|
|||||||
break;
|
break;
|
||||||
case timeFrame:
|
case timeFrame:
|
||||||
if(Build.VERSION.SDK_INT >= 31 && Miscellaneous.getTargetSDK(Miscellaneous.getAnyContext()) >= 31
|
if(Build.VERSION.SDK_INT >= 31 && Miscellaneous.getTargetSDK(Miscellaneous.getAnyContext()) >= 31
|
||||||
// ||
|
||
|
||||||
// Build.VERSION.SDK_INT >= 33
|
Build.VERSION.SDK_INT >= 34 //https://developer.android.com/about/versions/14/changes/schedule-exact-alarms
|
||||||
)
|
)
|
||||||
addToArrayListUnique(Manifest.permission.SCHEDULE_EXACT_ALARM, requiredPermissions);
|
addToArrayListUnique(Manifest.permission.SCHEDULE_EXACT_ALARM, requiredPermissions);
|
||||||
break;
|
break;
|
||||||
@@ -1040,7 +1054,7 @@ public class ActivityPermissions extends Activity
|
|||||||
required permissions have been granted.
|
required permissions have been granted.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
super.onActivityResult(requestCode, resultCode, data);
|
// super.onActivityResult(requestCode, resultCode, data);
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
package com.jens.automation2;
|
package com.jens.automation2;
|
||||||
|
|
||||||
|
import static android.app.PendingIntent.FLAG_IMMUTABLE;
|
||||||
|
|
||||||
import android.Manifest;
|
import android.Manifest;
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.app.ActivityManager;
|
import android.app.ActivityManager;
|
||||||
@@ -502,7 +504,12 @@ public class AutomationService extends Service implements OnInitListener
|
|||||||
if(Miscellaneous.googleToBlameForLocation(true))
|
if(Miscellaneous.googleToBlameForLocation(true))
|
||||||
{
|
{
|
||||||
Intent intent = new Intent(AutomationService.this, ActivityMainTabLayout.class);
|
Intent intent = new Intent(AutomationService.this, ActivityMainTabLayout.class);
|
||||||
PendingIntent pi = PendingIntent.getActivity(AutomationService.this, 0, intent, 0);
|
PendingIntent pi;
|
||||||
|
|
||||||
|
// if(Miscellaneous.getTargetSDK(AutomationService.this) >= Build.VERSION_CODES.S)
|
||||||
|
pi = PendingIntent.getActivity(AutomationService.this, 0, intent, FLAG_IMMUTABLE);
|
||||||
|
// else
|
||||||
|
// pi = PendingIntent.getActivity(AutomationService.this, 0, intent, 0);
|
||||||
|
|
||||||
Miscellaneous.logEvent("w", "Features disabled", "Background location disabled because Google to blame.", 5);
|
Miscellaneous.logEvent("w", "Features disabled", "Background location disabled because Google to blame.", 5);
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,6 @@ import java.security.cert.CertificateException;
|
|||||||
import java.security.cert.X509Certificate;
|
import java.security.cert.X509Certificate;
|
||||||
import java.text.DateFormat;
|
import java.text.DateFormat;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
import java.time.LocalDate;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
@@ -127,6 +126,8 @@ import eu.chainfire.libsuperuser.Shell;
|
|||||||
public class Miscellaneous extends Service
|
public class Miscellaneous extends Service
|
||||||
{
|
{
|
||||||
protected static String writeableFolderStringCache = null;
|
protected static String writeableFolderStringCache = null;
|
||||||
|
protected final static String http_error_string = "HTTP_ERROR";
|
||||||
|
protected final static String last_trigger_url_result_string = "last_trigger_url_result";
|
||||||
public static Context startupContext;
|
public static Context startupContext;
|
||||||
|
|
||||||
public static final String lineSeparator = System.getProperty("line.separator");
|
public static final String lineSeparator = System.getProperty("line.separator");
|
||||||
@@ -199,7 +200,7 @@ public class Miscellaneous extends Service
|
|||||||
// immediate deallocation of all system resources
|
// immediate deallocation of all system resources
|
||||||
httpclient.getConnectionManager().shutdown();
|
httpclient.getConnectionManager().shutdown();
|
||||||
if(errorFound)
|
if(errorFound)
|
||||||
return "httpError";
|
return http_error_string;
|
||||||
else
|
else
|
||||||
return responseBody.toString();
|
return responseBody.toString();
|
||||||
}
|
}
|
||||||
@@ -275,7 +276,7 @@ public class Miscellaneous extends Service
|
|||||||
catch(Exception e)
|
catch(Exception e)
|
||||||
{
|
{
|
||||||
Miscellaneous.logEvent("e", "HTTP error", Log.getStackTraceString(e), 3);
|
Miscellaneous.logEvent("e", "HTTP error", Log.getStackTraceString(e), 3);
|
||||||
return "httpError";
|
return http_error_string;
|
||||||
}
|
}
|
||||||
// finally
|
// finally
|
||||||
// {
|
// {
|
||||||
@@ -853,15 +854,15 @@ public class Miscellaneous extends Service
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(source.contains("[last_trigger_url_result]"))
|
if(source.contains("[" + last_trigger_url_result_string + "]"))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
source = source.replace("[last_trigger_url_result]", AutomationService.getInstance().getVariableMap().get("last_trigger_url_result"));
|
source = source.replace("[" + last_trigger_url_result_string + "]", AutomationService.getInstance().getVariableMap().get(last_trigger_url_result_string));
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
Miscellaneous.logEvent("w", "Variable replacement", "Error replacing variable last_trigger_url_result.", 3);
|
Miscellaneous.logEvent("w", "Variable replacement", "Error replacing variable " + last_trigger_url_result_string + ".", 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -544,38 +544,64 @@ public class Profile implements Comparable<Profile>
|
|||||||
AudioManager am = (AudioManager) Miscellaneous.getAnyContext().getSystemService(Context.AUDIO_SERVICE);
|
AudioManager am = (AudioManager) Miscellaneous.getAnyContext().getSystemService(Context.AUDIO_SERVICE);
|
||||||
|
|
||||||
if(changeSoundMode)
|
if(changeSoundMode)
|
||||||
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting sound mode to " + String.valueOf(soundMode), 4);
|
||||||
Actions.setSound(context, soundMode);
|
Actions.setSound(context, soundMode);
|
||||||
|
}
|
||||||
|
|
||||||
if(changeDndMode)
|
if(changeDndMode)
|
||||||
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting DND mode to " + String.valueOf(dndMode), 4);
|
||||||
Actions.setDoNotDisturb(context, dndMode);
|
Actions.setDoNotDisturb(context, dndMode);
|
||||||
|
}
|
||||||
|
|
||||||
if(changeVolumeMusicVideoGameMedia)
|
if(changeVolumeMusicVideoGameMedia)
|
||||||
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting media volume to " + String.valueOf(volumeMusic), 4);
|
||||||
am.setStreamVolume(AudioManager.STREAM_MUSIC, volumeMusic, AudioManager.FLAG_PLAY_SOUND);
|
am.setStreamVolume(AudioManager.STREAM_MUSIC, volumeMusic, AudioManager.FLAG_PLAY_SOUND);
|
||||||
|
}
|
||||||
|
|
||||||
if(changeVolumeNotifications)
|
if(changeVolumeNotifications)
|
||||||
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting notification volume to " + String.valueOf(volumeNotifications), 4);
|
||||||
am.setStreamVolume(AudioManager.STREAM_NOTIFICATION, volumeNotifications, AudioManager.FLAG_PLAY_SOUND);
|
am.setStreamVolume(AudioManager.STREAM_NOTIFICATION, volumeNotifications, AudioManager.FLAG_PLAY_SOUND);
|
||||||
|
}
|
||||||
|
|
||||||
if(Build.VERSION.SDK_INT >= 34)
|
if(Build.VERSION.SDK_INT >= 34)
|
||||||
{
|
{
|
||||||
if (changeVolumeRingtones)
|
if (changeVolumeRingtones)
|
||||||
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting ring volume to " + String.valueOf(volumeRingtones), 4);
|
||||||
am.setStreamVolume(AudioManager.STREAM_RING, volumeRingtones, AudioManager.FLAG_PLAY_SOUND);
|
am.setStreamVolume(AudioManager.STREAM_RING, volumeRingtones, AudioManager.FLAG_PLAY_SOUND);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(changeVolumeAlarms)
|
if(changeVolumeAlarms)
|
||||||
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting alarm volume to " + String.valueOf(volumeAlarms), 4);
|
||||||
am.setStreamVolume(AudioManager.STREAM_ALARM, volumeAlarms, AudioManager.FLAG_PLAY_SOUND);
|
am.setStreamVolume(AudioManager.STREAM_ALARM, volumeAlarms, AudioManager.FLAG_PLAY_SOUND);
|
||||||
|
}
|
||||||
|
|
||||||
if(changeIncomingCallsRingtone)
|
if(changeIncomingCallsRingtone)
|
||||||
|
{
|
||||||
if (incomingCallsRingtone != null)
|
if (incomingCallsRingtone != null)
|
||||||
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting ringtone " + incomingCallsRingtone, 4);
|
||||||
applyRingTone(incomingCallsRingtone, RingtoneManager.TYPE_RINGTONE, context);
|
applyRingTone(incomingCallsRingtone, RingtoneManager.TYPE_RINGTONE, context);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(changeVibrateWhenRinging)
|
if(changeVibrateWhenRinging)
|
||||||
{
|
{
|
||||||
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
|
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
|
||||||
{
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting vibrate when ringing to " + String.valueOf(vibrateWhenRinging?1:0), 4);
|
||||||
android.provider.Settings.System.putInt(context.getContentResolver(), "vibrate_when_ringing", vibrateWhenRinging?1:0);
|
android.provider.Settings.System.putInt(context.getContentResolver(), "vibrate_when_ringing", vibrateWhenRinging?1:0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting vibrate when ringing to " + String.valueOf(vibrateWhenRinging), 4);
|
||||||
|
|
||||||
if (vibrateWhenRinging)
|
if (vibrateWhenRinging)
|
||||||
am.setVibrateSetting(AudioManager.VIBRATE_TYPE_RINGER, AudioManager.VIBRATE_SETTING_ON);
|
am.setVibrateSetting(AudioManager.VIBRATE_TYPE_RINGER, AudioManager.VIBRATE_SETTING_ON);
|
||||||
else
|
else
|
||||||
@@ -584,16 +610,24 @@ public class Profile implements Comparable<Profile>
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(changeNotificationRingtone)
|
if(changeNotificationRingtone)
|
||||||
|
{
|
||||||
if (notificationRingtone != null)
|
if (notificationRingtone != null)
|
||||||
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting notification ringtone to " + String.valueOf(notificationRingtone), 4);
|
||||||
applyRingTone(notificationRingtone, RingtoneManager.TYPE_NOTIFICATION, context);
|
applyRingTone(notificationRingtone, RingtoneManager.TYPE_NOTIFICATION, context);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(changeScreenLockUnlockSound)
|
if(changeScreenLockUnlockSound)
|
||||||
{
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting lockscreen sounds enabled to " + String.valueOf(screenLockUnlockSound ? 1 : 0), 4);
|
||||||
android.provider.Settings.System.putInt(context.getContentResolver(), "lockscreen_sounds_enabled" , screenLockUnlockSound ? 1 : 0);
|
android.provider.Settings.System.putInt(context.getContentResolver(), "lockscreen_sounds_enabled" , screenLockUnlockSound ? 1 : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(changeAudibleSelection)
|
if(changeAudibleSelection)
|
||||||
{
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting audible selection to " + String.valueOf(audibleSelection ? 1 : 0), 4);
|
||||||
|
|
||||||
if(audibleSelection)
|
if(audibleSelection)
|
||||||
android.provider.Settings.System.putInt(context.getContentResolver(), android.provider.Settings.System.SOUND_EFFECTS_ENABLED, 1); // enable
|
android.provider.Settings.System.putInt(context.getContentResolver(), android.provider.Settings.System.SOUND_EFFECTS_ENABLED, 1); // enable
|
||||||
else
|
else
|
||||||
@@ -602,6 +636,8 @@ public class Profile implements Comparable<Profile>
|
|||||||
|
|
||||||
if(changeHapticFeedback)
|
if(changeHapticFeedback)
|
||||||
{
|
{
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Setting haptic feedback to " + String.valueOf(hapticFeedback ? 1 : 0), 4);
|
||||||
|
|
||||||
if(hapticFeedback)
|
if(hapticFeedback)
|
||||||
android.provider.Settings.System.putInt(context.getContentResolver(), android.provider.Settings.System.HAPTIC_FEEDBACK_ENABLED, 1); // enable
|
android.provider.Settings.System.putInt(context.getContentResolver(), android.provider.Settings.System.HAPTIC_FEEDBACK_ENABLED, 1); // enable
|
||||||
else
|
else
|
||||||
@@ -614,7 +650,8 @@ public class Profile implements Comparable<Profile>
|
|||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
Miscellaneous.logEvent("i", "Profile", "Checking for applicable rules after profile " + this.getName() + " has been activated.", 2);
|
Miscellaneous.logEvent("i", "Profile", "Profile activation complete: " + this.getName(), 3);
|
||||||
|
Miscellaneous.logEvent("i", "Profile", "Checking for applicable rules after profile " + this.getName() + " has been activated.", 3);
|
||||||
List<Rule> ruleCandidates = Rule.findRuleCandidates(Trigger.Trigger_Enum.profileActive);
|
List<Rule> ruleCandidates = Rule.findRuleCandidates(Trigger.Trigger_Enum.profileActive);
|
||||||
for(int i=0; i<ruleCandidates.size(); i++)
|
for(int i=0; i<ruleCandidates.size(); i++)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -331,17 +331,17 @@ public class Trigger
|
|||||||
{
|
{
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT)
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT)
|
||||||
{
|
{
|
||||||
String[] params = this.getTriggerParameter2().split(triggerParameter2Split);
|
String[] params = this.getTriggerParameter2().split(triggerParameter2Split, -1);
|
||||||
|
|
||||||
String myApp = params[0];
|
String myApp = params[0];
|
||||||
String myTitleDir = params[1];
|
String myTitleDir = params[1];
|
||||||
String requiredTitle = params[2];
|
String requiredTitle = params[2];
|
||||||
String myTextDir = params[3];
|
String myTextDir = params[3];
|
||||||
String requiredText;
|
// String requiredText;
|
||||||
if (params.length >= 5)
|
// if (params.length >= 5)
|
||||||
requiredText = params[4];
|
String requiredText = params[4];
|
||||||
else
|
// else
|
||||||
requiredText = "";
|
// requiredText = "";
|
||||||
|
|
||||||
if(this.getTriggerParameter())
|
if(this.getTriggerParameter())
|
||||||
{
|
{
|
||||||
@@ -679,13 +679,11 @@ public class Trigger
|
|||||||
{
|
{
|
||||||
if(Miscellaneous.isRegularExpression(conditions[1]))
|
if(Miscellaneous.isRegularExpression(conditions[1]))
|
||||||
{
|
{
|
||||||
if (map.get(conditions[0]).matches(conditions[1]))
|
return (map.get(conditions[0]).matches(conditions[1]) == this.getTriggerParameter());
|
||||||
return this.getTriggerParameter();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (map.get(conditions[0]).equals(conditions[1]))
|
return (map.get(conditions[0]).equals(conditions[1]) == this.getTriggerParameter());
|
||||||
return this.getTriggerParameter();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1242,6 +1240,12 @@ public class Trigger
|
|||||||
|
|
||||||
public boolean hasStateNotAppliedSinceLastRuleExecution()
|
public boolean hasStateNotAppliedSinceLastRuleExecution()
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
There is no easy event to tell when a tag has been disconnected again.
|
||||||
|
*/
|
||||||
|
if(getTriggerType().equals(Trigger_Enum.nfcTag))
|
||||||
|
return true;
|
||||||
|
|
||||||
if(getParentRule().getLastExecution() == null)
|
if(getParentRule().getLastExecution() == null)
|
||||||
{
|
{
|
||||||
Miscellaneous.logEvent("i", "Trigger", "Trigger " + this.toString() + " of rule " + getParentRule().getName() + " has NOT applied since the parent rule\'s last activation.", 4);
|
Miscellaneous.logEvent("i", "Trigger", "Trigger " + this.toString() + " of rule " + getParentRule().getName() + " has NOT applied since the parent rule\'s last activation.", 4);
|
||||||
|
|||||||
@@ -363,10 +363,10 @@ public class CellLocationChangedReceiver extends PhoneStateListener
|
|||||||
// Miscellaneous.logEvent("i", "cellReceiver", "Not starting cellLocationListener because we have no data connection.", 4);
|
// Miscellaneous.logEvent("i", "cellReceiver", "Not starting cellLocationListener because we have no data connection.", 4);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Miscellaneous.logEvent("w", "cellReceiver", "Wanted to activate CellLocationChangedReceiver, but Wifi-Receiver says not to.", 4);
|
Miscellaneous.logEvent("w", "cellReceiver", "Wanted to activate CellLocationChangedReceiver, but Wifi-Receiver says not to.", 5);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Miscellaneous.logEvent("i", "cellReceiver", "Not starting cellLocationListener because Airplane mode is active or SIM_STATE is not ready.", 4);
|
Miscellaneous.logEvent("i", "cellReceiver", "Not starting cellLocationListener because Airplane mode is active or SIM_STATE is not ready.", 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(Exception ex)
|
catch(Exception ex)
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ public class SensorActivity implements SensorEventListener
|
|||||||
deltaX = Math.abs(lastX-x);
|
deltaX = Math.abs(lastX-x);
|
||||||
deltaY = Math.abs(lastY-y);
|
deltaY = Math.abs(lastY-y);
|
||||||
deltaZ = Math.abs(lastZ-z);
|
deltaZ = Math.abs(lastZ-z);
|
||||||
//Wenn das jetzt einen gewissen Grenzwert übersteigt, müßten wir den CellListener wieder aktivieren
|
// If that exceeds a certain delta we need to start CellLocationListener again
|
||||||
if(deltaX > Settings.accelerometerMovementThreshold | deltaY > Settings.accelerometerMovementThreshold | deltaZ > Settings.accelerometerMovementThreshold)
|
if(deltaX > Settings.accelerometerMovementThreshold | deltaY > Settings.accelerometerMovementThreshold | deltaZ > Settings.accelerometerMovementThreshold)
|
||||||
{
|
{
|
||||||
String text = "Device has been moved. " + String.valueOf(deltaX)+" / "+String.valueOf(deltaY)+" / "+String.valueOf(deltaZ);
|
String text = "Device has been moved. " + String.valueOf(deltaX)+" / "+String.valueOf(deltaY)+" / "+String.valueOf(deltaZ);
|
||||||
|
|||||||
@@ -136,6 +136,11 @@ public class ConnectivityReceiver extends BroadcastReceiver implements Automatio
|
|||||||
// Airplane mode status has changed.
|
// Airplane mode status has changed.
|
||||||
Miscellaneous.logEvent("i", "Connectivity", "Airplane mode changed.", 2);
|
Miscellaneous.logEvent("i", "Connectivity", "Airplane mode changed.", 2);
|
||||||
boolean isAirplaneMode = isAirplaneMode(context);
|
boolean isAirplaneMode = isAirplaneMode(context);
|
||||||
|
|
||||||
|
/*
|
||||||
|
If the user doesn't have any locations this service is probably off and therefore null.
|
||||||
|
*/
|
||||||
|
if(automationServiceRef.getLocationProvider() != null)
|
||||||
automationServiceRef.getLocationProvider().handleAirplaneMode(isAirplaneMode);
|
automationServiceRef.getLocationProvider().handleAirplaneMode(isAirplaneMode);
|
||||||
|
|
||||||
ArrayList<Rule> ruleCandidates = Rule.findRuleCandidates(Trigger_Enum.airplaneMode);
|
ArrayList<Rule> ruleCandidates = Rule.findRuleCandidates(Trigger_Enum.airplaneMode);
|
||||||
|
|||||||
@@ -34,11 +34,11 @@ public class DeviceOrientationListener implements SensorEventListener, Automatio
|
|||||||
static int sensorValueCounter = 0;
|
static int sensorValueCounter = 0;
|
||||||
|
|
||||||
// Gravity rotational data
|
// Gravity rotational data
|
||||||
float gravity[];
|
float[] gravity;
|
||||||
// Magnetic rotational data
|
// Magnetic rotational data
|
||||||
float magnetic[]; //for magnetic rotational data
|
float[] magnetic; //for magnetic rotational data
|
||||||
float accels[] = new float[3];
|
float[] accels = new float[3];
|
||||||
float mags[] = new float[3];
|
float[] mags = new float[3];
|
||||||
float[] values = new float[3];
|
float[] values = new float[3];
|
||||||
boolean hasMagneticSensor=false;
|
boolean hasMagneticSensor=false;
|
||||||
|
|
||||||
|
|||||||
@@ -8,10 +8,10 @@ import android.nfc.NdefMessage;
|
|||||||
import android.nfc.NdefRecord;
|
import android.nfc.NdefRecord;
|
||||||
import android.nfc.NfcAdapter;
|
import android.nfc.NfcAdapter;
|
||||||
import android.nfc.Tag;
|
import android.nfc.Tag;
|
||||||
|
import android.nfc.tech.IsoDep;
|
||||||
import android.nfc.tech.Ndef;
|
import android.nfc.tech.Ndef;
|
||||||
import android.nfc.tech.NdefFormatable;
|
import android.nfc.tech.NdefFormatable;
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.os.Build;
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
@@ -36,18 +36,8 @@ public class NfcReceiver
|
|||||||
public static NfcAdapter getNfcAdapter(Context context)
|
public static NfcAdapter getNfcAdapter(Context context)
|
||||||
{
|
{
|
||||||
if(nfcAdapter == null)
|
if(nfcAdapter == null)
|
||||||
{
|
|
||||||
if(Build.VERSION.SDK_INT <= 10)
|
|
||||||
{
|
|
||||||
// NFC not supported until after Gingerbread.
|
|
||||||
Miscellaneous.logEvent("w", "NFC", context.getResources().getString(R.string.nfcNotSupportedInThisAndroidVersionYet), 3);
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
nfcAdapter = NfcAdapter.getDefaultAdapter(context);
|
nfcAdapter = NfcAdapter.getDefaultAdapter(context);
|
||||||
}
|
|
||||||
}
|
|
||||||
return nfcAdapter;
|
return nfcAdapter;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,28 +81,6 @@ public class NfcReceiver
|
|||||||
new NdefReaderTask().execute(tag);
|
new NdefReaderTask().execute(tag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// else if (NfcAdapter.ACTION_TECH_DISCOVERED.equals(action))
|
|
||||||
// {
|
|
||||||
//
|
|
||||||
// // In case we would still use the Tech Discovered Intent
|
|
||||||
// Tag tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
|
|
||||||
// String[] techList = tag.getTechList();
|
|
||||||
// String searchedTech = Ndef.class.getName();
|
|
||||||
//
|
|
||||||
// for (String tech : techList)
|
|
||||||
// {
|
|
||||||
// if (searchedTech.equals(tech))
|
|
||||||
// {
|
|
||||||
// new NdefReaderTask().execute(tag);
|
|
||||||
// break;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// {
|
|
||||||
// // No NFC NDEF intent
|
|
||||||
// Miscellaneous.logEvent("w", "NFC", context.getResources().getString(R.string.nfcNoNdefIntentBut) + " " + action + ".", 5);
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressLint("NewApi")
|
@SuppressLint("NewApi")
|
||||||
@@ -334,14 +302,6 @@ public class NfcReceiver
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if(Build.VERSION.SDK_INT <= 10)
|
|
||||||
{
|
|
||||||
// NFC not supported until after Gingerbread.
|
|
||||||
if(showErrorMessage)
|
|
||||||
Toast.makeText(context, context.getResources().getString(R.string.nfcNotSupportedInThisAndroidVersionYet), Toast.LENGTH_LONG).show();
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ public class NotificationListener extends NotificationListenerService// implemen
|
|||||||
|
|
||||||
synchronized boolean checkNotification(boolean created, StatusBarNotification sbn)
|
synchronized boolean checkNotification(boolean created, StatusBarNotification sbn)
|
||||||
{
|
{
|
||||||
//TODO: Merge with functino in Trigger class
|
//TODO: Merge with function in Trigger class
|
||||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.KITKAT)
|
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.KITKAT)
|
||||||
{
|
{
|
||||||
lastNotification = convertNotificationToSimpleNotification(created, sbn);
|
lastNotification = convertNotificationToSimpleNotification(created, sbn);
|
||||||
|
|||||||
@@ -147,7 +147,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="10dp"
|
||||||
android:text="@string/toggableRules"
|
android:text="@string/toggleableRules"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -160,7 +160,7 @@
|
|||||||
android:id="@+id/tvToggableHelpText"
|
android:id="@+id/tvToggableHelpText"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/helpTextToggable" />
|
android:text="@string/helpTextToggleable" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -124,8 +124,8 @@
|
|||||||
<string name="timeframes">Zeiträume</string>
|
<string name="timeframes">Zeiträume</string>
|
||||||
<string name="helpTextTimeFrame">Wenn Sie eine Regel mit einem Zeitraum erstellen, haben Sie zwei Möglichkeiten. Sie können wählen, ob der Auslöser besagt, daß der Zeitraum entweder verlassen ODER betreten wird. In jedem Fall wird die Regel nur einmal ausgelöst. Wenn eine Regel z.B. besagt \"betrete timeframe xyz\" und das Klingeltonprofil in Vibration ändert, bedeutet das NICHT, daß das Gerät hinterher automatisch wieder zum normalen Klingelprofil zurückschaltet. Wenn das erwünscht ist, muß eine weitere Regel mit einem Folgezeitraum erstellen werden.</string>
|
<string name="helpTextTimeFrame">Wenn Sie eine Regel mit einem Zeitraum erstellen, haben Sie zwei Möglichkeiten. Sie können wählen, ob der Auslöser besagt, daß der Zeitraum entweder verlassen ODER betreten wird. In jedem Fall wird die Regel nur einmal ausgelöst. Wenn eine Regel z.B. besagt \"betrete timeframe xyz\" und das Klingeltonprofil in Vibration ändert, bedeutet das NICHT, daß das Gerät hinterher automatisch wieder zum normalen Klingelprofil zurückschaltet. Wenn das erwünscht ist, muß eine weitere Regel mit einem Folgezeitraum erstellen werden.</string>
|
||||||
<string name="helpTextSound">Auf dem Hauptbildschirm können Sie die Funktion Tonänderunugen sperren benutzen, um vorrübergehend regelbasierte Tonänderungen zu deaktivieren. Z.B. könnten Sie in einer Situation oder an einem Ort sein, wo Klingeltöne normalerweise in Ordnung sind, aber dieses eine Mal würde es stören. Die Funktion wird automatisch wieder deaktiviert nachdem die eingestellte Zeit abgelaufen ist. Klicken Sie den + Knopf, um die angezeigte Zeit zur Frist hinzuzufügen. Sobald es aktiv ist, können Sie es mit dem Schalter rechts wieder abschalten (und so regelbasierte Tonänderungen wieder ermöglichen).</string>
|
<string name="helpTextSound">Auf dem Hauptbildschirm können Sie die Funktion Tonänderunugen sperren benutzen, um vorrübergehend regelbasierte Tonänderungen zu deaktivieren. Z.B. könnten Sie in einer Situation oder an einem Ort sein, wo Klingeltöne normalerweise in Ordnung sind, aber dieses eine Mal würde es stören. Die Funktion wird automatisch wieder deaktiviert nachdem die eingestellte Zeit abgelaufen ist. Klicken Sie den + Knopf, um die angezeigte Zeit zur Frist hinzuzufügen. Sobald es aktiv ist, können Sie es mit dem Schalter rechts wieder abschalten (und so regelbasierte Tonänderungen wieder ermöglichen).</string>
|
||||||
<string name="toggableRules">Unschaltbare Regeln</string>
|
<string name="toggleableRules">Unschaltbare Regeln</string>
|
||||||
<string name="helpTextToggable">Regeln haben eine Einstellung namens \"Umkehrbar\". Das bedeutet: Wurde eine Regel ausgeführt und anschließend treten dieselben Auslöser wieder ein, wird die Regel nochmal in umgekehrter Weise ausgeführt, wo es möglich ist. Gegenwärtig funktioniert das nur im Zusammenspiel mit NFC Tags. Wenn Sie einen Tag zwei Mal berühren und es eine umkehrbare Regel zu diesem Tag gibt, wird das Programm das Gegenteil von gegenwärtigen Zustand tun, z.B. WLAN ausschalten, wenn es gegenwärtig eingeschaltet ist.</string>
|
<string name="helpTextToggleable">Regeln haben eine Einstellung namens \"Umkehrbar\". Das bedeutet: Wurde eine Regel ausgeführt und anschließend treten dieselben Auslöser wieder ein, wird die Regel nochmal in umgekehrter Weise ausgeführt, wo es möglich ist. Gegenwärtig funktioniert das nur im Zusammenspiel mit NFC Tags. Wenn Sie einen Tag zwei Mal berühren und es eine umkehrbare Regel zu diesem Tag gibt, wird das Programm das Gegenteil von gegenwärtigen Zustand tun, z.B. WLAN ausschalten, wenn es gegenwärtig eingeschaltet ist.</string>
|
||||||
<string name="helpTextProcessMonitoring">Wenn Sie eine Regel mit einer Prozess Überwachung erstellen, wird die Anwendung in regelmäßigen Abständen nach diesem Prozess schauen. Wie häufig können Sie in den Einstellungen festlegen. Das mag zwar in vielen Fällen langsam reagieren, aber eine permanente Überwachung würde zuviel Akkuleistung kosten. Und das Betriebssystem stellt dafür keinen Broadcast zur Verfügung.</string>
|
<string name="helpTextProcessMonitoring">Wenn Sie eine Regel mit einer Prozess Überwachung erstellen, wird die Anwendung in regelmäßigen Abständen nach diesem Prozess schauen. Wie häufig können Sie in den Einstellungen festlegen. Das mag zwar in vielen Fällen langsam reagieren, aber eine permanente Überwachung würde zuviel Akkuleistung kosten. Und das Betriebssystem stellt dafür keinen Broadcast zur Verfügung.</string>
|
||||||
<string name="helpTitleEnergySaving">Energiespareinstellungen</string>
|
<string name="helpTitleEnergySaving">Energiespareinstellungen</string>
|
||||||
<string name="helpTextEnergySaving">Viele Gerätehersteller versuchen Energie zu sparen, indem die Hintergrundaktivitäten vieler Anwendungen eingeschränkt werden. Unglücklicherweise führt das häufig dazu, dass diese Anwendungen nicht mehr zufällig funktionieren; das gilt auch für Automation. Schauen Sie sich <a href="https://dontkillmyapp.com/">diese Seite</a> an, um herauszufinden, wie Sie Automation auf Ihrem Gerät von dieser Behandlung ausschließen können.</string>
|
<string name="helpTextEnergySaving">Viele Gerätehersteller versuchen Energie zu sparen, indem die Hintergrundaktivitäten vieler Anwendungen eingeschränkt werden. Unglücklicherweise führt das häufig dazu, dass diese Anwendungen nicht mehr zufällig funktionieren; das gilt auch für Automation. Schauen Sie sich <a href="https://dontkillmyapp.com/">diese Seite</a> an, um herauszufinden, wie Sie Automation auf Ihrem Gerät von dieser Behandlung ausschließen können.</string>
|
||||||
@@ -302,7 +302,6 @@
|
|||||||
<string name="nfcTagFoundWithText">Tag gefunden mit Bezeichner:</string>
|
<string name="nfcTagFoundWithText">Tag gefunden mit Bezeichner:</string>
|
||||||
<string name="nfcUnsupportedEncoding">Nicht unterstützte Kodierung:</string>
|
<string name="nfcUnsupportedEncoding">Nicht unterstützte Kodierung:</string>
|
||||||
<string name="nfcNoNdefIntentBut">Kein NFC NDEF intent, sondern</string>
|
<string name="nfcNoNdefIntentBut">Kein NFC NDEF intent, sondern</string>
|
||||||
<string name="nfcNotSupportedInThisAndroidVersionYet">NFC wird in dieser Android Version noch nicht unterstützt.</string>
|
|
||||||
<string name="cantRunRule">Regeln können nicht ausgeführt werden.</string>
|
<string name="cantRunRule">Regeln können nicht ausgeführt werden.</string>
|
||||||
<string name="nfcApplyTagToRule">Aktuellen Tag in Regel übernehmen</string>
|
<string name="nfcApplyTagToRule">Aktuellen Tag in Regel übernehmen</string>
|
||||||
<string name="nfcTagReadSuccessfully">Tag erfolgreich gelesen.</string>
|
<string name="nfcTagReadSuccessfully">Tag erfolgreich gelesen.</string>
|
||||||
|
|||||||
@@ -411,7 +411,7 @@
|
|||||||
<string name="outgoing">saliendo</string>
|
<string name="outgoing">saliendo</string>
|
||||||
<string name="noKnownWifis">No hay wifis conocidos en su dispositivo.</string>
|
<string name="noKnownWifis">No hay wifis conocidos en su dispositivo.</string>
|
||||||
<string name="helpTextTimeFrame">Si crea una regla con un periodo tiene dos opciones. Puede elegir entre entrar o salir de un periodo. En todo caso la regla será ejecutada solo una vez. Si crea una regla con una condición \"entrar periodo xyz\" y por ejemplo la acción \"poner el dispositivo en vibración\", el dispositivo NO va a cambiar a sonido de llamada automaticamente despues del periodo. Si desea esto tiene que crear otra regla con otro periodo.</string>
|
<string name="helpTextTimeFrame">Si crea una regla con un periodo tiene dos opciones. Puede elegir entre entrar o salir de un periodo. En todo caso la regla será ejecutada solo una vez. Si crea una regla con una condición \"entrar periodo xyz\" y por ejemplo la acción \"poner el dispositivo en vibración\", el dispositivo NO va a cambiar a sonido de llamada automaticamente despues del periodo. Si desea esto tiene que crear otra regla con otro periodo.</string>
|
||||||
<string name="toggableRules">Reglas reversibles</string>
|
<string name="toggleableRules">Reglas reversibles</string>
|
||||||
<string name="helpTextPoi">Un sitio consiste de coordinadas GPS y un radio. Porque la localización vía red móvil terrestre es relativamente imprecisa (pero rápida y barata) no especifiqué el radio demasiado corto. La aplicación va a sugerir un radio minimo cuando cree un nuevo sitio.</string>
|
<string name="helpTextPoi">Un sitio consiste de coordinadas GPS y un radio. Porque la localización vía red móvil terrestre es relativamente imprecisa (pero rápida y barata) no especifiqué el radio demasiado corto. La aplicación va a sugerir un radio minimo cuando cree un nuevo sitio.</string>
|
||||||
<string name="generalText">Para usar este programa tiene que crear reglas. Ellos tienen condiciones, por ejemplo \"está en un sitio\" o \"está en un periodo\". Despues cliquee el on/off boton en la pantalla principal.</string>
|
<string name="generalText">Para usar este programa tiene que crear reglas. Ellos tienen condiciones, por ejemplo \"está en un sitio\" o \"está en un periodo\". Despues cliquee el on/off boton en la pantalla principal.</string>
|
||||||
<string name="muteTextToSpeechDuringCallsSummary">Poner TextToSpeech en muto mientras dura las llamadas</string>
|
<string name="muteTextToSpeechDuringCallsSummary">Poner TextToSpeech en muto mientras dura las llamadas</string>
|
||||||
@@ -443,7 +443,6 @@
|
|||||||
<string name="nfcTagFoundWithText">Tag encontrado con etiqueta:</string>
|
<string name="nfcTagFoundWithText">Tag encontrado con etiqueta:</string>
|
||||||
<string name="nfcUnsupportedEncoding">No hay soporte para este codigo:</string>
|
<string name="nfcUnsupportedEncoding">No hay soporte para este codigo:</string>
|
||||||
<string name="nfcNoNdefIntentBut">No NFC NDEF intent, pero</string>
|
<string name="nfcNoNdefIntentBut">No NFC NDEF intent, pero</string>
|
||||||
<string name="nfcNotSupportedInThisAndroidVersionYet">NFC sin soporto en esta version Android, todavia no.</string>
|
|
||||||
<string name="cantRunRule">No puedo ejecutar reglas.</string>
|
<string name="cantRunRule">No puedo ejecutar reglas.</string>
|
||||||
<string name="nfcApplyTagToRule">Aplicar este tag a regla</string>
|
<string name="nfcApplyTagToRule">Aplicar este tag a regla</string>
|
||||||
<string name="nfcTagReadSuccessfully">Tag escritoso con éxito.</string>
|
<string name="nfcTagReadSuccessfully">Tag escritoso con éxito.</string>
|
||||||
@@ -521,7 +520,7 @@
|
|||||||
<string name="hint">Pista</string>
|
<string name="hint">Pista</string>
|
||||||
<string name="hapticFeedback">Sensación tactil (vibracion cuando toca la pantalla)</string>
|
<string name="hapticFeedback">Sensación tactil (vibracion cuando toca la pantalla)</string>
|
||||||
<string name="helpTextSound">En la pantalla principal puede usar \"bloquear cambios de sonido\" para temporalmente evitar, basado en la norma, cambios de sonido. Por ejemplo podría estar en una situación o en un sitio donde un tono de llamada está bien, pero esta vez no es oportuno. La función se desactiva automaticamente despues del tiempo configurado. Cliquee el \"+\" boton para adicionar mas tiempo. Se puede desactivar la función antes tambien usando el boton interruptor (en consecuencia reactivar cambios de sonido, basados en normas).</string>
|
<string name="helpTextSound">En la pantalla principal puede usar \"bloquear cambios de sonido\" para temporalmente evitar, basado en la norma, cambios de sonido. Por ejemplo podría estar en una situación o en un sitio donde un tono de llamada está bien, pero esta vez no es oportuno. La función se desactiva automaticamente despues del tiempo configurado. Cliquee el \"+\" boton para adicionar mas tiempo. Se puede desactivar la función antes tambien usando el boton interruptor (en consecuencia reactivar cambios de sonido, basados en normas).</string>
|
||||||
<string name="helpTextToggable">Las normas tienen una configuracion que se llama \\\"reversible\\\". Significa si una norma es ejecutada y despues las mismas condiciones aplican, la norma es ejecutada de forma reversible donde sea posible. Actualmente solo funciona con la condición NFC. Si toca el tag dos veces, y hay una norma reversible con este tag, la aplicación va a hacer lo contrario de la situación actual, por ejemplo desactivar wifi cuando está activo.</string>
|
<string name="helpTextToggleable">Las normas tienen una configuracion que se llama \\\"reversible\\\". Significa si una norma es ejecutada y despues las mismas condiciones aplican, la norma es ejecutada de forma reversible donde sea posible. Actualmente solo funciona con la condición NFC. Si toca el tag dos veces, y hay una norma reversible con este tag, la aplicación va a hacer lo contrario de la situación actual, por ejemplo desactivar wifi cuando está activo.</string>
|
||||||
<string name="helpTextProcessMonitoring">Si crea una norma con vigilancia del proceso, la aplicación va a revisar periodicamente si el proceso está activo. Puede ajustar la frecuencia en la configuración. Puede relentizar la reacción, pero la vigilancia permanente gasta mucha bateria. No hay un broadcast del sistema operativo para este evento.</string>
|
<string name="helpTextProcessMonitoring">Si crea una norma con vigilancia del proceso, la aplicación va a revisar periodicamente si el proceso está activo. Puede ajustar la frecuencia en la configuración. Puede relentizar la reacción, pero la vigilancia permanente gasta mucha bateria. No hay un broadcast del sistema operativo para este evento.</string>
|
||||||
<string name="helpTextEnergySaving">Muchos fabricantes intentan conservar energia limitando las actividades de segundo plano de otras apps. Desafortunadamente el resultado es que esas aplicaciones no funcionan por completo. Automation está entre ellas. Vease <a href="https://dontkillmyapp.com/">esta pagina</a> para determinar como excluir Automation de tales medidas.</string>
|
<string name="helpTextEnergySaving">Muchos fabricantes intentan conservar energia limitando las actividades de segundo plano de otras apps. Desafortunadamente el resultado es que esas aplicaciones no funcionan por completo. Automation está entre ellas. Vease <a href="https://dontkillmyapp.com/">esta pagina</a> para determinar como excluir Automation de tales medidas.</string>
|
||||||
<string name="speedMaximumTimeBetweenLocations">Tiempo maximo entre 2 sitios para determinar la velocidad.</string>
|
<string name="speedMaximumTimeBetweenLocations">Tiempo maximo entre 2 sitios para determinar la velocidad.</string>
|
||||||
|
|||||||
@@ -124,8 +124,8 @@
|
|||||||
<string name="timeframes">Délais d’éxécution</string>
|
<string name="timeframes">Délais d’éxécution</string>
|
||||||
<string name="helpTextTimeFrame">Si vous créez une règle avec une période d’éxécution vous avez deux options. Vous pouvez choisir d’éxécuter dans la période OU hors de la période. Quel que soit votre choix l’action ne sera déclenchée qu’une seule fois. Si vous créez une règle avec pour déclencheur \« dans la période xyz \» qui modifie votre profil audio en le passant en mode vibreur cela ne signifie pas que votre téléphone repassera automatiquement en mode sonnerie à la fin de la période. Si vous souhaitez le faire vous devez définir une autre règle avec une autre période.</string>
|
<string name="helpTextTimeFrame">Si vous créez une règle avec une période d’éxécution vous avez deux options. Vous pouvez choisir d’éxécuter dans la période OU hors de la période. Quel que soit votre choix l’action ne sera déclenchée qu’une seule fois. Si vous créez une règle avec pour déclencheur \« dans la période xyz \» qui modifie votre profil audio en le passant en mode vibreur cela ne signifie pas que votre téléphone repassera automatiquement en mode sonnerie à la fin de la période. Si vous souhaitez le faire vous devez définir une autre règle avec une autre période.</string>
|
||||||
<string name="helpTextSound">Sur l’écran principal vous pouvez utiliser le verrouillage des modifications audio pour temporairement ne pas utiliser les règles de changement des paramètres audio. Par exemple vous pouvez êtes dans un lieu où à un moment où les sonneries peuvent être dérangeantes. Cette fonctionnalité se désactivera automatiquement une fois le temps configuré écoulé. Appuyez sur le bouton + 15 min pour ajouter la durée souhaitée. Une fois activé vous pouvez le désactiver en appuyant sur le bouton \« OUI \» (la règle de gestion des paramètres audio sera de nouveau active).</string>
|
<string name="helpTextSound">Sur l’écran principal vous pouvez utiliser le verrouillage des modifications audio pour temporairement ne pas utiliser les règles de changement des paramètres audio. Par exemple vous pouvez êtes dans un lieu où à un moment où les sonneries peuvent être dérangeantes. Cette fonctionnalité se désactivera automatiquement une fois le temps configuré écoulé. Appuyez sur le bouton + 15 min pour ajouter la durée souhaitée. Une fois activé vous pouvez le désactiver en appuyant sur le bouton \« OUI \» (la règle de gestion des paramètres audio sera de nouveau active).</string>
|
||||||
<string name="toggableRules">Inverser la règle</string>
|
<string name="toggleableRules">Inverser la règle</string>
|
||||||
<string name="helpTextToggable">Les règles ont une option appelée \« Inversion \». Si une règle est exécutée et que les mêmes déclencheurs s’appliquent à nouveau, la règle sera exécutée dans le sens opposé. Pour l’instant, cela n’est possible qu\'avec les étiquettes NFC : si vous les touchez deux fois et que l’option est activée, cela fera l’inverse des actions demandées. Par exemple désactiver le wifi s’il est actuellement actif.</string>
|
<string name="helpTextToggleable">Les règles ont une option appelée \« Inversion \». Si une règle est exécutée et que les mêmes déclencheurs s’appliquent à nouveau, la règle sera exécutée dans le sens opposé. Pour l’instant, cela n’est possible qu\'avec les étiquettes NFC : si vous les touchez deux fois et que l’option est activée, cela fera l’inverse des actions demandées. Par exemple désactiver le wifi s’il est actuellement actif.</string>
|
||||||
<string name="helpTextProcessMonitoring">Si vous spécifiez une règle avec une surveillance de processus, l’application vérifira ce processus toutes les x secondes (vous pouvez modifier cette variable dans les réglages). Cela peut être un peu lent, mais un contrôle continu viderait la batterie trop vite, et il n’y a pas de transmission de l’OS pour cet événement.</string>
|
<string name="helpTextProcessMonitoring">Si vous spécifiez une règle avec une surveillance de processus, l’application vérifira ce processus toutes les x secondes (vous pouvez modifier cette variable dans les réglages). Cela peut être un peu lent, mais un contrôle continu viderait la batterie trop vite, et il n’y a pas de transmission de l’OS pour cet événement.</string>
|
||||||
<string name="helpTitleEnergySaving">Économie d’énergie</string>
|
<string name="helpTitleEnergySaving">Économie d’énergie</string>
|
||||||
<string name="helpTextEnergySaving">Beaucoup de marques d’appareils Android essaient d’économiser en limitant les activités des applications en arrière-plan. Malheureusement cela signifie souvent ques ces applications ne fonctionnent pas correctement, Automation en fait partie. Consultez cette <a href="https://dontkillmyapp.com/">page web</a> pour savoir comment exclure Automation de ces restrictions.</string>
|
<string name="helpTextEnergySaving">Beaucoup de marques d’appareils Android essaient d’économiser en limitant les activités des applications en arrière-plan. Malheureusement cela signifie souvent ques ces applications ne fonctionnent pas correctement, Automation en fait partie. Consultez cette <a href="https://dontkillmyapp.com/">page web</a> pour savoir comment exclure Automation de ces restrictions.</string>
|
||||||
@@ -305,7 +305,6 @@
|
|||||||
<string name="nfcTagFoundWithText">Étiquette trouvée :</string>
|
<string name="nfcTagFoundWithText">Étiquette trouvée :</string>
|
||||||
<string name="nfcUnsupportedEncoding">Codage non pris en charge :</string>
|
<string name="nfcUnsupportedEncoding">Codage non pris en charge :</string>
|
||||||
<string name="nfcNoNdefIntentBut">Aucun NFC NDEF atteint, mais</string>
|
<string name="nfcNoNdefIntentBut">Aucun NFC NDEF atteint, mais</string>
|
||||||
<string name="nfcNotSupportedInThisAndroidVersionYet">NFC non pris en charge dans cette version Android.</string>
|
|
||||||
<string name="cantRunRule">Impossible d’éxécuter les règles.</string>
|
<string name="cantRunRule">Impossible d’éxécuter les règles.</string>
|
||||||
<string name="nfcApplyTagToRule">Affecter l’étiquette à la règle</string>
|
<string name="nfcApplyTagToRule">Affecter l’étiquette à la règle</string>
|
||||||
<string name="nfcTagReadSuccessfully">Succès de lecture de l’étiquette.</string>
|
<string name="nfcTagReadSuccessfully">Succès de lecture de l’étiquette.</string>
|
||||||
|
|||||||
@@ -231,7 +231,7 @@
|
|||||||
<string name="helpTextRules">Gli eventi di attivazione sono in AND logico. La regola sarà eseguita solo se tutti gli eventi sono soddisfatti. Per l\'OR logico basta creare un\'altra regola.\nI termini trigger e condizione vengono utilizzati come sinonimi. Tutte sono condizioni, ma l\'ultima a soddisfare il valore richiesto potrebbe essere chiamata trigger perché è il pezzo finale del puzzle per causare l\'esecuzione di una regola.\nSe si desidera salvare determinate variabili da una regola e valutarle in un\'altra regola, eseguire il checkout del trigger/azione della variabile.</string>
|
<string name="helpTextRules">Gli eventi di attivazione sono in AND logico. La regola sarà eseguita solo se tutti gli eventi sono soddisfatti. Per l\'OR logico basta creare un\'altra regola.\nI termini trigger e condizione vengono utilizzati come sinonimi. Tutte sono condizioni, ma l\'ultima a soddisfare il valore richiesto potrebbe essere chiamata trigger perché è il pezzo finale del puzzle per causare l\'esecuzione di una regola.\nSe si desidera salvare determinate variabili da una regola e valutarle in un\'altra regola, eseguire il checkout del trigger/azione della variabile.</string>
|
||||||
<string name="helpTextSound">Nello schermo principale puoi bloccare temporaneamente i cambi ai suoni per evitare l\'esecuzione di regole che facciano cambi alle attività sonore. Per esempio, potresti essere in una situatione o in un luogo dove normalmente ascoltare il suono di una suoneria è ok, ma in questa occasione bisognerebbe evitarlo. Questa funzione si disattiverà automaticamente non appena sia trascorso il tempo selezionato. Fai Click sul bottone + per raggiungere la quantità di tempo desiderata. Una volta attiva, questa si può disattivare nuovamente usando il pulsante di attivazione (e in questo modo, si riattiveranno le regole basate su cambi sonori).</string>
|
<string name="helpTextSound">Nello schermo principale puoi bloccare temporaneamente i cambi ai suoni per evitare l\'esecuzione di regole che facciano cambi alle attività sonore. Per esempio, potresti essere in una situatione o in un luogo dove normalmente ascoltare il suono di una suoneria è ok, ma in questa occasione bisognerebbe evitarlo. Questa funzione si disattiverà automaticamente non appena sia trascorso il tempo selezionato. Fai Click sul bottone + per raggiungere la quantità di tempo desiderata. Una volta attiva, questa si può disattivare nuovamente usando il pulsante di attivazione (e in questo modo, si riattiveranno le regole basate su cambi sonori).</string>
|
||||||
<string name="helpTextTimeFrame">Se si specifica una regola con un intervallo temporale si hanno due scelte. È possibile scegliere se si desidera attivare la regola all\'interno o all\'esterno dell\'intervallo di tempo. In entrambi i casi l\'azione verrà eseguita una sola volta. Quindi, se si crea una regola che imposta il profilo su vibrazione nell\'intervallo temporale xyz, il telefono, passato allo stato vibrazione, rimarrà definitivamente in tale stato anche dopo lo scadere dell\'intervallo di tempo. Se si desidera che ciò avvenga è necessario specificare un\'altra regola con un altro periodo di tempo.</string>
|
<string name="helpTextTimeFrame">Se si specifica una regola con un intervallo temporale si hanno due scelte. È possibile scegliere se si desidera attivare la regola all\'interno o all\'esterno dell\'intervallo di tempo. In entrambi i casi l\'azione verrà eseguita una sola volta. Quindi, se si crea una regola che imposta il profilo su vibrazione nell\'intervallo temporale xyz, il telefono, passato allo stato vibrazione, rimarrà definitivamente in tale stato anche dopo lo scadere dell\'intervallo di tempo. Se si desidera che ciò avvenga è necessario specificare un\'altra regola con un altro periodo di tempo.</string>
|
||||||
<string name="helpTextToggable">Le regole hanno un segno di spunta chiamato "Reversibile". Ciò significa che, se una regola viene eseguita al verificarsi di un evento e poi quest\'ultimo si verifica una seconda volta, il comando della regola verrà eseguito una ulteriore volta in modalità inversa, se possibile. Attualmente questo avverrà solo in combinazione con etichette NFC. Se le si tocca due volte la regola associata invertirà la situazione attuale. Per esempio una regola “Reversibile” può disattivare il WiFi se attivo e viceversa attivarlo se non attivo.</string>
|
<string name="helpTextToggleable">Le regole hanno un segno di spunta chiamato "Reversibile". Ciò significa che, se una regola viene eseguita al verificarsi di un evento e poi quest\'ultimo si verifica una seconda volta, il comando della regola verrà eseguito una ulteriore volta in modalità inversa, se possibile. Attualmente questo avverrà solo in combinazione con etichette NFC. Se le si tocca due volte la regola associata invertirà la situazione attuale. Per esempio una regola “Reversibile” può disattivare il WiFi se attivo e viceversa attivarlo se non attivo.</string>
|
||||||
<string name="helpTitleEnergySaving">Risparmio energetico</string>
|
<string name="helpTitleEnergySaving">Risparmio energetico</string>
|
||||||
<string name="hint">Suggerimento</string>
|
<string name="hint">Suggerimento</string>
|
||||||
<string name="httpAcceptAllCertificatesSummary">Salta il controllo dei certificati SSL (si consiglia di non attivarlo)</string>
|
<string name="httpAcceptAllCertificatesSummary">Salta il controllo dei certificati SSL (si consiglia di non attivarlo)</string>
|
||||||
@@ -300,7 +300,6 @@
|
|||||||
<string name="nfcEnterValidIdentifier">Inserire un nome valido per l\'etichetta (come "Porta d\'ingresso di casa").</string>
|
<string name="nfcEnterValidIdentifier">Inserire un nome valido per l\'etichetta (come "Porta d\'ingresso di casa").</string>
|
||||||
<string name="nfcNoNdefIntentBut">Nessun Intent NFC NDEF, ma</string>
|
<string name="nfcNoNdefIntentBut">Nessun Intent NFC NDEF, ma</string>
|
||||||
<string name="nfcNoTag">Nessuna etichetta rilevata.</string>
|
<string name="nfcNoTag">Nessuna etichetta rilevata.</string>
|
||||||
<string name="nfcNotSupportedInThisAndroidVersionYet">NFC non ancora supportato in questa versione di Android.</string>
|
|
||||||
<string name="nfcReadTag">Leggi ID dall\'etichetta</string>
|
<string name="nfcReadTag">Leggi ID dall\'etichetta</string>
|
||||||
<string name="nfcTag">Etichetta NFC</string>
|
<string name="nfcTag">Etichetta NFC</string>
|
||||||
<string name="nfcTagDataNotUsable">Dati dell\'etichetta non leggibili, si prega di riscriverli.</string>
|
<string name="nfcTagDataNotUsable">Dati dell\'etichetta non leggibili, si prega di riscriverli.</string>
|
||||||
@@ -524,7 +523,7 @@
|
|||||||
<string name="timeoutForGpsComparisonsTitle">Timeout del GPS [sec]</string>
|
<string name="timeoutForGpsComparisonsTitle">Timeout del GPS [sec]</string>
|
||||||
<string name="title">Titolo</string>
|
<string name="title">Titolo</string>
|
||||||
<string name="to">a</string>
|
<string name="to">a</string>
|
||||||
<string name="toggableRules">Regole reversibili</string>
|
<string name="toggleableRules">Regole reversibili</string>
|
||||||
<string name="toggle">reversibile</string>
|
<string name="toggle">reversibile</string>
|
||||||
<string name="toggleNotAllowed">La reversibilità al momento è disponibile solo per le regole che hanno come evento una etichetta NFC. Consulta l\'aiuto per i dettagli.</string>
|
<string name="toggleNotAllowed">La reversibilità al momento è disponibile solo per le regole che hanno come evento una etichetta NFC. Consulta l\'aiuto per i dettagli.</string>
|
||||||
<string name="toggleRule">Regola Reversibile</string>
|
<string name="toggleRule">Regola Reversibile</string>
|
||||||
|
|||||||
@@ -122,8 +122,8 @@
|
|||||||
<string name="timeframes">Tijdsbestek</string>
|
<string name="timeframes">Tijdsbestek</string>
|
||||||
<string name="helpTextTimeFrame">Als je een regel opgeeft met een tijdsbestek heb je twee keuzes. Je kunt kiezen tussen het binnengaan OF het verlaten van een tijdframe. In beide gevallen wordt een regel slechts eenmaal getriggerd. Dus als je een regel maakt met als trigger "ingaan tijdvak xyz" en je laat je geluidsprofiel veranderen in trillen dan betekent dat niet dat de telefoon automatisch gaat rinkelen als het tijdvak voorbij is. Als je dat wilt moet je een andere regel specificeren met een ander tijdsbestek.</string>
|
<string name="helpTextTimeFrame">Als je een regel opgeeft met een tijdsbestek heb je twee keuzes. Je kunt kiezen tussen het binnengaan OF het verlaten van een tijdframe. In beide gevallen wordt een regel slechts eenmaal getriggerd. Dus als je een regel maakt met als trigger "ingaan tijdvak xyz" en je laat je geluidsprofiel veranderen in trillen dan betekent dat niet dat de telefoon automatisch gaat rinkelen als het tijdvak voorbij is. Als je dat wilt moet je een andere regel specificeren met een ander tijdsbestek.</string>
|
||||||
<string name="helpTextSound">Op het hoofdscherm kunt u vergrendelingsgeluiden gebruiken om op regels gebaseerde geluidsveranderingen tijdelijk te vermijden. U kunt bijvoorbeeld in een situatie of plaats zijn waar ringtones normaal gesproken ok zijn, maar deze ene keer zou het storend zijn. De functie zal automatisch worden uitgeschakeld zodra de ingestelde tijd is verstreken. Klik op de + knop om de ingestelde tijd toe te voegen. Zodra het actief is kunt u het weer deactiveren met de toggle knop (en op die manier op regels gebaseerde geluidsveranderingen weer inschakelen).</string>
|
<string name="helpTextSound">Op het hoofdscherm kunt u vergrendelingsgeluiden gebruiken om op regels gebaseerde geluidsveranderingen tijdelijk te vermijden. U kunt bijvoorbeeld in een situatie of plaats zijn waar ringtones normaal gesproken ok zijn, maar deze ene keer zou het storend zijn. De functie zal automatisch worden uitgeschakeld zodra de ingestelde tijd is verstreken. Klik op de + knop om de ingestelde tijd toe te voegen. Zodra het actief is kunt u het weer deactiveren met de toggle knop (en op die manier op regels gebaseerde geluidsveranderingen weer inschakelen).</string>
|
||||||
<string name="toggableRules">Schakelbare regels</string>
|
<string name="toggleableRules">Schakelbare regels</string>
|
||||||
<string name="helpTextToggable">Regels hebben een vlag genaamd "Toggable". Dit betekent dat als een regel wordt uitgevoerd en daarna dezelfde triggers opnieuw van toepassing zijn, de regel zal worden uitgevoerd in een tegenovergestelde modus indien van toepassing. Momenteel gebeurt dit alleen in combinatie met NFC tags. Als je er twee keer op tikt en er is een toggable regel aan verbonden, zal het het tegenovergestelde doen van de huidige situatie, bv. wifi uitschakelen als het momenteel geactiveerd is.</string>
|
<string name="helpTextToggleable">Regels hebben een vlag genaamd "Toggable". Dit betekent dat als een regel wordt uitgevoerd en daarna dezelfde triggers opnieuw van toepassing zijn, de regel zal worden uitgevoerd in een tegenovergestelde modus indien van toepassing. Momenteel gebeurt dit alleen in combinatie met NFC tags. Als je er twee keer op tikt en er is een toggable regel aan verbonden, zal het het tegenovergestelde doen van de huidige situatie, bv. wifi uitschakelen als het momenteel geactiveerd is.</string>
|
||||||
<string name="helpTextProcessMonitoring">Als je een regel opgeeft met een procesmonitor, zal de applicatie elke x seconden controleren of er een proces is (je kunt dat in de instellingen wijzigen). Ik weet dat dit traag kan zijn, maar continu monitoren zou de batterij te snel leegmaken. En er is geen uitzending van het OS voor die gebeurtenis.</string>
|
<string name="helpTextProcessMonitoring">Als je een regel opgeeft met een procesmonitor, zal de applicatie elke x seconden controleren of er een proces is (je kunt dat in de instellingen wijzigen). Ik weet dat dit traag kan zijn, maar continu monitoren zou de batterij te snel leegmaken. En er is geen uitzending van het OS voor die gebeurtenis.</string>
|
||||||
<string name="helpTitleEnergySaving">Energiebesparing</string>
|
<string name="helpTitleEnergySaving">Energiebesparing</string>
|
||||||
<string name="helpTextEnergySaving">Veel fabrikanten van Android-toestellen proberen energie te besparen door de achtergrondactiviteit van draaiende apps te beperken. Helaas leidt dat er vaak toe dat die apps niet goed werken, Automation is daar één van. Zie dit om uit te vinden hoe je Automation kunt uitsluiten van deze maatregelen.</string>
|
<string name="helpTextEnergySaving">Veel fabrikanten van Android-toestellen proberen energie te besparen door de achtergrondactiviteit van draaiende apps te beperken. Helaas leidt dat er vaak toe dat die apps niet goed werken, Automation is daar één van. Zie dit om uit te vinden hoe je Automation kunt uitsluiten van deze maatregelen.</string>
|
||||||
@@ -300,7 +300,6 @@
|
|||||||
<string name="nfcTagFoundWithText">Tag gevonden met tekst:</string>
|
<string name="nfcTagFoundWithText">Tag gevonden met tekst:</string>
|
||||||
<string name="nfcUnsupportedEncoding">Niet ondersteunde codering:</string>
|
<string name="nfcUnsupportedEncoding">Niet ondersteunde codering:</string>
|
||||||
<string name="nfcNoNdefIntentBut">Geen NFC NDEF bedoeling, maar</string>
|
<string name="nfcNoNdefIntentBut">Geen NFC NDEF bedoeling, maar</string>
|
||||||
<string name="nfcNotSupportedInThisAndroidVersionYet">NFC nog niet ondersteund in deze Android versie.</string>
|
|
||||||
<string name="cantRunRule">Kan regels niet uitvoeren.</string>
|
<string name="cantRunRule">Kan regels niet uitvoeren.</string>
|
||||||
<string name="nfcApplyTagToRule">Pas Tag toe op regel</string>
|
<string name="nfcApplyTagToRule">Pas Tag toe op regel</string>
|
||||||
<string name="nfcTagReadSuccessfully">Tag succesvol gelezen.</string>
|
<string name="nfcTagReadSuccessfully">Tag succesvol gelezen.</string>
|
||||||
|
|||||||
@@ -129,8 +129,8 @@
|
|||||||
<string name="timeframes">Ramy czasowe</string>
|
<string name="timeframes">Ramy czasowe</string>
|
||||||
<string name="helpTextTimeFrame">Jeśli określisz regułę z przedziałem czasowym, masz dwie możliwości. Możesz wybrać między wprowadzeniem LUB opuszczeniem przedziału czasowego. Tak czy inaczej reguła jest uruchamiana tylko raz. Więc jeśli utworzysz regułę, która jako wyzwalacz ma „wprowadzanie przedziału czasowego xyz” i pozwolisz jej zmienić profil dźwiękowy na wibracje, nie oznacza to, że telefon automatycznie zadzwoni, gdy przedział czasowy się skończy. Jeśli chcesz, musisz określić inną regułę z innym przedziałem czasowym.</string>
|
<string name="helpTextTimeFrame">Jeśli określisz regułę z przedziałem czasowym, masz dwie możliwości. Możesz wybrać między wprowadzeniem LUB opuszczeniem przedziału czasowego. Tak czy inaczej reguła jest uruchamiana tylko raz. Więc jeśli utworzysz regułę, która jako wyzwalacz ma „wprowadzanie przedziału czasowego xyz” i pozwolisz jej zmienić profil dźwiękowy na wibracje, nie oznacza to, że telefon automatycznie zadzwoni, gdy przedział czasowy się skończy. Jeśli chcesz, musisz określić inną regułę z innym przedziałem czasowym.</string>
|
||||||
<string name="helpTextSound">On the main screen you can use lock sound changes to temporarily avoid rule based sound changes. E.g. you may be in a situation or place where usually ringtones are ok, but this one time it would be disturbing. The feature will automatically deactivate once the configured time has elapsed. Click the + button to add the given amount of time. Once it is active you may deactivate it again using the toggle button (and that way enable rule based sound changes again).</string>
|
<string name="helpTextSound">On the main screen you can use lock sound changes to temporarily avoid rule based sound changes. E.g. you may be in a situation or place where usually ringtones are ok, but this one time it would be disturbing. The feature will automatically deactivate once the configured time has elapsed. Click the + button to add the given amount of time. Once it is active you may deactivate it again using the toggle button (and that way enable rule based sound changes again).</string>
|
||||||
<string name="toggableRules">Zasady naprzemienności</string>
|
<string name="toggleableRules">Zasady naprzemienności</string>
|
||||||
<string name="helpTextToggable">Reguły mają flagę o nazwie \"Toggable\". Oznacza to, że jeśli reguła zostanie wykonana, a następnie ponownie zostaną zastosowane te same wyzwalacze, reguła zostanie wykonana w odwrotnym trybie, jeśli ma to zastosowanie. Obecnie będzie to miało miejsce tylko w połączeniu z tagami NFC. Jeśli stukniesz je dwukrotnie i jest z nimi powiązana reguła, którą można przełączać, zrobi to odwrotnie niż w obecnej sytuacji, np. dezaktywuj Wi-Fi, jeśli jest aktualnie włączone.</string>
|
<string name="helpTextToggleable">Reguły mają flagę o nazwie \"Toggable\". Oznacza to, że jeśli reguła zostanie wykonana, a następnie ponownie zostaną zastosowane te same wyzwalacze, reguła zostanie wykonana w odwrotnym trybie, jeśli ma to zastosowanie. Obecnie będzie to miało miejsce tylko w połączeniu z tagami NFC. Jeśli stukniesz je dwukrotnie i jest z nimi powiązana reguła, którą można przełączać, zrobi to odwrotnie niż w obecnej sytuacji, np. dezaktywuj Wi-Fi, jeśli jest aktualnie włączone.</string>
|
||||||
<string name="helpTextProcessMonitoring">Jeśli określisz regułę za pomocą monitora procesu, aplikacja będzie sprawdzać ten proces co x sekund (możesz to zmienić w ustawieniach). Wiem, że może to być trochę powolne, ale ciągłe monitorowanie spowodowałoby zbyt szybkie wyczerpanie baterii. I nie ma transmisji z systemu operacyjnego dla tego wydarzenia.</string>
|
<string name="helpTextProcessMonitoring">Jeśli określisz regułę za pomocą monitora procesu, aplikacja będzie sprawdzać ten proces co x sekund (możesz to zmienić w ustawieniach). Wiem, że może to być trochę powolne, ale ciągłe monitorowanie spowodowałoby zbyt szybkie wyczerpanie baterii. I nie ma transmisji z systemu operacyjnego dla tego wydarzenia.</string>
|
||||||
<string name="helpTitleEnergySaving">Oszczędzanie energii</string>
|
<string name="helpTitleEnergySaving">Oszczędzanie energii</string>
|
||||||
<string name="helpTextEnergySaving">Wielu producentów urządzeń z systemem Android stara się oszczędzać energię, ograniczając działanie uruchomionych aplikacji w tle. Niestety często powoduje to, że te aplikacje nie działają poprawnie, wśród nich jest Automation. Zobacz tę <a href="https://dontkillmyapp.com/">webpage</a>, aby dowiedzieć się, jak wykluczyć automatyzację z tych środków.</string>
|
<string name="helpTextEnergySaving">Wielu producentów urządzeń z systemem Android stara się oszczędzać energię, ograniczając działanie uruchomionych aplikacji w tle. Niestety często powoduje to, że te aplikacje nie działają poprawnie, wśród nich jest Automation. Zobacz tę <a href="https://dontkillmyapp.com/">webpage</a>, aby dowiedzieć się, jak wykluczyć automatyzację z tych środków.</string>
|
||||||
@@ -365,7 +365,6 @@
|
|||||||
<string name="nfcTagFoundWithText">Znaleziono tag z tekstem:</string>
|
<string name="nfcTagFoundWithText">Znaleziono tag z tekstem:</string>
|
||||||
<string name="nfcUnsupportedEncoding">Nieobsługiwane kodowanie:</string>
|
<string name="nfcUnsupportedEncoding">Nieobsługiwane kodowanie:</string>
|
||||||
<string name="nfcNoNdefIntentBut"> Brak intencji NFC NDEF, ale</string>
|
<string name="nfcNoNdefIntentBut"> Brak intencji NFC NDEF, ale</string>
|
||||||
<string name="nfcNotSupportedInThisAndroidVersionYet">NFC nie jest jeszcze obsługiwane w tej wersji Androida.</string>
|
|
||||||
<string name="cantRunRule">Nie można uruchomić reguł.</string>
|
<string name="cantRunRule">Nie można uruchomić reguł.</string>
|
||||||
<string name="cantDownloadTooFewRequestsInSettings" translatable="false">Can\'t download anything. Amount of http requests in settings is lower than 1.</string>
|
<string name="cantDownloadTooFewRequestsInSettings" translatable="false">Can\'t download anything. Amount of http requests in settings is lower than 1.</string>
|
||||||
<string name="nfcApplyTagToRule">Zastosuj tag do reguły</string>
|
<string name="nfcApplyTagToRule">Zastosuj tag do reguły</string>
|
||||||
|
|||||||
@@ -124,8 +124,8 @@
|
|||||||
<string name="timeframes">Временные интервалы</string>
|
<string name="timeframes">Временные интервалы</string>
|
||||||
<string name="helpTextTimeFrame">Если вы указываете правило с временными интервалами, у вас есть два варианта. Вы можете выбрать между началом ИЛИ окончанием временного интервала. Правило срабатывает только один раз. Поэтому, если вы создадите правило с "начало временного интервала" в качестве триггера и позволите ему изменить ваш звуковой профиль на вибрацию, это не означает, что телефон автоматически перейдет в обычный режим, когда временной интервал закончится. Если вам это необходимо,создайте другое правило с другим временным интервалом.</string>
|
<string name="helpTextTimeFrame">Если вы указываете правило с временными интервалами, у вас есть два варианта. Вы можете выбрать между началом ИЛИ окончанием временного интервала. Правило срабатывает только один раз. Поэтому, если вы создадите правило с "начало временного интервала" в качестве триггера и позволите ему изменить ваш звуковой профиль на вибрацию, это не означает, что телефон автоматически перейдет в обычный режим, когда временной интервал закончится. Если вам это необходимо,создайте другое правило с другим временным интервалом.</string>
|
||||||
<string name="helpTextSound">На главном экране есть возможность заблокировать изменение уровня громкости вызова сконфигурированными правилами, например, вы можете быть в ситуации или месте, где необходим обычный режим звука, но в настоящее время его использовать нельзя. Эта функция автоматически отключится по истечении заданного времени. Нажмите кнопку +, чтобы задать необходимый период времени. После включения, вы можете вручную выключить его с помощью кнопки переключения (и таким образом снова включить изменения громкости звука).</string>
|
<string name="helpTextSound">На главном экране есть возможность заблокировать изменение уровня громкости вызова сконфигурированными правилами, например, вы можете быть в ситуации или месте, где необходим обычный режим звука, но в настоящее время его использовать нельзя. Эта функция автоматически отключится по истечении заданного времени. Нажмите кнопку +, чтобы задать необходимый период времени. После включения, вы можете вручную выключить его с помощью кнопки переключения (и таким образом снова включить изменения громкости звука).</string>
|
||||||
<string name="toggableRules">Переключаемые правила</string>
|
<string name="toggleableRules">Переключаемые правила</string>
|
||||||
<string name="helpTextToggable">Правила имеют флаг "Переключаемый". Это означает, что если правило выполняется, а затем те же самые триггеры применяются снова, то правило будет выполняться в противоположное состояние, если это возможно. В настоящее время это будет происходить только с NFC-метками. Если вы поднесете телефон к NFC-метке повтороно и с ними будет связано правило с флагом “Переключаемый”, оно будет выполнять противоположное текущему состоянию действие, например, Wi-Fi будет отключен, если он в данный момент включен.</string>
|
<string name="helpTextToggleable">Правила имеют флаг "Переключаемый". Это означает, что если правило выполняется, а затем те же самые триггеры применяются снова, то правило будет выполняться в противоположное состояние, если это возможно. В настоящее время это будет происходить только с NFC-метками. Если вы поднесете телефон к NFC-метке повтороно и с ними будет связано правило с флагом “Переключаемый”, оно будет выполнять противоположное текущему состоянию действие, например, Wi-Fi будет отключен, если он в данный момент включен.</string>
|
||||||
<string name="helpTextProcessMonitoring">Если вы создадите правило мониторинга процесса, приложение будет проверять наличие этого процесса каждые x секунд (период может быть изменён в настройках). Увеличение периода мониторинга приведёт к задержке срабатывания правила, но частый мониторинг повышает потребление батареи. И Android не отправляет широковещательные сообщения такого рода.</string>
|
<string name="helpTextProcessMonitoring">Если вы создадите правило мониторинга процесса, приложение будет проверять наличие этого процесса каждые x секунд (период может быть изменён в настройках). Увеличение периода мониторинга приведёт к задержке срабатывания правила, но частый мониторинг повышает потребление батареи. И Android не отправляет широковещательные сообщения такого рода.</string>
|
||||||
<string name="helpTitleEnergySaving">Энергосбережение</string>
|
<string name="helpTitleEnergySaving">Энергосбережение</string>
|
||||||
<string name="speedMaximumTimeBetweenLocations">Максимальное время между 2 местоположениями для определения скорости.</string>
|
<string name="speedMaximumTimeBetweenLocations">Максимальное время между 2 местоположениями для определения скорости.</string>
|
||||||
@@ -334,7 +334,6 @@
|
|||||||
<string name="nfcTagFoundWithText">Найдена метка с текстом:</string>
|
<string name="nfcTagFoundWithText">Найдена метка с текстом:</string>
|
||||||
<string name="nfcUnsupportedEncoding">Неподдерживаемая кодировка:</string>
|
<string name="nfcUnsupportedEncoding">Неподдерживаемая кодировка:</string>
|
||||||
<string name="nfcNoNdefIntentBut">Нет NFC NDEF Intent, но</string>
|
<string name="nfcNoNdefIntentBut">Нет NFC NDEF Intent, но</string>
|
||||||
<string name="nfcNotSupportedInThisAndroidVersionYet">NFC пока не поддерживается в этой версии Android.</string>
|
|
||||||
<string name="cantRunRule">Не удается запустить правила.</string>
|
<string name="cantRunRule">Не удается запустить правила.</string>
|
||||||
<string name="cantDownloadTooFewRequestsInSettings" translatable="false">Не получается загрузить. Количество http запросов в настройках меньше 1.</string>
|
<string name="cantDownloadTooFewRequestsInSettings" translatable="false">Не получается загрузить. Количество http запросов в настройках меньше 1.</string>
|
||||||
<string name="nfcApplyTagToRule">Применить метку к правилу</string>
|
<string name="nfcApplyTagToRule">Применить метку к правилу</string>
|
||||||
|
|||||||
@@ -115,8 +115,8 @@
|
|||||||
<string name="timeframes">时间范围</string>
|
<string name="timeframes">时间范围</string>
|
||||||
<string name="helpTextTimeFrame">指定时间范围规则时有两种选择。您可以选择进入或离开时间范围。无论哪种方式,规则都只会触发一次。因此,如果您创建一个使用触发器“进入时间范围 XYZ”的规则,让它将响铃模式更改为振动,这并不意味着手机会在时间范围结束时自动更改为响铃。如果想要的话,您需要指定另一个规则,使用另一个时间范围。</string>
|
<string name="helpTextTimeFrame">指定时间范围规则时有两种选择。您可以选择进入或离开时间范围。无论哪种方式,规则都只会触发一次。因此,如果您创建一个使用触发器“进入时间范围 XYZ”的规则,让它将响铃模式更改为振动,这并不意味着手机会在时间范围结束时自动更改为响铃。如果想要的话,您需要指定另一个规则,使用另一个时间范围。</string>
|
||||||
<string name="helpTextSound">在主屏幕上,您可以使用“锁定声音更改”来暂时禁用基于规则的声音更改。例如,您可能在通常允许响铃的情况或地点,但这一次响铃会打扰。一旦配置的时间过去,此功能将自动停用。点击 + 按钮以添加给定的时间。当此功能启用时,您可以使用切换按钮将其停用(即重新启用基于规则的声音更改)。</string>
|
<string name="helpTextSound">在主屏幕上,您可以使用“锁定声音更改”来暂时禁用基于规则的声音更改。例如,您可能在通常允许响铃的情况或地点,但这一次响铃会打扰。一旦配置的时间过去,此功能将自动停用。点击 + 按钮以添加给定的时间。当此功能启用时,您可以使用切换按钮将其停用(即重新启用基于规则的声音更改)。</string>
|
||||||
<string name="toggableRules">可切换规则</string>
|
<string name="toggleableRules">可切换规则</string>
|
||||||
<string name="helpTextToggable">规则有一个称为“可切换”的设置。它的意思是执行规则后,相同触发器再次触发时,规则会以相反方式再次执行(如果适用的话)。目前这只能和 NFC 标签一起使用。如果在关联了可切换规则时触碰两次标签,就会执行与当前状态相反的操作,例如 WLAN 当前开启时将其关闭。</string>
|
<string name="helpTextToggleable">规则有一个称为“可切换”的设置。它的意思是执行规则后,相同触发器再次触发时,规则会以相反方式再次执行(如果适用的话)。目前这只能和 NFC 标签一起使用。如果在关联了可切换规则时触碰两次标签,就会执行与当前状态相反的操作,例如 WLAN 当前开启时将其关闭。</string>
|
||||||
<string name="helpTextProcessMonitoring">如果指定了使用进程监控的规则,这个应用就会每 X 秒检查一次该进程(X 可以在设置中更改)。我知道这可能有点慢,但持续监控会很快耗尽电池电量。并且该事件没有来自操作系统的广播。</string>
|
<string name="helpTextProcessMonitoring">如果指定了使用进程监控的规则,这个应用就会每 X 秒检查一次该进程(X 可以在设置中更改)。我知道这可能有点慢,但持续监控会很快耗尽电池电量。并且该事件没有来自操作系统的广播。</string>
|
||||||
<string name="helpTitleEnergySaving">节能</string>
|
<string name="helpTitleEnergySaving">节能</string>
|
||||||
<string name="helpTextEnergySaving">很多 Android 设备制造商试图通过限制应用的后台活动来节省电量。不幸的是,这通常会导致这些应用无法正常工作,Automation 就是其中之一。请看这个<a href="https://dontkillmyapp.com/">网页</a>,查找如何从这些限制中排除 Automation。</string>
|
<string name="helpTextEnergySaving">很多 Android 设备制造商试图通过限制应用的后台活动来节省电量。不幸的是,这通常会导致这些应用无法正常工作,Automation 就是其中之一。请看这个<a href="https://dontkillmyapp.com/">网页</a>,查找如何从这些限制中排除 Automation。</string>
|
||||||
@@ -296,7 +296,6 @@
|
|||||||
<string name="nfcTagFoundWithText">找到标签,文本为:</string>
|
<string name="nfcTagFoundWithText">找到标签,文本为:</string>
|
||||||
<string name="nfcUnsupportedEncoding">不支持的编码:</string>
|
<string name="nfcUnsupportedEncoding">不支持的编码:</string>
|
||||||
<string name="nfcNoNdefIntentBut">没有 NFC NDEF Intent,但是</string>
|
<string name="nfcNoNdefIntentBut">没有 NFC NDEF Intent,但是</string>
|
||||||
<string name="nfcNotSupportedInThisAndroidVersionYet">此 Android 版本尚不支持 NFC。</string>
|
|
||||||
<string name="cantRunRule">无法运行规则。</string>
|
<string name="cantRunRule">无法运行规则。</string>
|
||||||
<string name="nfcApplyTagToRule">将标签应用到规则</string>
|
<string name="nfcApplyTagToRule">将标签应用到规则</string>
|
||||||
<string name="nfcTagReadSuccessfully">标签读取成功。</string>
|
<string name="nfcTagReadSuccessfully">标签读取成功。</string>
|
||||||
|
|||||||
@@ -130,8 +130,8 @@
|
|||||||
<string name="timeframes">TimeFrames</string>
|
<string name="timeframes">TimeFrames</string>
|
||||||
<string name="helpTextTimeFrame">If you specify a rule with a timeframe you have two choices. You can choose between entering OR leaving a timeframe. Either way a rule is triggered only once. So if you create a rule that has \"entering timeframe xyz\" as trigger and let it change your sound profile to vibrate that does not mean that the phone will automatically go to ring if the timeframe is over. If you want that you need to specify another rule with another timeframe.</string>
|
<string name="helpTextTimeFrame">If you specify a rule with a timeframe you have two choices. You can choose between entering OR leaving a timeframe. Either way a rule is triggered only once. So if you create a rule that has \"entering timeframe xyz\" as trigger and let it change your sound profile to vibrate that does not mean that the phone will automatically go to ring if the timeframe is over. If you want that you need to specify another rule with another timeframe.</string>
|
||||||
<string name="helpTextSound">On the main screen you can use lock sound changes to temporarily avoid rule based sound changes. E.g. you may be in a situation or place where usually ringtones are ok, but this one time it would be disturbing. The feature will automatically deactivate once the configured time has elapsed. Click the + button to add the given amount of time. Once it is active you may deactivate it again using the toggle button (and that way enable rule based sound changes again).</string>
|
<string name="helpTextSound">On the main screen you can use lock sound changes to temporarily avoid rule based sound changes. E.g. you may be in a situation or place where usually ringtones are ok, but this one time it would be disturbing. The feature will automatically deactivate once the configured time has elapsed. Click the + button to add the given amount of time. Once it is active you may deactivate it again using the toggle button (and that way enable rule based sound changes again).</string>
|
||||||
<string name="toggableRules">Toggable rules</string>
|
<string name="toggleableRules">Toggleable rules</string>
|
||||||
<string name="helpTextToggable">Rules have a flag called \"Toggable\". This means that if a rule is executed and afterwards the same triggers apply again the rule will be executed in an opposite mode where applicable. Currently this will only happen in conjunction with NFC tags. If you tap them twice and there\'s a toggable rule associated with it it will do the opposite of the current situation, e.g. deactivate wifi if it\'s currently activated.</string>
|
<string name="helpTextToggleable">Rules have a flag called \"Toggable\". This means that if a rule is executed and afterwards the same triggers apply again the rule will be executed in an opposite mode where applicable. Currently this will only happen in conjunction with NFC tags. If you tap them twice and there\'s a toggleable rule associated with it it will do the opposite of the current situation, e.g. deactivate wifi if it\'s currently activated.</string>
|
||||||
<string name="helpTextProcessMonitoring">If you specify a rule with a process monitor the application will check for that process every x seconds (you can change that in settings). I know that can be kind of slow, but continuous monitoring would drain the battery to fast. And there is no broadcast from the OS for that event.</string>
|
<string name="helpTextProcessMonitoring">If you specify a rule with a process monitor the application will check for that process every x seconds (you can change that in settings). I know that can be kind of slow, but continuous monitoring would drain the battery to fast. And there is no broadcast from the OS for that event.</string>
|
||||||
<string name="helpTitleEnergySaving">Energy saving</string>
|
<string name="helpTitleEnergySaving">Energy saving</string>
|
||||||
<string name="helpTextEnergySaving">Many Android device manufacturers try to save energy by limiting the background activity of running apps. Unfortunately that often results in those apps not working properly, Automation is amongst these. See this <a href="https://dontkillmyapp.com/">webpage</a> on how to find out how to exclude Automation from those measures.</string>
|
<string name="helpTextEnergySaving">Many Android device manufacturers try to save energy by limiting the background activity of running apps. Unfortunately that often results in those apps not working properly, Automation is amongst these. See this <a href="https://dontkillmyapp.com/">webpage</a> on how to find out how to exclude Automation from those measures.</string>
|
||||||
@@ -366,7 +366,6 @@
|
|||||||
<string name="nfcTagFoundWithText">Tag found with text:</string>
|
<string name="nfcTagFoundWithText">Tag found with text:</string>
|
||||||
<string name="nfcUnsupportedEncoding">Unsupported encoding:</string>
|
<string name="nfcUnsupportedEncoding">Unsupported encoding:</string>
|
||||||
<string name="nfcNoNdefIntentBut">No NFC NDEF intent, but</string>
|
<string name="nfcNoNdefIntentBut">No NFC NDEF intent, but</string>
|
||||||
<string name="nfcNotSupportedInThisAndroidVersionYet">NFC not supported in this Android version, yet.</string>
|
|
||||||
<string name="cantRunRule">Cannot run rules.</string>
|
<string name="cantRunRule">Cannot run rules.</string>
|
||||||
<string name="cantDownloadTooFewRequestsInSettings" translatable="false">Can\'t download anything. Amount of http requests in settings is lower than 1.</string>
|
<string name="cantDownloadTooFewRequestsInSettings" translatable="false">Can\'t download anything. Amount of http requests in settings is lower than 1.</string>
|
||||||
<string name="nfcApplyTagToRule">Apply tag to rule</string>
|
<string name="nfcApplyTagToRule">Apply tag to rule</string>
|
||||||
@@ -970,4 +969,5 @@
|
|||||||
<string name="close">close</string>
|
<string name="close">close</string>
|
||||||
<string name="far">far</string>
|
<string name="far">far</string>
|
||||||
<string name="proximityText">proximity is between \"%1$s\" and \"%2$s\"</string>
|
<string name="proximityText">proximity is between \"%1$s\" and \"%2$s\"</string>
|
||||||
|
<string name="pleaseWait">Please wait.</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
* Fixed: Crash in Play Store version when starting the service
|
||||||
|
* Fixed: trigger url result was not stored correctly in a variable
|
||||||
|
* Fixed: In case of HTTP errors during trigger url actions, the return value in the variable was not set according to documentation.
|
||||||
|
* Fixed: Crash when clicking +/- when creating/editing TimeFrame trigger
|
||||||
|
* Fixed: Permission BLUETOOTH_CONNECT requested for Bluetooth trigger editor in Google Play version
|
||||||
|
* Fixed: Airplane mode trigger didn't work if no locations where defined.
|
||||||
|
* Fixed: Vibrate action didn't work on some devices
|
||||||
|
* Fixed: Variable trigger didn't always compare correctly.
|
||||||
|
* Fixed: Permission check for ability to schedule exact timers
|
||||||
|
* Fixed: Crash in Google Play version
|
||||||
|
* Fixed: Added waiting period for vibrations and separate thread for trying a sequence.
|
||||||
|
* Fixed: Buttons in NFC screen weren't enabled.
|
||||||
|
* Fixed: NFC tag triggers didn't cause a second execution if a tag was removed and presented again.
|
||||||
|
* Fixed: Package name in startActivity action was incorrectly set to an empty String instead of leaving it as null. That sometimes caused startActivity to have no effect.
|
||||||
|
* Added Possibility to select UI theme, hence enabling modern UI designs
|
||||||
@@ -1,4 +1,15 @@
|
|||||||
* Fixed: Crash in Play Store version when starting the service
|
* Fixed: Crash in Play Store version when starting the service
|
||||||
* Fixed: trigger url result was not stored correctly in a variable
|
* Fixed: trigger url result was not stored correctly in a variable
|
||||||
|
* Fixed: In case of HTTP errors during trigger url actions, the return value in the variable was not set according to documentation.
|
||||||
* Fixed: Crash when clicking +/- when creating/editing TimeFrame trigger
|
* Fixed: Crash when clicking +/- when creating/editing TimeFrame trigger
|
||||||
|
* Fixed: Permission BLUETOOTH_CONNECT requested for Bluetooth trigger editor in Google Play version
|
||||||
|
* Fixed: Airplane mode trigger didn't work if no locations where defined.
|
||||||
|
* Fixed: Vibrate action didn't work on some devices
|
||||||
|
* Fixed: Variable trigger didn't always compare correctly.
|
||||||
|
* Fixed: Permission check for ability to schedule exact timers
|
||||||
|
* Fixed: Crash in Google Play version
|
||||||
|
* Fixed: Added waiting period for vibrations and separate thread for trying a sequence.
|
||||||
|
* Fixed: Buttons in NFC screen weren't enabled.
|
||||||
|
* Fixed: NFC tag triggers didn't cause a second execution if a tag was removed and presented again.
|
||||||
|
* Fixed: Package name in startActivity action was incorrectly set to an empty String instead of leaving it as null. That sometimes caused startActivity to have no effect.
|
||||||
* Added Possibility to select UI theme, hence enabling modern UI designs
|
* Added Possibility to select UI theme, hence enabling modern UI designs
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
* Corregido: Fallo en la versión de Play Store al iniciar el servicio
|
||||||
|
* Corregido: el resultado de la URL de disparo no se almacenó correctamente en una variable
|
||||||
|
* Corregido: En caso de errores HTTP durante las acciones de la URL de disparo, el valor de retorno en la variable no se estableció según la documentación.
|
||||||
|
* Corregido: Se cierra al hacer clic +/- al crear/editar el disparador TimeFrame
|
||||||
|
* Corregido: Se solicita permiso BLUETOOTH_CONNECT para el editor de disparos Bluetooth en la versión de Google Play
|
||||||
|
* Corregido: El disparador en modo avión no funcionaba si no se definían ubicaciones.
|
||||||
|
* Corregido: La acción vibratoria no funcionó en algunos dispositivos
|
||||||
|
* Corregido: El disparador variable no siempre se comparaba correctamente.
|
||||||
|
* Corregido: Comprobación de permisos para la capacidad de programar temporizadores exactos
|
||||||
|
* Corregido: Bloqueo en la versión de Google Play
|
||||||
|
* Corregido: Se añadió el periodo de espera para vibraciones y un hilo separado para probar una secuencia.
|
||||||
|
* Corregido: Los botones en la pantalla NFC no estaban activados.
|
||||||
|
* Corregido: Los disparadores de etiquetas NFC no provocaban una segunda ejecución si una etiqueta se eliminaba y se mostraba de nuevo.
|
||||||
|
* Corregido: El nombre del paquete en la acción startActivity se estableció incorrectamente como una cadena vacía en lugar de dejarla como nula. Eso a veces hacía que startActivity no tuviera ningún efecto.
|
||||||
|
* Se añadió la posibilidad de seleccionar el tema de la interfaz, permitiendo así diseños modernos de interfazes
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
* Corrigé : plantage dans la version Play Store lors du lancement du service
|
||||||
|
* Corrigé : le résultat de l'URL de déclenchement n'a pas été correctement stocké dans une variable
|
||||||
|
* Corrigé : En cas d'erreurs HTTP lors des actions d'URL de déclenchement, la valeur de retour dans la variable n'a pas été définie selon la documentation.
|
||||||
|
* Corrigé : Plantage lors du clic +/- lors de la création/modification du déclencheur TimeFrame
|
||||||
|
* Corrigé : Permission BLUETOOTH_CONNECT demandée pour l'éditeur de déclencheurs Bluetooth dans la version Google Play
|
||||||
|
* Corrigé : Le déclencheur en mode avion ne fonctionnait pas si aucun emplacement n'était défini.
|
||||||
|
* Corrigé : L'action vibrante ne fonctionnait pas sur certains appareils
|
||||||
|
* Corrigé : Le déclencheur variable ne correspondait pas toujours correctement.
|
||||||
|
* Corrigé : Vérification des permissions pour la possibilité de programmer des minuteurs exacts
|
||||||
|
* Corrigé : plantage dans la version Google Play
|
||||||
|
* Corrigé : Délai d'attente ajouté pour les vibrations et fil séparé pour essayer une séquence.
|
||||||
|
* Corrigé : Les boutons de l'écran NFC n'étaient pas activés.
|
||||||
|
* Corrigé : Les déclencheurs de balises NFC ne provoquaient pas une seconde exécution si une balise était retirée et présentée à nouveau.
|
||||||
|
* Corrigé : Le nom du paquet dans l'action startActivity a été incorrectement défini sur une chaîne vide au lieu de la laisser nulle. Cela empêchait parfois startActivity d'avoir aucun effet.
|
||||||
|
* Possibilité supplémentaire de sélectionner le thème de l'interface utilisateur, permettant ainsi des conceptions modernes d'interfaces utilisateur
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
* Corretto: crash nella versione Play Store all'avvio del servizio
|
||||||
|
* Corretto: il risultato dell'URL di trigger non è stato memorizzato correttamente in una variabile
|
||||||
|
* Corretto: In caso di errori HTTP durante le azioni dell'URL di trigger, il valore di ritorno nella variabile non è stato impostato secondo la documentazione.
|
||||||
|
* Corretto: crash quando clicca +/- quando si crea/modifica il trigger TimeFrame
|
||||||
|
* Corretto: Richiesta BLUETOOTH_CONNECT permesso per l'editor di trigger Bluetooth nella versione di Google Play
|
||||||
|
* Corretto: il trigger della modalità aereo non funzionava se non erano definite le località.
|
||||||
|
* Corretto: l'azione vibratoria non funzionava su alcuni dispositivi
|
||||||
|
* Corretto: Il grilletto variabile non sempre si confrontava correttamente.
|
||||||
|
* Corretto: Controllo dei permessi per la possibilità di programmare timer esatti
|
||||||
|
* Corretto: crash nella versione Google Play
|
||||||
|
* Corretto: Periodo di attesa aggiunto per le vibrazioni e thread separato per provare una sequenza.
|
||||||
|
* Corretto: I pulsanti nello schermo NFC non erano attivati.
|
||||||
|
* Corretto: i trigger dei tag NFC non causavano una seconda esecuzione se un tag veniva rimosso e presentato di nuovo.
|
||||||
|
* Correto: Il nome del pacchetto nell'azione startActivity era impostato erroneamente come una stringa vuota invece di lasciarla come null. Questo a volte causava che startActivity non avesse alcun effetto.
|
||||||
|
* Aggiunta la possibilità di selezionare il tema UI, permettendo così design moderni di UI
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
* Opgelost: Crash in Play Store-versie bij het starten van de dienst
|
||||||
|
* Opgelost: trigger-urlresultaat werd niet correct opgeslagen in een variabele
|
||||||
|
* Opgelost: In geval van HTTP-fouten tijdens trigger-url-acties werd de returnwaarde in de variabele niet ingesteld volgens de documentatie.
|
||||||
|
* Opgelost: Crash bij het klikken op +/- bij het maken/bewerken van de TimeFrame-trigger
|
||||||
|
* Opgelost: Toestemming BLUETOOTH_CONNECT gevraagd voor Bluetooth trigger-editor in de Google Play-versie
|
||||||
|
* Opgelost: De vliegtuigmodus-trigger werkte niet als er geen locaties werden gedefinieerd.
|
||||||
|
* Vast: Vibratieactie werkte niet op sommige apparaten
|
||||||
|
* Opgelost: Variabele trigger vergeleken niet altijd correct.
|
||||||
|
* Opgelost: Toestemmingscontrole voor de mogelijkheid om exacte timers te plannen
|
||||||
|
* Opgelost: Crash in de Google Play-versie
|
||||||
|
* Opgelost: Wachttijd toegevoegd voor trillingen en aparte draad voor het proberen van een sequentie.
|
||||||
|
* Opgelost: Knoppen in het NFC-scherm waren niet ingeschakeld.
|
||||||
|
* Opgelost: NFC-tag-triggers veroorzaakten geen tweede uitvoering als een tag werd verwijderd en opnieuw werd weergegeven.
|
||||||
|
* Opgelost: Pakketnaam in de startActivity-actie werd verkeerd ingesteld op een lege string in plaats van deze als null te laten. Dat zorgde er soms voor dat startActivity geen effect had.
|
||||||
|
* Mogelijkheid toegevoegd om UI-thema te selecteren, waardoor moderne UI-ontwerpen mogelijk zijn
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
* Naprawiono: Awaria w wersji ze sklepu Play podczas uruchamiania usługi
|
||||||
|
* Naprawione: wynik URL wyzwalacza nie został poprawnie zapisany w zmiennej
|
||||||
|
* Naprawione: W przypadku błędów HTTP podczas akcji trigger url, wartość zwrotu w zmiennej nie była ustalana zgodnie z dokumentacją.
|
||||||
|
* Naprawione: Crash po kliknięciu +/- podczas tworzenia/edytowania wyzwalacza TimeFrame
|
||||||
|
* Naprawiono: Wymagano BLUETOOTH_CONNECT zgody na edytor wyzwalaczy Bluetooth w wersji Google Play
|
||||||
|
* Naprawione: Wyzwalacz trybu samolotowego nie działał, jeśli nie były zdefiniowane żadne lokalizacje.
|
||||||
|
* Naprawione: Wibracja nie działała na niektórych urządzeniach
|
||||||
|
* Naprawione: Zmienny spust nie zawsze się poprawnie porównywał.
|
||||||
|
* Naprawione: Sprawdzenie zgody na możliwość dokładnego harmonogramowania timerów
|
||||||
|
* Naprawiono: Awaria w wersji Google Play
|
||||||
|
* Naprawione: Dodano okres oczekiwania na wibracje i osobny wątek do próby sekwencji.
|
||||||
|
* Naprawione: Przyciski na ekranie NFC nie były włączone.
|
||||||
|
* Naprawiono: wyzwalacze tagów NFC nie powodowały drugiego uruchomienia, jeśli tag został usunięty i ponownie wyświetlony.
|
||||||
|
* Naprawione: Nazwa pakietu w akcji startActivity została błędnie ustawiona na pusty ciąg znaków zamiast pozostawić go jako null. Czasami powodowało to, że startActivity nie miało żadnego wpływu.
|
||||||
|
* Dodana możliwość wyboru motywu UI, co umożliwia nowoczesne projekty UI
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
* Исправлено: вылеты в версии Play Store при запуске сервиса
|
||||||
|
* Исправлено: результат URL-триггера был некорректно сохранён в переменной
|
||||||
|
* Исправлено: в случае ошибок HTTP во время действий триггера URL возвратное значение в переменной не было установлено согласно документации.
|
||||||
|
* Исправлено: вылеты при нажатии +/- при создании/редактировании триггера TimeFrame
|
||||||
|
* Исправлено: запро BLUETOOTH_CONNECT шено разрешение на редактор триггеров Bluetooth в версии Google Play
|
||||||
|
* Исправлено: триггер режима самолёта не работал, если локации не были определены.
|
||||||
|
* Исправлено: вибрация не работала на некоторых устройствах
|
||||||
|
* Исправлено: Переменный триггер не всегда совпадал правильно.
|
||||||
|
* Исправлено: проверка разрешения на возможность распланировать точные таймеры
|
||||||
|
* Исправлено: сбой в версии Google Play
|
||||||
|
* Исправлено: добавлен период ожидания вибраций и отдельная резьба для пробы последовательности.
|
||||||
|
* Исправлено: кнопки на экране NFC не были включены.
|
||||||
|
* Исправлено: триггеры NFC-тегов не вызывали второе выполнение при удалении и повторном представлении тега.
|
||||||
|
* Исправлено: имя пакета в действии startActivity было неправильно установлено на пустую строку вместо того, чтобы оставить её как null. Иногда это не приводило к тому, что startActivity не действовала.
|
||||||
|
* Добавлена возможность выбора темы интерфейса, что позволило создать современные дизайны интерфейса
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
* 已修复:启动服务时 Play 商店版本崩溃
|
||||||
|
* 已修复:触发URL结果未正确存储在变量中
|
||||||
|
* 已修复:在触发 URL作中出现 HTTP 错误时,文档中未设置变量的返回值。
|
||||||
|
* 已修复:创建/编辑时间框架触发器时点击 +/- 时会崩溃
|
||||||
|
* 已修复:BLUETOOTH_CONNECT请求在 Google Play 版本中使用蓝牙触发编辑器的权限
|
||||||
|
* 已修复:如果没有指定位置,飞行模式触发器无法使用。
|
||||||
|
* 已修复:振动动作在某些设备上无法使用
|
||||||
|
* 修正:可变触发器并不总是能正确比较。
|
||||||
|
* 已修复:权限检查以确定准确定时器
|
||||||
|
* 已修复:Google Play版本崩溃
|
||||||
|
* 修正:增加了振动等待时间,并有单独的线程用于尝试序列。
|
||||||
|
* 已修复:NFC屏幕中的按钮未被启用。
|
||||||
|
* 修正:如果标签被移除并再次呈现,NFC标签触发不会导致第二次执行。
|
||||||
|
* 已修复:startActivity 动作中的包名错误地设置为空字符串,而不是保持空。这有时会导致startActivity没有效果。
|
||||||
|
* 增加了选择UI主题的功能,从而实现了现代UI设计
|
||||||
Reference in New Issue
Block a user