Skip to content

Commit

Permalink
Add amaze utilities fdroid link
Browse files Browse the repository at this point in the history
  • Loading branch information
VishalNehra committed May 2, 2023
1 parent 40f8d6f commit 8608928
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Support
<a href="https://www.paypal.me/vishalnehra"><img width="20%" src="paypal.svg" alt="PayPal"></a>
<a href="https://liberapay.com/Team-Amaze/donate"><img src="https://upload.wikimedia.org/wikipedia/commons/2/27/Liberapay_logo_v2_white-on-yellow.svg" alt="Liberapay" width="80px" ></a>
Or buy the [Cloud Plugin](https://play.google.com/store/apps/details?id=com.filemanager.amazecloud) supports Google Drive™, Dropbox, OneDrive and Box accounts.
Try our app - [Amaze File Utilities](https://play.google.com/store/apps/details?id=com.amaze.fileutilities)
Try our app - [Amaze File Utilities](https://play.google.com/store/apps/details?id=com.amaze.fileutilities) ([Fdroid](https://f-droid.org/en/packages/com.amaze.fileutilities/))
1. List videos / images / music documents in your device in a interactive UI where you're able to group / sort and quickly jump to any headers.
2. Open videos / images / music / documents (pdf / docx / epub) with inbuilt player.
3. Share / delete / cast on your tv
Expand Down
13 changes: 6 additions & 7 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,13 @@
tools:ignore="AppLinkUrlError">
<action android:name="android.intent.action.VIEW" />
<data android:mimeType="application/pdf" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.OPENABLE" />
</intent-filter>
<intent-filter
android:label="@string/epub_viewer"
tools:ignore="AppLinkUrlError">
<action android:name="android.intent.action.VIEW" />
<data android:mimeType="application/vnd.ms-xpsdocument" />
<data android:mimeType="application/oxps" />
<data android:mimeType="application/vnd.comicbook+zip" />
<data android:mimeType="application/x-cbz" />
<data android:mimeType="application/epub+zip" />
<data android:mimeType="application/x-fictionbook" />
<data android:mimeType="application/x-mobipocket-ebook" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.OPENABLE" />
</intent-filter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ public class AboutActivity extends ThemedActivity implements View.OnClickListene
private static final String URL_REPO_RATE = "market://details?id=com.amaze.filemanager";
public static final String PACKAGE_AMAZE_UTILS = "com.amaze.fileutilities";
public static final String URL_AMAZE_UTILS = "market://details?id=" + PACKAGE_AMAZE_UTILS;
public static final String URL_AMAZE_UTILS_FDROID =
"https://f-droid.org/en/packages/" + PACKAGE_AMAZE_UTILS + "/";

@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ package com.amaze.filemanager.ui.activities
import android.content.ActivityNotFoundException
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.amaze.filemanager.BuildConfig
import com.amaze.filemanager.R
import com.amaze.filemanager.application.AppConfig
import com.amaze.filemanager.databinding.UtilitiesAliasLayoutBinding
Expand All @@ -44,7 +45,11 @@ class UtilitiesAliasActivity : AppCompatActivity() {
setContentView(_binding.root)
_binding.downloadButton.setOnClickListener {
Utils.openURL(
AboutActivity.URL_AMAZE_UTILS,
if (BuildConfig.IS_VERSION_FDROID) {
AboutActivity.URL_AMAZE_UTILS_FDROID
} else {
AboutActivity.URL_AMAZE_UTILS
},
this
)
}
Expand Down
7 changes: 3 additions & 4 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -773,16 +773,15 @@ You only need to do this once, until the next time you select a new location for
<string name="error_cant_decompress_that_file">Cannot process the requested archive</string>
<string name="analyse_storage">Analyse Storage</string>
<string name="amaze_file_utilities" translatable="false">Amaze File Utilities</string>
<string name="download_amaze_utils_text">You\'re being redirected to Amaze File Utilities. It\'s our offering that has inbuilt audio/video/image/document viewers, allows you to analyse storage files for blurry/dark images, duplicate files, fast transfer using Wifi P2P and much more.\nPlease support us by trying it out.</string>
<string name="download_amaze_utils_text">You\'re being redirected to Amaze File Utilities. It\'s our open source app that has inbuilt audio/video/image/document viewers, allows you to analyse junk files to free up storage, fast transfer using Wifi P2P and much more.\nPlease support us by trying it out.</string>
<string name="download">Download</string>
<string name="wifip2p">Wi-Fi P2P</string>
<string name="amaze_utils_installed_alias">Thank you for installing Amaze File Utilities. You\'re being redirected to the app.</string>
<string name="image_viewer">Amaze Image Viewer</string>
<string name="video_player">Amaze Video Player</string>
<string name="amaze_audio_player">Amaze Music Player</string>
<string name="pdf_viewer">Amaze Pdf Viewer</string>
<string name="epub_viewer">Amaze Epub Viewer</string>
<string name="docx_viewer">Amaze Doc Viewer</string>
<string name="pdf_viewer">Amaze Document Viewer</string>
<string name="docx_viewer">Amaze Document Viewer</string>
<string name="share_logs">Share logs</string>
<string name="share_logs_summary">Share captured logs via email / telegram</string>
<string name="open_with_amaze">Open with Amaze</string>
Expand Down

0 comments on commit 8608928

Please sign in to comment.