Hi,
I'm using https://www.b4x.com/android/forum/t...pp-with-activityviewcontroller.73159/#content to share photos with other applications.
Have had it all working for some time but recently have discovered a problem.
If the photo is too large (ie pixels wide x pixel high - NOT file size) the share will fail to some apps with the ..._Complete event returning Success as false and activityType as the package name of the app that sharing failed to.
I have come up with a workaround that allows the user to reduce the size of the photo being shared and to try again - as described here:
https://www.b4x.com/android/forum/t...wcontroller-error-messages.129571/post-815098
The problem is that if I just show the ActivityViewController pop-up again all possible sharing apps are shown.
What I would like to be able to do under these circumstances is have the ActivityViewController pop-up only show the app that previously failed (and whose package name I now have from the previous failing ..._Complete event).
I've searched the forums and googled myself silly without success.
Any clues?
Thanks in anticipation...
I'm using https://www.b4x.com/android/forum/t...pp-with-activityviewcontroller.73159/#content to share photos with other applications.
Have had it all working for some time but recently have discovered a problem.
If the photo is too large (ie pixels wide x pixel high - NOT file size) the share will fail to some apps with the ..._Complete event returning Success as false and activityType as the package name of the app that sharing failed to.
I have come up with a workaround that allows the user to reduce the size of the photo being shared and to try again - as described here:
https://www.b4x.com/android/forum/t...wcontroller-error-messages.129571/post-815098
The problem is that if I just show the ActivityViewController pop-up again all possible sharing apps are shown.
What I would like to be able to do under these circumstances is have the ActivityViewController pop-up only show the app that previously failed (and whose package name I now have from the previous failing ..._Complete event).
I've searched the forums and googled myself silly without success.
Any clues?
Thanks in anticipation...
Last edited: