8

Get absolute path to assets folder in PhoneGap

view full story
linux-howto

http://stackoverflow.com – Is there a way to get the absolute path of an image in phonegap asset folder? I need the absolute path to attach the image in a mail using EmailComposer plugin. EmailComposer plugin wants an absolute path like this: /storage/sdcard0/DCIM/Camera/20121124_125210.jpg But the image I want to attach is in my assets folder and a path like this: file:///android_asset/www/img/logo.png does not work (HowTos)