Comments (17)
does it crash with all applications or with a specific one?
can you provide the log?
from leafpic.
Actually it does not crash at all. (If it would I could provide some kind of log...) The crash was already fixed.
So to provide real STR here more information:
I used a non-public beta version of Threema, which uses Content Providers. But probably you can also use the other app @craftyguy mentioned.
So in this app I can pass pictures to a gallery app and when I do so LeafPic only shows me the black screen as described.
from leafpic.
@dnldsht Why do you close this issue? Is it fixed?
BTW: I could reproduce it with other apps as well.
from leafpic.
I also have this issue trying to view pictures from QKSms using Leafpic. Just a blank white panel with a blue bar at the top.
from leafpic.
Hi, I think I have the same issue: trying to open image attachment from K-9 Mail app opens LeafPic, but no image is displayed (only blank white panel and blue bar at the top). On the other hand, any image from folder on SD card that is "known" to LeafPic opens fine from other apps (in my case Total Commander).
I have LeafPic 0.3.5 from F-Droid.
from leafpic.
So, yeah. This might not have something to do with Content Providers. Or does someone know whether K9 mail and QKSms use it (I doubt so).
So this issue is much more common than I thought.
from leafpic.
I have the same issue with LeafPic opening attachments from K-9 Mail.
If I open html attachment with Chrome, it shows url as content://com.fsck.k9.attachmentprovider/........../VIEW
. Thus I suppose the same happens to images, which might be unexpected for LeafPic resulting in empty view.
from leafpic.
Hi guys, new release can you check if there are problems opening media from other apps, I think it is solved (K-9 Mail works). I didn't test MMS because here no one use them and they are quite expensive.
So can someone report apps that have troubles?
from leafpic.
Shouldn't it appear in F-droid repository after you release a new version?
from leafpic.
@PF4Public they update once a day during the night, but I don't when it will be available
from leafpic.
I can confirm, that K-9 mail successfully sends attached images to LeafPic without first downloading them, seems fixed to me.
PS: I don't know if that's a bug or not, but homescreen icon didn't change after update.
from leafpic.
On June 17, 2016 12:38:18 PM PDT, PF4Public [email protected] wrote:
I can confirm, that K-9 mail successfully sends attached images to
LeafPic without first downloading them, seems fixed to me.PS: I don't know if that's a bug or not, but homescreen icon didn't
change after update.
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#168 (comment)
Also works now for me with K9 and QKSms.
Thanks,
Scott
from leafpic.
@PF4Public try to refresh your launcher.
from leafpic.
Why do you keep closing this issue? It's not fixed.
from leafpic.
Indeed I can also reproduce this with multiple apps.
However as I see it mostly only happens with big pictures (e.g. taken with the camera apps). Small pictures downloaded from website work however.
from leafpic.
Same here, K9 attachments created with an (iPhone 6 camera) can't be opened. Hardware is a Sony Xperia Z5 Compact, patched to the latest Android (7.0) and K9 Mail version (as of today). Installed LeafPic as a replacement for the anoying Sony-provided Album-App from Google AppStore. Behaviour of LeafPic is otherwise OK (opens images on local and SD-Card storage).
Please reopen this bug. See also #188 .
from leafpic.
the bug still exists. here is a exception stack trace:
03-24 08:13:37.399 27516 27516 W System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.ArrayList.add(int, java.lang.Object)' on a null object reference
03-24 08:13:37.399 27516 27516 W System.err: at org.horaapps.leafpic.data.Album.<init>(Album.java:75)
03-24 08:13:37.399 27516 27516 W System.err: at org.horaapps.leafpic.activities.SingleMediaActivity.onCreate(SingleMediaActivity.java:104)
03-24 08:13:37.399 27516 27516 W System.err: at android.app.Activity.performCreate(Activity.java:6679)
looking into the source shows the error:there is a private constructor which has to run to fill class members. this is done by this()
in one constructor, the others contain super()
instead which circumvents this initialisation. replacing super
with this
(twice, line 58 and 74) solves the issue.
the second problem is the equal()
function further down (line 447) where the path may be null for such cases. i just added && getPath() != null
to the condition to prevent another NPE.
now LeafPic can show pictures from apps for me. thank you for providing LeavPic!
from leafpic.
Related Issues (20)
- App Crash on back press from Media > Albums > Back when app killed in background
- build failed HOT 1
- App crashes when I click on option (open with) in LeafPic Gallery. HOT 1
- Rate Button not working in About page HOT 1
- App crashes on video play with no Google services
- "Access by password" stays toggled on "Password doesn't match"
- externally opened videoes cause non transparent & underlapping player design HOT 1
- Opening media in "split screen" view shows odd offset on control-bar HOT 1
- Can this cast images/videos to a TV via DLNA? or to a Chromecast dongle? Can this be added?
- App crashes on android Q HOT 3
- Redundant typecasts in several activities
- Unable to delete file on SD Card HOT 2
- Image clicking button
- libs version change
- Multiple file copy and paste
- screen rotation cause video go back to start HOT 2
- about copy files HOT 1
- Can not select "sort by type" HOT 1
- Whatsapp media not showing
- Factors Behind Updating Third-Party Libraries in Mobile Apps HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leafpic.