Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on Android 7 Image shared #11

Open
DezarM opened this issue Aug 17, 2017 · 0 comments
Open

error on Android 7 Image shared #11

DezarM opened this issue Aug 17, 2017 · 0 comments

Comments

@DezarM
Copy link

DezarM commented Aug 17, 2017

hi.
when i use code

var _bitmapData = new BitmapData(512,512); s.cacheAsBitmap= true; _bitmapData.draw(s); AirNativeShare.instance.showShare([_bitmapData]);

return

08-17 17:42:15.699 9312-9312/? E/MediaStore: Failed to insert image java.io.FileNotFoundException: No such file or directory at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:146) at android.content.ContentProviderProxy.openAssetFile(ContentProviderNative.java:611) at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:922) at android.content.ContentResolver.openOutputStream(ContentResolver.java:669) at android.content.ContentResolver.openOutputStream(ContentResolver.java:645) at android.provider.MediaStore$Images$Media.insertImage(MediaStore.java:902) at com.freshplanet.ane.AirNativeShare.functions.ShareFunction.call(ShareFunction.java:53) at com.adobe.air.AndroidWebView.dispatchLocationChange(Native Method) at com.adobe.air.AndroidWebView.dispatchLocationChange(Native Method) at com.adobe.air.AndroidWebView.onLocationChange(AndroidWebView.java:919) at com.adobe.air.AndroidWebView$2.doUpdateVisitedHistory(AndroidWebView.java:563) at com.android.webview.chromium.WebViewContentsClientAdapter.doUpdateVisitedHistory(WebViewContentsClientAdapter.java:253) at com.android.org.chromium.android_webview.AwContentsClient$AwWebContentsObserver.didNavigateAnyFrame(AwContentsClient.java:100) at com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) at com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:27) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5021) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:827) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643) at dalvik.system.NativeStart.main(Native Method)

if i share text all ok.
this eeror only with bitmadata.
why?

test on android 7 and emulator bluestacks.
on android 4.4 all work normal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant