markeeftb / FileOpener

Simple plugin for opening local files with Phonegap for Android
Apache License 2.0
51 stars 81 forks source link

Cordova 2.7.0 #5

Open don opened 11 years ago

don commented 11 years ago

Update for Cordova 2.7.0

doonmcgill commented 11 years ago

Is there anyway to make this plugin support objectURLs such as : blob:file:///80a24f8b-b605-4d3b-ab20-19b069c84d28

Thanks for a terrific plugin BTW!

Just modified the fileOpener plugin to accept a content type - the first line of the logcat shows the parameters I am passing in - unfortunately nothing further happens...no choice of apps to open the URL etc.

I/FileOpenerPlugin(13385): url: blob:file:///36b0c9f9-3bcd-412d-afb5-19d307022c72, content_type: image/jpeg D/Instrumentation(13385): checkStartActivityResult :Intent { act=android.intent.action.VIEW dat=blob:file:///36b0c9f9-3bcd-412d-afb5-19d307022c72 typ=image/jpeg } D/Instrumentation(13385): checkStartActivityResult inent is instance of inent:

Suggestions? Workarounds? Or is it not possible?