Giter VIP home page Giter VIP logo

share's Introduction

Open To Share

Access sharing options when opening files

Converts "open with" dialogs (VIEW intents) to "share with" dialogs (SEND intents).

This little utility has served me well over the past few years and I am now Open To Share it with the community.

share's People

Contributors

bndeff avatar

Stargazers

Parham Mohammadi avatar Casper avatar  avatar  avatar  avatar  avatar  avatar

share's Issues

Crash in Android 8+ when opening files in some applications.

This is caused by the missing of grantUriPermissions permission in Androidmaninfest.xml.

Here is the stack trace.

FATAL EXCEPTION: main
Process: app.share, PID: 23556
java.lang.RuntimeException: Unable to start activity ComponentInfo{app.share/app.share.TransferActivity}: android.os.FileUriExposedException: file:///storage/emulated/0/Tencent/TIMfile_recv/ch4%20Intermediate%20SQL%20%E6%97%A0%E7%AD%94%E6%A1%88.pptx exposed beyond app through ClipData.Item.getUri()
	at android.app.ActivityThread.performLaunchActivity(Unknown Source:524)
	at android.app.ActivityThread.handleLaunchActivity(Unknown Source:30)
	at android.app.ActivityThread.-wrap11(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(Unknown Source:80)
	at android.os.Handler.dispatchMessage(Unknown Source:21)
	at android.os.Looper.loop(Unknown Source:155)
	at android.app.ActivityThread.main(Unknown Source:68)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Unknown Source:11)
	at com.android.internal.os.ZygoteInit.main(Unknown Source:200)
Caused by: android.os.FileUriExposedException: file:///storage/emulated/0/Tencent/TIMfile_recv/ch4%20Intermediate%20SQL%20%E6%97%A0%E7%AD%94%E6%A1%88.pptx exposed beyond app through ClipData.Item.getUri()
	at android.os.StrictMode.onFileUriExposed(Unknown Source:33)
	at android.net.Uri.checkFileUriExposed(Unknown Source:34)
	at android.content.ClipData.prepareToLeaveProcess(Unknown Source:43)
	at android.content.Intent.prepareToLeaveProcess(Unknown Source:23)
	at android.content.Intent.prepareToLeaveProcess(Unknown Source:55)
	at android.content.Intent.prepareToLeaveProcess(Unknown Source:20)
	at android.app.Instrumentation.execStartActivity(Unknown Source:139)
	at android.app.Activity.startActivityForResult(Unknown Source:23)
	at android.app.Activity.startActivityForResult(Unknown Source:1)
	at app.share.TransferActivity.onCreate(TransferActivity.java:18)
	at android.app.Activity.performCreate(Unknown Source:3)
	at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
	at android.app.ActivityThread.performLaunchActivity(Unknown Source:466)
	... 9 more

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.