force an editor app chooser at pressing Edit at the editor
This commit is contained in:
parent
84ebb59482
commit
212af3f6dc
35 changed files with 4 additions and 36 deletions
|
@ -57,7 +57,7 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:5.6.6'
|
||||
implementation 'com.simplemobiletools:commons:5.6.7'
|
||||
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
|
||||
implementation 'androidx.multidex:multidex:2.0.1'
|
||||
implementation 'it.sephiroth.android.exif:library:1.0.1'
|
||||
|
|
|
@ -633,7 +633,7 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
|
|||
}
|
||||
|
||||
private fun editWith() {
|
||||
openEditor(uri.toString())
|
||||
openEditor(uri.toString(), true)
|
||||
isEditingWithThirdParty = true
|
||||
}
|
||||
|
||||
|
|
|
@ -51,8 +51,8 @@ fun Activity.openPath(path: String, forceChooser: Boolean) {
|
|||
openPathIntent(path, forceChooser, BuildConfig.APPLICATION_ID)
|
||||
}
|
||||
|
||||
fun Activity.openEditor(path: String) {
|
||||
openEditorIntent(path, BuildConfig.APPLICATION_ID)
|
||||
fun Activity.openEditor(path: String, forceChooser: Boolean = false) {
|
||||
openEditorIntent(path, forceChooser, BuildConfig.APPLICATION_ID)
|
||||
}
|
||||
|
||||
fun Activity.launchCamera() {
|
||||
|
|
|
@ -91,7 +91,6 @@
|
|||
<string name="flip">قلب</string>
|
||||
<string name="flip_horizontally">قلب أفقيا</string>
|
||||
<string name="flip_vertically">قلب عموديا</string>
|
||||
<string name="edit_with">تعديل باستخدام</string>
|
||||
<string name="free_aspect_ratio">Free</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Flip</string>
|
||||
<string name="flip_horizontally">Flip horizontally</string>
|
||||
<string name="flip_vertically">Flip vertically</string>
|
||||
<string name="edit_with">Edit with</string>
|
||||
<string name="free_aspect_ratio">Free</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Girar</string>
|
||||
<string name="flip_horizontally">Horizontalment</string>
|
||||
<string name="flip_vertically">Verticalment</string>
|
||||
<string name="edit_with">Editar amb</string>
|
||||
<string name="free_aspect_ratio">Lliure</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Altres</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Překlopit</string>
|
||||
<string name="flip_horizontally">Překlopit vodorovně</string>
|
||||
<string name="flip_vertically">Překlopit svisle</string>
|
||||
<string name="edit_with">Upravit s</string>
|
||||
<string name="free_aspect_ratio">Volný</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Spejlvend</string>
|
||||
<string name="flip_horizontally">Spejlvend vandret</string>
|
||||
<string name="flip_vertically">Spejlvend lodret</string>
|
||||
<string name="edit_with">Rediger med</string>
|
||||
<string name="free_aspect_ratio">Fri</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Andet</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Spiegeln</string>
|
||||
<string name="flip_horizontally">Horizontal spiegeln</string>
|
||||
<string name="flip_vertically">Vertikal spiegeln</string>
|
||||
<string name="edit_with">Bearbeiten mit:</string>
|
||||
<string name="free_aspect_ratio">Beliebiges</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Anderes</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Αναποδογύρισμα</string>
|
||||
<string name="flip_horizontally">Οριζόντιο αναποδογύρισμα</string>
|
||||
<string name="flip_vertically">Κατακόρυφο αναποδογύρισμα</string>
|
||||
<string name="edit_with">Επεξεργασία με</string>
|
||||
<string name="free_aspect_ratio">Ελεύθερο</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Girar</string>
|
||||
<string name="flip_horizontally">Horizontalmente</string>
|
||||
<string name="flip_vertically">Verticalmente</string>
|
||||
<string name="edit_with">Editar con</string>
|
||||
<string name="free_aspect_ratio">Libre</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Otros</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Pyöräytä</string>
|
||||
<string name="flip_horizontally">Pyöräytä vaakasuoraan</string>
|
||||
<string name="flip_vertically">Pyöräytä pystysuoraan</string>
|
||||
<string name="edit_with">Muokkaa sovelluksella</string>
|
||||
<string name="free_aspect_ratio">Free</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Retourner</string>
|
||||
<string name="flip_horizontally">Retourner horizontalement</string>
|
||||
<string name="flip_vertically">Retourner verticalement</string>
|
||||
<string name="edit_with">Modifier avec</string>
|
||||
<string name="free_aspect_ratio">Libre</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Voltear</string>
|
||||
<string name="flip_horizontally">Voltear horizontalmente</string>
|
||||
<string name="flip_vertically">Voltear verticalmente</string>
|
||||
<string name="edit_with">Editar con</string>
|
||||
<string name="free_aspect_ratio">Free</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Okreni</string>
|
||||
<string name="flip_horizontally">Okreni horizontalno</string>
|
||||
<string name="flip_vertically">Okreni vertikalno</string>
|
||||
<string name="edit_with">Uredi pomoću</string>
|
||||
<string name="free_aspect_ratio">Slobodan odabir</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Ostalo</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Tükrözés</string>
|
||||
<string name="flip_horizontally">Tükrözés vízszintesen</string>
|
||||
<string name="flip_vertically">Tükrözés függőlegesen</string>
|
||||
<string name="edit_with">Szerkesztés ezzel</string>
|
||||
<string name="free_aspect_ratio">Kötetlen</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Egyéb</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Balik</string>
|
||||
<string name="flip_horizontally">Balik horizontal</string>
|
||||
<string name="flip_vertically">Balik vertikal</string>
|
||||
<string name="edit_with">Edit dengan</string>
|
||||
<string name="free_aspect_ratio">Bebas</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Lainnya</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Capovolgi</string>
|
||||
<string name="flip_horizontally">Capovolgi orizzontalmente</string>
|
||||
<string name="flip_vertically">Capovolgi verticalmente</string>
|
||||
<string name="edit_with">Modifica con</string>
|
||||
<string name="free_aspect_ratio">Libero</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Altro</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">反転</string>
|
||||
<string name="flip_horizontally">水平方向に反転</string>
|
||||
<string name="flip_vertically">垂直方向に反転</string>
|
||||
<string name="edit_with">他のアプリで編集</string>
|
||||
<string name="free_aspect_ratio">Free</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">반전</string>
|
||||
<string name="flip_horizontally">가로 반전</string>
|
||||
<string name="flip_vertically">세로 반전</string>
|
||||
<string name="edit_with">이미지편집 프로그램 연결</string>
|
||||
<string name="free_aspect_ratio">Free</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Apversti</string>
|
||||
<string name="flip_horizontally">Apversti horizontaliai</string>
|
||||
<string name="flip_vertically">Apversti vertikaliai</string>
|
||||
<string name="edit_with">Redaguoti su</string>
|
||||
<string name="free_aspect_ratio">Free</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Speilvend</string>
|
||||
<string name="flip_horizontally">Speilvend horisontalt</string>
|
||||
<string name="flip_vertically">Speilvend vertikalt</string>
|
||||
<string name="edit_with">Rediger med</string>
|
||||
<string name="free_aspect_ratio">Fri</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Annen</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Kantelen</string>
|
||||
<string name="flip_horizontally">Horizontaal kantelen</string>
|
||||
<string name="flip_vertically">Verticaal kantelen</string>
|
||||
<string name="edit_with">Bewerken met</string>
|
||||
<string name="free_aspect_ratio">Vrij</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Anders</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Przewróć</string>
|
||||
<string name="flip_horizontally">Przewróć w poziomie</string>
|
||||
<string name="flip_vertically">Przewróć w pionie</string>
|
||||
<string name="edit_with">Edytuj w:</string>
|
||||
<string name="free_aspect_ratio">Wolne</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Inny</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Inverter</string>
|
||||
<string name="flip_horizontally">Horizontalmente</string>
|
||||
<string name="flip_vertically">Verticalmente</string>
|
||||
<string name="edit_with">Editar com</string>
|
||||
<string name="free_aspect_ratio">Free</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Inverter</string>
|
||||
<string name="flip_horizontally">Horizontalmente</string>
|
||||
<string name="flip_vertically">Verticalmente</string>
|
||||
<string name="edit_with">Editar com</string>
|
||||
<string name="free_aspect_ratio">Livre</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Outro</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Отразить</string>
|
||||
<string name="flip_horizontally">По горизонтали</string>
|
||||
<string name="flip_vertically">По вертикали</string>
|
||||
<string name="edit_with">Редактировать в…</string>
|
||||
<string name="free_aspect_ratio">Произвольно</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Другое</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Preklopiť</string>
|
||||
<string name="flip_horizontally">Preklopiť vodorovne</string>
|
||||
<string name="flip_vertically">Preklopiť zvisle</string>
|
||||
<string name="edit_with">Upraviť s</string>
|
||||
<string name="free_aspect_ratio">Voľný</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Iný</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Zrcaljenje</string>
|
||||
<string name="flip_horizontally">Zrcali horizontalno</string>
|
||||
<string name="flip_vertically">Zrcali vertikalno</string>
|
||||
<string name="edit_with">Uredi z</string>
|
||||
<string name="free_aspect_ratio">Prosto</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Drugo</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Vänd</string>
|
||||
<string name="flip_horizontally">Vänd horisontellt</string>
|
||||
<string name="flip_vertically">Vänd vertikalt</string>
|
||||
<string name="edit_with">Redigera med</string>
|
||||
<string name="free_aspect_ratio">Fritt</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Çevir</string>
|
||||
<string name="flip_horizontally">Yatay olarak çevir</string>
|
||||
<string name="flip_vertically">Dikey olarak çevir</string>
|
||||
<string name="edit_with">Şununla düzenle</string>
|
||||
<string name="free_aspect_ratio">Serbest</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Віддзеркалити</string>
|
||||
<string name="flip_horizontally">Віддзеркалити горизонтально</string>
|
||||
<string name="flip_vertically">Віддзеркалити вертикально</string>
|
||||
<string name="edit_with">Редагувати за допомогою</string>
|
||||
<string name="free_aspect_ratio">Вільне</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Інше</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">翻转</string>
|
||||
<string name="flip_horizontally">水平翻转</string>
|
||||
<string name="flip_vertically">垂直翻转</string>
|
||||
<string name="edit_with">编辑方式</string>
|
||||
<string name="free_aspect_ratio">自由</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">其他</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">翻轉</string>
|
||||
<string name="flip_horizontally">水平翻轉</string>
|
||||
<string name="flip_vertically">垂直翻轉</string>
|
||||
<string name="edit_with">用其他程式編輯</string>
|
||||
<string name="free_aspect_ratio">自由</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">其它</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
<string name="flip">Flip</string>
|
||||
<string name="flip_horizontally">Flip horizontally</string>
|
||||
<string name="flip_vertically">Flip vertically</string>
|
||||
<string name="edit_with">Edit with</string>
|
||||
<string name="free_aspect_ratio">Free</string> <!-- available as an option: 1:1, 4:3, 16:9, free -->
|
||||
<string name="other_aspect_ratio">Other</string> <!-- available as an option: 1:1, 4:3, 16:9, free, other -->
|
||||
|
||||
|
|
Loading…
Reference in a new issue