added privacy policy

This commit is contained in:
Ahmet Inan 2017-02-05 19:34:54 +01:00
parent 23f855a1a1
commit 9aad70d89b
4 changed files with 24 additions and 0 deletions

View file

@ -191,6 +191,14 @@ public class MainActivity extends Activity {
builder.show();
}
private void showPrivacyPolicy() {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle(getString(R.string.privacy_policy));
builder.setMessage(getString(R.string.privacy_policy_text));
builder.setNeutralButton(getString(R.string.btn_ok), null);
builder.show();
}
@Override
public void onRequestPermissionsResult(int requestCode, String permissions[], int[] grantResults) {
if (requestCode != permissionsID)
@ -398,6 +406,9 @@ public class MainActivity extends Activity {
case R.id.action_pd290_mode:
decoder.pd290_mode();
return true;
case R.id.action_privacy_policy:
showPrivacyPolicy();
return true;
}
return super.onOptionsItemSelected(item);
}

View file

@ -81,4 +81,5 @@
<item android:id="@+id/action_toggle_scaling" android:title="@string/action_toggle_scaling" />
<item android:id="@+id/action_toggle_analyzer" android:title="@string/action_toggle_analyzer" />
</group>
<item android:id="@+id/action_privacy_policy" android:title="@string/privacy_policy" />
</menu>

View file

@ -54,4 +54,10 @@
<string name="btn_send_email">Email senden</string>
<string name="chooser_title">Fehlermeldung senden:</string>
<string name="decoder_error">Dekodierer Fehler</string>
<string name="privacy_policy">Datenschutz-Bestimmungen</string>
<string name="privacy_policy_text">Um SSTV-kodierte Bilder dekodieren zu können, braucht diese App Zugriff auf das Mikrofon.
Der Zugriff auf das Mikrofon gilt als eine sensible Berechtigung und Sie haben das Recht zu wissen, was die App mit diesem Zugriff macht:
Die vom Mikrofon aufgenommenen Daten werden nur zur Speisung des SSTV-Dekodierers, des Aussteuerungsmessers und des Spektrumanalysators zur Visualisierung seines Frequenzinhalts verwendet.
Die App verwendet einen sehr kleinen temporären Puffer im flüchtigen Speicher und überschreibt diesen Puffer ständig mit neuen Daten aus dem Mikrofon.
Die resultierenden Bilder aus dem SSTV-Dekodierer sind die einzigen Daten, die im persistenten Speicher auf Ihrem Android-Gerät gespeichert werden.</string>
</resources>

View file

@ -54,4 +54,10 @@
<string name="btn_send_email">Send Email</string>
<string name="chooser_title">Send Bug Report:</string>
<string name="decoder_error">Decoder error</string>
<string name="privacy_policy">Privacy Policy</string>
<string name="privacy_policy_text">To be able to decode SSTV encoded images the app needs access to the microphone.
Having access to the microphone is considered to be a sensitive permission and you have the right to know what the app does with that access:
The data recorded from the microphone is only used to fed the SSTV decoder, VU meter and the spectrum analyzer for visualization of its frequency content.
The app uses a very small temporary buffer in volatile memory and constantly overwrites this buffer with new data from the microphone.
The resulting images from the SSTV decoder is the only data that gets stored in persistent storage on your Android device.</string>
</resources>