NSString* argPath = [arguments objectAtIndex:0];
I realize this is a couple years old now, but would this plugin still work? I'm having zero luck getting it to work in a Cordova 1.5 implementation. I've updated the#import "PhoneGapCommand.h"to#import "CDVPlugin.h"and added the plugin reference in Cordova.plist, but I just always get the same 2 errors:2012-07-08 23:22:02.072 Olympics[7024:707] CDVPlugin class ImageHelper (pluginName: ImageHelper) does not exist.
2012-07-08 23:22:02.074 Olympics[7024:707] ERROR: Plugin 'ImageHelper' not found, or is not a CDVPlugin. Check your plugin mapping in Cordova.plist.
Or, even better, is there another way of achieving this basic task now in Cordova?
Hi there, I have read up and scoured the net for an elegant solution to this so I feel the need to visit this post again/
Is there a way to do this outside of XCode across devices yet?
I am now way over my 13th hour on this trying to store a photo to be retrieved when the app or phone is rebooted at a later date?
I tried writing the Base64 string to the database to retrieve later but there is a small size limit (I will have about 10 times 10 seconds of mp3 plus 2 photos to store for each run of the app so storing on a limited size database or jstorage is out of the question I think?)
I want to be able to load up previous runs and populate with older audio and photos, but looking at this post and other areas of the net, it seems impossible to do?
When I take a photo I can see it is in the tmp folder:
file://localhost/var/mobile/Applications/BC094BE7-8A51-42F1-B5E3-79C0A6330D82/tmp/cdv_photo_001.jpg
but I want to get that out of there to somewhere that will still be there on a phone reboot? This is on all phones, not just iPhone.
Can somebody please please help me out on this one. I am almost flumoxed.
Cheers,
Lins.