Commit graph

3192 commits

Author SHA1 Message Date
tibbi
ab5a3e0aeb update the hint text at search activity 2023-01-10 18:16:46 +01:00
tibbi
793bd46d30 adding new Search at SearchActivity 2023-01-10 18:15:30 +01:00
tibbi
fa49dd2664 show the folder name at search hint 2023-01-10 16:19:17 +01:00
tibbi
aa58e5142f adding the new search at media folder too 2023-01-10 12:05:29 +01:00
tibbi
0210ec0ff8 implementing the new search on the main screen 2023-01-09 23:31:26 +01:00
tibbi
f6b563d0bc adding initial search menu on the main screen 2023-01-09 23:03:00 +01:00
tibbi
a6fb0c18fa adding some widget config screen tweaks 2023-01-09 16:52:26 +01:00
tibbi
21638263ce tweaking folder management ui 2023-01-09 16:17:40 +01:00
tibbi
63e0ee93a9 updating Settings UI 2023-01-08 23:44:11 +01:00
tibbi
fdda5bd20e updating commons and min OS version to 6 2023-01-08 23:25:45 +01:00
Agnieszka C
a9828948ac Changed show hidden button in folder picker to include excluded (#2693) 2022-12-25 11:33:52 +01:00
tibbi
e2ae1ddc4b remove the Hide/show recycle bin menu items from the main screen 2022-12-13 23:25:54 +01:00
tibbi
558e764b59 fix #2674, draw lines on the proper place in the foss editor 2022-12-13 10:15:37 +01:00
tibbi
91061b8f96 fix a glitch with grouping direct subfolders related to casing 2022-12-05 10:11:42 +01:00
tibbi
0e54ed7c12 adding a More apps from us menu button 2022-11-22 17:46:48 +01:00
tibbi
d9351ddf9c adding an explanation dialog to Grant All Files 2022-11-20 21:37:23 +01:00
tibbi
2eafcbd22e always show the hidden item visibility toggles 2022-11-20 21:37:05 +01:00
tibbi
ccc6f33837 use event.rawX/Y instead of x/y everywhere 2022-11-02 18:08:14 +01:00
tibbi
4c0c244107 adding a new string about missing hidden items 2022-10-25 15:38:19 +02:00
tibbi
cd1d60b965 lets show "Temporarily show excluded" with All files access too 2022-10-16 22:16:59 +02:00
tibbi
c7c25557de correcting a view refetence 2022-10-16 22:05:49 +02:00
tibbi
243893f2ad rework the permission request flow a bit 2022-10-16 21:58:23 +02:00
tibbi
54fb75f5a7 avoid showing the All Files access popup at file operations 2022-10-16 20:37:55 +02:00
tibbi
e25e4ba880 allow renaming some extra files with access to All files 2022-10-16 10:32:45 +02:00
tibbi
f92c4962f5 minor code style formatting 2022-10-14 21:40:46 +02:00
tibbi
d5d2c9e278 always request All files access, but be satisfied with Media access only too 2022-10-14 18:19:38 +02:00
tibbi
53beff0949 renaming some variables here and there 2022-10-14 16:35:11 +02:00
Naveen
ff4a7d4bb4 Use mSlideShowMedia even after stopping random slideshow
As before, random order doesn't go away by itself until activity is restarted normally (without slideshow)
2022-09-24 01:20:31 +05:30
Naveen
c05b351b9f User require*() for activity context 2022-09-24 01:14:25 +05:30
Naveen
99715ca47c Minor code formatting 2022-09-24 01:13:28 +05:30
tibbi
6df3a43ce5 adding orientation_transpose recognition too 2022-09-20 08:36:27 +02:00
darthpaul
13e08935ee fix wrong rotation for horizontally flipped images 2022-09-20 02:10:40 +01:00
tibbi
72d3903bd1 handle Video access permission on Android 13+ 2022-09-03 17:22:02 +02:00
tibbi
b89eaada94 allow picking any language on Android 13 2022-09-03 15:51:17 +02:00
tibbi
1c06d3c694 require the proper permission on Android 13 2022-09-03 15:39:44 +02:00
tibbi
443230268f updating kotlin, gradle and target SDK to 33 2022-09-03 10:47:05 +02:00
Agnieszka C
483f15883b Fixed manage included folders title (#2587) 2022-08-16 08:41:47 +02:00
tibbi
20c93697c9 fixing the top Menu at search activity 2022-08-01 12:38:12 +02:00
tibbi
25d0d133eb adding some fullscreen related UI improvements 2022-07-30 23:33:21 +02:00
tibbi
e0b2a34372 redesigning the resizing dialogs 2022-07-28 16:40:33 +02:00
tibbi
84dd596c58 updating 2 more dialogs 2022-07-28 15:25:04 +02:00
tibbi
f896fc885a removing some old support action bar references 2022-07-28 13:41:55 +02:00
tibbi
f246bca4b8 updating the remaining activity styles 2022-07-28 12:40:44 +02:00
tibbi
a0d498d79f more styling updates 2022-07-27 16:21:06 +02:00
tibbi
970eb5a035 updating the editor style 2022-07-27 15:52:58 +02:00
tibbi
592b8133a6 updating the viewpager activity style 2022-07-27 15:41:24 +02:00
tibbi
aa3a9fdc88 updating manage included/excluded/hidden folders 2022-07-27 12:56:14 +02:00
tibbi
3a9dc3e28d restyling media activity 2022-07-27 12:19:56 +02:00
tibbi
4ed9b0be5c updating main and settings activities 2022-07-27 12:03:34 +02:00
tibbi
c5f56edf66 updating commons with initial dialog updates 2022-07-27 11:37:15 +02:00
tibbi
4e23aecc18 add the extra messages on Android 12 2022-07-14 10:18:29 +02:00
tibbi
00a7427443 lets allow closing the All files prompt by clicking outside 2022-07-14 10:12:34 +02:00
Naveen
378fea1cce Add IS_FROM_GALLERY to image intents as well 2022-07-07 01:51:55 +05:30
Naveen
caf6b7c553 Minor code improvement 2022-07-06 15:44:43 +05:30
Naveen
e4aff60852 Fix typo error 2022-07-05 20:14:56 +05:30
Naveen
54dc6c41b5 Use isExternalIntent() function 2022-07-05 18:27:24 +05:30
Naveen Singh
1122e36e99
Merge branch 'SimpleMobileTools:master' into viewpager_fixes 2022-07-05 14:18:21 +05:30
tibbi
6822c5503a use file/folder name at bubble text with random sorting 2022-07-04 15:47:44 +02:00
tibbi
f9efbc6220 hide ascending/descending at random sorting 2022-07-04 15:45:18 +02:00
Naveen
be3ee0de8d Enable refreshing for external intents even when video is playing 2022-07-04 18:07:42 +05:30
Naveen
bccf86a1bf Enable random sorting for external intents 2022-07-04 17:42:50 +05:30
Naveen
5fba1ad810 Simplify code 2022-07-04 16:29:59 +05:30
Naveen
a8bfae66a7 Clear cached media only for external intents 2022-07-04 16:10:19 +05:30
tibbi
86060e39a4 do not allow clicking outside the All Files access prompt 2022-07-02 12:38:07 +02:00
tibbi
f1ef67f3bc do not show IOExceptions at rotating images, saving works just fine 2022-07-02 12:07:17 +02:00
tibbi
c8b66cd439 reset fullscreen image only on device rotation 2022-06-26 20:15:48 +02:00
tibbi
718836459b use the new string at the media management dialog 2022-06-24 09:28:36 +02:00
Tibor Kaputa
aa68cc92f2
Merge pull request #2522 from Naveen3Singh/position_glitch
Fix position snap glitch
2022-06-20 21:27:11 +02:00
tibbi
ec0753a148 tweaking the error at requesting All files access 2022-06-20 12:50:38 +02:00
tibbi
e121a9b72b allow using custom aspect ratio at wallpapers 2022-06-19 15:41:22 +02:00
Naveen
e6039d07cb Remove page change listener before changing adapter 2022-06-19 17:19:35 +05:30
Naveen
ccb9b60a12 Remove unnecessary call to getCachedMedia 2022-06-18 14:36:59 +05:30
Naveen
46533e4b45 Minor code improvements 2022-06-18 14:35:04 +05:30
tibbi
0b3c900a02 fix a glitch after rotating the device with screen off 2022-06-17 22:54:11 +02:00
tibbi
dc53582a51 add a backup dialog for redirecting to media management settings 2022-06-17 09:40:58 +02:00
tibbi
8bfa7fdc7c use the new way of getting FileDirItem content URIs 2022-06-15 16:29:45 +02:00
tibbi
ff5019998d pass the MediaStoreId with FileDirItems at deleting too 2022-06-15 12:20:53 +02:00
tibbi
87b4bdc6b3 updating commons 2022-06-15 12:02:39 +02:00
tibbi
4b7c86f000 make the media placeholder clickable too 2022-06-12 21:52:50 +02:00
Naveen
a2b70485fa Bring placeholder text view to front 2022-06-12 16:10:30 +05:30
tibbi
f297cc6d2e add the temporary excluded folder showing in Whats New 2022-06-06 16:46:08 +02:00
tibbi
0e0a3e5596 lets show Temporarily show excluded, even if empty 2022-06-06 16:42:11 +02:00
tibbi
45844439dd catch and show exceptions thrown at cropping third party intents 2022-06-05 22:55:04 +02:00
tibbi
550f42f110 show "Temporarily show excluded" only if we have any excluded folders 2022-06-05 11:52:04 +02:00
tibbi
d28d57f961 allow protecting excluded folder visibility 2022-06-05 11:37:20 +02:00
tibbi
284ff32771 add a button for temporarily showing excluded 2022-06-05 11:27:06 +02:00
tibbi
b45f682e72 make sure we show the proper video at opening from Favorites 2022-05-31 11:19:41 +02:00
tibbi
8c47d9e5ba fixing a glitch with missing thumbnails at random sorting 2022-05-31 09:51:34 +02:00
tibbi
2838887c83 fix a glitch with wrong sorting by date taken 2022-05-31 09:17:08 +02:00
tibbi
4ab9fcb29d show the media managemement prompt at every app launch, if needed 2022-05-30 22:52:00 +02:00
darthpaul
6fbdb8aa51 excluded folders should not enforce storage restrictions on SDK 30+ 2022-05-26 10:30:54 +01:00
tibbi
fda1b5eeba removing some redundant refreshing 2022-05-25 09:48:47 +02:00
Tibor Kaputa
79b3870598
Merge pull request #2483 from KryptKode/fix/move_position
fix: position returning to 0 after moving file
2022-05-25 09:39:16 +02:00
darthpaul
c33443ed4e fix: position returning to 0 after moving file 2022-05-24 23:42:14 +01:00
Tibor Kaputa
32a20df49b
Merge pull request #2471 from DoozyDoz/feat_size_at_deletion
[feat] Display item(s) size in delete dialog
2022-05-23 22:09:13 +02:00
Tibor Kaputa
4ac8c42e9c
adding a newline 2022-05-23 22:08:42 +02:00
Doozy
1349d4c6e0 [Removed] showing item size for folder deletion 2022-05-23 11:24:41 +03:00
tibbi
335f3f5fc5 do not update file last modified after a file operation, if it is zero 2022-05-21 16:59:16 +02:00
tibbi
50d022c31d allow creating new folders from the main screen too again 2022-05-20 22:50:23 +02:00
Tibor Kaputa
734ee5c6d8
Merge pull request #2473 from KryptKode/fix/delete_position_in_view_pager
fix: position returning to 0
2022-05-20 11:34:02 +02:00
darthpaul
ec6e532c52 fix: position returning to 0
- call onPageSelected(0) if the media.size == 1
2022-05-20 00:02:33 +01:00
Doozy
33c1ddd761 Changes for readability 2022-05-19 11:26:09 +03:00
Doozy
6080191e1a Changed back to File extension 2022-05-19 10:58:37 +03:00
Doozy
914d97c231 Changes for readability 2022-05-19 10:55:26 +03:00
Doozy
fb17549173 Code cleanup (post review) 2022-05-19 10:39:57 +03:00
Doozy
a368db9b87 [feat] Display item(s) size in delete dialog 2022-05-18 18:27:27 +03:00
Tibor Kaputa
bbb806a5e6
Merge pull request #2469 from KryptKode/fix/delete_position_in_view_pager
fix: position returning to 0
2022-05-16 21:29:55 +02:00
darthpaul
dad1a6e817 fix: position returning to 0
- for calling  refreshUI(media, true) would refresh the view pager position, cause mPos to be set back to 0,
so we retain the original behaviour and call refreshUI(media, false)
- when items have been removed up until the last item in the adapter, the ViewPager's OnPageChangeListener.onPageSelected does not get called for the first item
so mPos is never set to zero and deletion fails.
- we add a call in OnPageChangeListener.onPageScrolled to call onPageSelected(0), when the position == 0 to fix this.
2022-05-16 18:44:23 +01:00
tibbi
9addf4b235 adding some widget UI related improvements 2022-05-14 22:30:06 +02:00
tibbi
290a84f699 accept Media access in foss variant too, do not require All files 2022-05-14 20:03:23 +02:00
tibbi
4936eecb17 require the All Files access in foss and prepaid app variants 2022-05-14 15:15:43 +02:00
Tibor Kaputa
2e4d605940
Merge pull request #2464 from KryptKode/fix/android_12_mediastore_crash
fix media store crash on deletion on android 12
2022-05-14 12:27:23 +02:00
darthpaul
3571fcd3ab fix media store crash on deletion on android 12
- MediaStore crashed on deletion because the ViewPagerActivity got finish before the MediaStore.createDeleteRequest executes
- To fix, we apply the same approach in the MediaActivity and finish explicitly after deletion completes, if the media list is empty
- also, only refresh the UI when the media list is not empty to avoid UI glitches
- fix slideshow bug by resetting mAreSlideShowMediaVisible back to false when the slideshow ends
2022-05-14 03:51:52 +01:00
tibbi
50f6bb5871 add floating contextual menu at some setting screens 2022-05-09 22:18:21 +02:00
tibbi
7fc6767e4c adding some widget config related improvements 2022-05-09 11:20:12 +02:00
tibbi
45a8ee0ec0 do not show the Media Management prompt with All files permission 2022-05-09 10:46:43 +02:00
tibbi
c5d9ac6fcc prepare the app for having All files permission 2022-05-09 10:44:50 +02:00
tibbi
969f0334f3 check noMedia file existence only below Android 11 in some cases 2022-05-08 09:33:56 +02:00
tibbi
0b2f0da4be fix third party intent handling when folder is hidden with a dot 2022-05-07 22:16:27 +02:00
tibbi
048b109f8a adding a crashfix and updating commons 2022-05-04 12:30:15 +02:00
tibbi
146a1b1d69 adding a Prepaid product flavor 2022-05-03 10:56:16 +02:00
tibbi
45cf8da60f catch exceptions thrown at getDeletedMediaCount() 2022-05-03 10:44:40 +02:00
tibbi
f3eb312e57 fix #1113, #2309, fixing some wallpaper setting related glitches 2022-05-03 10:38:36 +02:00
tibbi
b2130669ab use "Fix Date Taken values" on Android 11+ file fetching 2022-05-03 10:14:18 +02:00
darthpaul
b4262111d7 use MediaStore request way of deleting files on SDK 31
- on SDK 31+, if the app can manange media, we want to use the MediaStore request way of deleting files
- we use the new method added BaseSimpleActivity.checkManageMediaOrHandleSAFDialogSdk30 that performs the check and determines if we should show the SAF dialog or not
2022-04-30 23:58:21 +01:00
darthpaul
aca71be5d8 handle mange media for renaming
- move the launchMediaManagementIntent method to commons module
2022-04-28 01:09:11 +01:00
tibbi
1d25512053 adding some widget config related improvements 2022-04-25 22:44:58 +02:00
tibbi
0679b22887 show the Media Management prompt on Android 12+ from time to time 2022-04-24 16:55:40 +02:00
tibbi
91a71685bd show the media management prompt at copy/move/delete too 2022-04-24 16:21:00 +02:00
tibbi
6428836c73 add a prompt for making the app the default media management app 2022-04-24 16:11:51 +02:00
tibbi
893690d569 show a nicer error message at copying to an invalid folder 2022-04-20 11:42:43 +02:00
tibbi
09bea7d508 fix #2309, allow setting both portrait and landscape wallpapers 2022-04-20 10:42:12 +02:00
tibbi
a9d5604843 fix third party intent handling if selected folder contains .nomedia 2022-04-19 19:35:59 +02:00
tibbi
a73bf966b4 adding a crashfix 2022-04-16 15:07:23 +02:00
darthpaul
5e4550d52b fix: restore to android folder on SDK30 2022-04-16 11:44:22 +01:00
tibbi
c82a683302 do not always check write permissions at FilePickerDialog 2022-04-16 12:15:44 +02:00
darthpaul
bc5f0ce175 handle picking restricted folders in PickDirectoryDialog
- users should not be able to pick restricted folders in PickDirectoryDialog when copying/moving files on SDK 30+
- show nice error message R.string.system_folder_restriction when user picks a restricted folder on SDK 30+
- restricted folders on SDK 30+ are: Android, Root of Internal and SDCard. The Download directory is writable
2022-04-16 10:12:34 +01:00
tibbi
7a24f6f05b lets show the disabled hidden item displaying in Whats New 2022-04-15 21:30:33 +02:00
tibbi
5d5c9e1920 request MEDIA_LOCATION on SDK 30 already 2022-04-15 09:03:32 +02:00
darthpaul
86dce4e48d request ACCESS_MEDIA_LOCATION permission
- the app has declared the MANAGE_MEDIA permission in the AndroidManifest
- also requesting the ACCESS_MEDIA_LOCATION permission will make the system not to show the user the prompts from MediaStore.createWriteRequest and MediaStore.createDeleteRequest
2022-04-14 22:59:57 +01:00
darthpaul
b2d08c401e restore from recycle bin SDK 30+
- when file is on the root of Internal Storage or SD Card, change the destination to the /Pictures folder, we cannot write to the root of any volume on SDK 30+
- call handleSAFDialogSdk30, so users are prompted to allow SAF when restoring, if not previously allowed
- if there are conflicts, handle it as though it's a CONFLICT_KEEP_BOTH by appending some characters to the destination name
- add new string restore_to_path shown when restoring to /Pictures folder on SDK 30+ instead of the root folder
2022-04-11 16:23:14 +01:00
tibbi
f69ba7fb32 avoid showing a progress toast twice at fixing date taken value 2022-04-10 20:23:27 +02:00
tibbi
3e426148dd show edit and set_as menu buttons only if 1 item is selected 2022-04-10 20:14:42 +02:00
tibbi
36beff5214 updating commons 2022-04-10 20:10:19 +02:00
tibbi
96fb6a0e35 updating the photo editor, use light theme when appropriate 2022-04-10 17:52:37 +02:00
tibbi
83881bfc06 make sure we use proper colors at PhotoVideoActivity too 2022-04-10 16:47:30 +02:00
tibbi
417a84f21a use proper menu colors at fullscreen view 2022-04-10 16:28:27 +02:00
tibbi
17610252c0 make sure we always use white system icons at fullscreen view 2022-04-10 16:21:32 +02:00
tibbi
39c568777b updating a string 2022-04-10 12:15:17 +02:00
darthpaul
519353cb04 change toast duration
- change the toast duration for when a user picks a folder restricted on SDK 30+ to Toast.LENGTH_LONG
2022-04-10 10:57:35 +01:00