kopia lustrzana https://github.com/olgamiller/SSTVEncoder2
Linked Privacy Policy
rodzic
018b0930fc
commit
e213aa8d4b
|
@ -19,6 +19,11 @@
|
|||
<action android:name="android.intent.action.PICK" />
|
||||
<data android:mimeType="image/*"/>
|
||||
</intent>
|
||||
<intent>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="https" />
|
||||
</intent>
|
||||
</queries>
|
||||
<application
|
||||
android:requestLegacyExternalStorage="true"
|
||||
|
|
|
@ -336,7 +336,7 @@ public class MainActivity extends AppCompatActivity {
|
|||
mCropView.resetImage();
|
||||
}
|
||||
else if (id == R.id.action_privacy_policy) {
|
||||
showTextPage(getString(R.string.action_privacy_policy), getString(R.string.action_privacy_policy_text));
|
||||
openLinkInBrowser("https://sites.google.com/view/olgamiller/sstvencoder/privacypolicy/");
|
||||
}
|
||||
else if (id == R.id.action_about) {
|
||||
showTextPage(getString(R.string.action_about), getString(R.string.action_about_text, BuildConfig.VERSION_NAME));
|
||||
|
@ -348,6 +348,16 @@ public class MainActivity extends AppCompatActivity {
|
|||
return true;
|
||||
}
|
||||
|
||||
private void openLinkInBrowser(String link) {
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(link));
|
||||
if (intent.resolveActivity(getPackageManager()) != null) {
|
||||
startActivity(intent);
|
||||
}
|
||||
else {
|
||||
showErrorMessage(getString(R.string.another_activity_start_err), link, "");
|
||||
}
|
||||
}
|
||||
|
||||
private void showTextPage(String title, String message) {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||
builder.setTitle(title);
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
<string name="action_done">完成</string>
|
||||
<string name="action_modes">编码模式</string>
|
||||
<string name="action_privacy_policy">隐私政策</string>
|
||||
<string name="action_privacy_policy_text">\n SSTV Encoder可以将图片转换为音频\n \n\n为实现转换功能,图像会被暂时载入内存.\n \n\n图像可以被缩放或者选择. 此软件内对于图像的更改不会被保存. 最后一次使用的图片的路径会保存在软件的本地存储.\n \n\n此外你还可以在图片上附加文字信息. 它也会保存在软件的本地存储.\n \n\n附加的文字信息也会在用户选择的模式下编码入音频中. 选中的模式也会存储在软件中.\n \n\n生成的音频不仅可以在软件内通过按下“播放”按钮进行播放,还可以按下“保存”按钮存储在手机的存储空间.</string>
|
||||
<string name="action_about">关于SSTV Encoder</string>
|
||||
<string name="action_about_text">"\n SSTV Encoder %1$s\n版权所有 2017 Olga Miller\n \n\nSSTV Encoder通过慢扫描电视/Slow Scan Television (SSTV)发送图片.\n \n\n要获取详细信息,请参阅本软件源码: \nhttps://github.com/olgamiller/SSTVEncoder2\n \n\nDISCLAIMER:\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n "</string>
|
||||
<string name="load_img_err_title">加载图像时出错</string>
|
||||
|
|
|
@ -27,14 +27,6 @@
|
|||
<string name="action_robot72" translatable="false">Robot 72</string>
|
||||
<string name="action_wraaseSC2_180" translatable="false">Wraase SC2 180</string>
|
||||
<string name="action_privacy_policy">Privacy Policy</string>
|
||||
<string name="action_privacy_policy_text">
|
||||
SSTV Encoder converts images to audio.
|
||||
\n\nTo convert the image, it will be loaded into temporary memory.
|
||||
\n\nThe loaded image can be scaled and rotated. Neither the modified image nor the modifications will be stored. The link to the last loaded image will be stored in the app settings locally.
|
||||
\n\nA text overlay can be added. It will be stored in the app settings locally.
|
||||
\n\nThe modified image with text overlays will be encoded to audio using the selected mode. The selected mode will be stored in the app settings locally.
|
||||
\n\nThe resulting audio can either be played back by pressing the play button or saved locally on the device by pressing the save button.
|
||||
</string>
|
||||
<string name="action_about">About SSTV Encoder</string>
|
||||
<string name="action_about_text">
|
||||
SSTV Encoder %1$s\nCopyright 2017 Olga Miller
|
||||
|
|
Ładowanie…
Reference in New Issue