Skip to content

Commit

Permalink
Merge branch 'master' into FDroid
Browse files Browse the repository at this point in the history
  • Loading branch information
k3b committed Aug 21, 2018
2 parents ef5a702 + f4644e0 commit 6c0c12e
Show file tree
Hide file tree
Showing 127 changed files with 5,707 additions and 2,160 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ Privacy:

Feedback, translation and contributions are welcomed.

* [Discuss pro and cons, features, featurerequests and to provide news and support about the app on reddit.](https://www.reddit.com/r/APhotoManager/)
* [Issue tracker](https://github.com/k3b/APhotoManager/issues)
* You can help to translate this app via https://crowdin.com/project/AndroFotoFinder
6 changes: 4 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ android {
// 0.6.3.180211 (35) Extended Applocking; Autoprocessingmode for copy/move; Private images
// 0.6.4.180314 (36) Buggy: Fix/Improved Autoprocessingmode, Menu "open in filemanager" & "rename folder"-Crash in Settings
// 0.6.4.180321 (37) Bugfix for 0.6.4.180314 (36)
// 0.6.9.180813 (37) public betta: Searchbar, vitual-folder, new icons
// 0.7.0.180823 (38) public betta: Searchbar, vitual-folder, new icons

versionCode = 37
versionName = '0.6.4.180321'
versionCode = 38
versionName = '0.7.0.180823'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
Expand Down
1 change: 1 addition & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
-dontwarn com.caverock.androidsvg.**
-keep class org.xmlpull.** { *; }
-keep class de.k3b.android.widget.EditTextPreferenceWithSummary { *; }
-keep class de.k3b.android.widget.SearchViewWithHistory { *; }
-assumenosideeffects class com.google.android.gms.ads.MobileAds { *; }

###############
Expand Down
63 changes: 63 additions & 0 deletions app/src/debug/res/values-ar/fdroid.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.com-->
<!--
/*
* Translation to arabic 2018 by Vitality.
*
* These Texts will be shown as programdescription in the fdroid app store
* https://f-droid.org/app/de.k3b.android.androFotoFinder.
*
* the content will be copied to .../fastlane/metadata/android/*.txt
*
* This file is part of "A Photo Manager" (A(ndro)FotoFinder).
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>
*/
-->
<resources>
<!-- Optional: This becomes .../fastlane/metadata/android/title.txt.
See https://f-droid.org/docs/Build_Metadata_Reference/#Name
Example: If spanish title="Manejador de fotos" then the App name/title in F-Droid-store becomes "A Photo Manager (Manejador de fotos)" -->
<string name="title">A Photo Manager</string>
<!-- This becomes .../fastlane/metadata/android/short_description.txt.
See https://f-droid.org/docs/Build_Metadata_Reference/#Summary -->
<string name="short_description">مدير للصور المحلية يقوم بـ: بحث ونسخ وتعديل الصور ووضعها في معرض صور او في خريطة.</string>
<!-- This becomes .../fastlane/metadata/android/full_description.txt.
See https://f-droid.org/docs/Build_Metadata_Reference/#Description -->
<string name="full_description"><![CDATA["
مدير للصور المحلية يقوم بـ: بحث ونسخ وتعديل الصور ووضعها في معرض صور او في خريطة
المميزات:
* سرعة البحث على الصور بالعناوين (الكلمات الرئيسية)
* عرض النتائج في معرض او خريطة جغرافية من openstreetmap.
* عرض بالتفاصيل. يحتوي على ميزة تكبير الصور, والسحب للصورة التالية والسابقة.
* مدير ملفات مدمج للبحث وفرز, عرض, نسخ, ارسال, وحذف الصور, ... .
* تعديل ملف بيانات exif :التاريخ, والعنوان, والوصف, والعناوين (الكلمات الرئيسية), والمكان الجغرافي, والتقييم
* القيام بمعالجة الصور باعادة التسمية, وضع العلامات, والموقع الجغرافي, والعنوان تلقائيا ... عند نسخهم وقصهم .
* وضع "خاص" في الصور لاخفائهم من بقية برامج عرض الصور.
* في الوضع "المحمي والمثبت" الأوامر الحساسة مثل تعديل ونسخ, حذف, مشاركة, الاعدادات, وتغيير اختيار الصور, موقفة فبامكانك اعطاء هاتفك للغير بدون خوف.
* يمكنه تحمل مجموعة كبيرة من الصور (فوق 20000 صورة و 1000 مجلد).
* يستخدم مزود محتويات Android. لا يحتاج الى العثور على الصور .
* كاشف اضافي على ملفات Exif, IPTC, XMP
يتطلب صلاحيات النظام الاتية:
* الانترنت: لتحميل ملفات الخرائط من سيرفر openstreetmap
* ACCESS_NETWORK_STATE and ACCESS_WIFI_STATE: لمعرفة امكانية اتصال الجهاز
* WRITE_EXTERNAL_STORAGE لتخزين ملفات الخريطة لفرز الصور لها
* READ_LOGS لقراءة وتخزين ملف سجلات الانهيار..
.
"]]></string>
</resources>
56 changes: 53 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
>
<activity
android:name=".FotoGalleryActivity"
android:icon="@drawable/foto_gallery"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down Expand Up @@ -115,12 +116,30 @@
<data android:mimeType="image/*" />
<data android:mimeType="vnd.android.cursor.dir/image" />
</intent-filter>

<!-- fixme icon -->
<intent-filter
android:icon="@drawable/album"
>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<!-- file must have mimeType to match -->
<data android:scheme="file" />
<data android:mimeType="*/*" />
<data android:host="*" />
<data android:pathPattern=".*\\.album" />
</intent-filter>

</activity>

<!-- mime image/* for SEND(_TO)/(RE)VIEW for file -->
<activity
android:name=".imagedetail.ImageDetailActivityViewPager"
android:ellipsize="middle"
android:icon="@drawable/foto_gallery"
android:label="@string/app_image_viewer_title">

<!-- ImageDetail view/send(to) schema=file with mime=image/* -->
Expand Down Expand Up @@ -181,8 +200,24 @@
</activity>
<activity
android:name=".GalleryFilterActivity"
android:icon="@drawable/ic_action_search"
android:label="@string/filter_menu_title" />
android:icon="@drawable/album"
android:label="@string/filter_menu_title" >
<intent-filter
android:label="@string/filter_menu_title_album">
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<!-- file must have mimeType to match -->
<data android:scheme="file" />
<data android:mimeType="*/*" />
<data android:host="*" />
<data android:pathPattern=".*\\.album" />
</intent-filter>

</activity>
<activity
android:name=".ExifEditActivity"
android:icon="@drawable/exif_edit"
Expand All @@ -204,7 +239,7 @@

<activity
android:name=".PhotoAutoprocessingEditActivity"
android:icon="@drawable/exif_edit"
android:icon="@drawable/rule"
android:label="@string/photo_autoprocessing_edit_menu_title">
<!-- ImageDetail edit schema=file with mime=image/* -->
<intent-filter>
Expand Down Expand Up @@ -387,6 +422,21 @@
<data android:mimeType="application/xml+gpx" />
<data android:mimeType="application/xml+poi" />
</intent-filter>

<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.SEND" />
<action android:name="android.intent.action.SENDTO" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<!-- file must have mimeType to match -->
<data android:scheme="file" />
<data android:mimeType="*/*" />
<data android:host="*" />
<data android:pathPattern=".*\\.album" />
</intent-filter>
</activity>
<activity
android:name=".SettingsActivity"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static SelectedFiles querySelectedFiles(Context context, SelectedItems it
}

public static SelectedItems getSelectedItems(Intent intent) {
String selectedIDsString = intent.getStringExtra(EXTRA_SELECTED_ITEM_IDS);
String selectedIDsString = (intent == null) ? null : intent.getStringExtra(EXTRA_SELECTED_ITEM_IDS);
return (selectedIDsString != null) ? new SelectedItems().parse(selectedIDsString) : null;
}
}
Loading

0 comments on commit 6c0c12e

Please sign in to comment.