Code Monkey home page Code Monkey logo

share2storage's Issues

Monochrome icon

For 1.0.0 I would like to have a monochrome icon available.

I do have the asset available but I need to be able to properly "cut out" some parts to use it.

Support "open with"

There are some apps which don't allow sharing and saving but have an option to open a file with another app. It would be really handy if this app could accept such intents and save the files.

Improve takePersistableUriPermission usage

takePersistableUriPermission can take a combination of the flags Intent.FLAG_GRANT_READ_URI_PERMISSION and Intent.FLAG_GRANT_WRITE_URI_PERMISSION.

Currently both are used for Save Locally when setting a Default save location folder. Since we only need to write to the folder and there's no need at all to read, consider switching to only use Intent.FLAG_GRANT_WRITE_URI_PERMISSION.

This change should also not break the Default save location setting UI when upgrading (this might happen when changing folders if not done properly).

[BUG] Doesn't seem to work with Android 14

Since the app won't even ask for essential permissions like storage access or media access, it's no wonder that the app won't show up in the share menu.
Please fix it, I like the concept of this app.

Additionally, I'm not able to manually grant these permissions, because the app won't show up in the permission menu of Android's settings.

Nvm, it DOES work, but just for local files. I'm confused now- why would you want to save your local files locally? This doesn't make any sense to me.
What I actually tried was to export a PDF file given out by another app to my local storage, as the original PDF could only be shared, not saved.
Doesn't Share2Storage support this task? And if not, why not? This would be the only case I needed an app like this one.

Unable to handle large 500 MB files

When I zip a file and share it and try to save it using this app, and it's about 500MB or more, then it never works. This is true for version 1.2.1, but I haven't tried the most recent version.

Share Nearby enhancement

Feature Request / Enhancement
Some Android tools and applets seem only to support a Share Nearby sharing option.
Is it possible to have Share2Storage behave like a "nearby" device too?

Add support for multiple files

Currently the app only supports a single file, so it isn't shown on the share sheet when sharing multiple files.

Add support for the intent filter for multiple files as well as UI support for showing info and downloading multiple files.

Optionally capture ACTION_VIEW

Some apps force opening files with ACTION_VIEW, and do not give you an option to save the file.

It would be nice if it was possible to handle this action as well.

Thanks!

[Feature] Preview image

When saving to storage, in the app menu, there should be a image preview that could also be maximized and zoomed

App crach

App v. : 1.1.0

FATAL EXCEPTION: main
Process: com.mateusrodcosta.apps.share2storage, PID: 31971
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mateusrodcosta.apps.share2storage/com.mateusrodcosta.apps.share2storage.DetailsActivity}: java.io.IOException: broken file descriptor
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3983)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4136)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:99)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2581)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
at android.app.ActivityThread.main(ActivityThread.java:8720)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
Caused by: java.io.IOException: broken file descriptor
at android.graphics.BitmapFactory.nativeDecodeFileDescriptor(Native Method)
at android.graphics.BitmapFactory.decodeFileDescriptor(BitmapFactory.java:861)
at android.graphics.BitmapFactory.decodeFileDescriptor(BitmapFactory.java:895)
at com.mateusrodcosta.apps.share2storage.DetailsActivity.onCreate(Unknown Source:206)
at android.app.Activity.performCreate(Activity.java:8891)
at android.app.Activity.performCreate(Activity.java:8856)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1468)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3965)
... 12 more

Review theme and edge to edge setup

Current the main theme is defined as

    <style name="Theme.App" parent="@android:style/Theme.Material.Light.NoActionBar">

Consider using the equivalent AppCompat theme in a future version.

The following parameters are defined to be able to have white icons, confirm later:

        <item name="android:navigationBarColor">@android:color/transparent</item>
        <item name="android:statusBarColor">@android:color/transparent</item>
        <item name="android:windowLightStatusBar">false</item>

And this is the code to manually enable EdgeToEdge while supporting the white icons:

        WindowCompat.setDecorFitsSystemWindows(window, false)
        val windowInsetsController = WindowCompat.getInsetsController(window, window.decorView)
        windowInsetsController.isAppearanceLightNavigationBars = true

Check all these details for a next version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.