Added swipe to speech

This commit is contained in:
M66B
2024-08-27 09:33:19 +02:00
parent 4321358f49
commit fd7661c1cb
5 changed files with 66 additions and 1 deletions

View File

@@ -3673,7 +3673,7 @@ public class FragmentCompose extends FragmentBase {
Context context = getContext();
PackageManager pm = context.getPackageManager();
if (photo) {
// https://developer.android.com/training/camera/photobasics
// https://developer.android.com/reference/android/provider/MediaStore#ACTION_IMAGE_CAPTURE
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
if (intent.resolveActivity(pm) == null) { // action whitelisted
Snackbar snackbar = Helper.setSnackbarOptions(