I've created a Cordova plugin for Android, and I've put a file in the src
folder:
Plugin.xml
<source-file src="myfile.ext" target-dir="src/com/example"/>
I also can see (in Android Studio) that the file was succesfully added in the src
folder:
android
|-- /src
|-- com
|-- example
|-- myfile.ext
|-- MyPlugin.java
Now I need to be able to get the path to this file in MyPlugin.java, but I've no clue how to do this. Can anybody help me with this? Thanks!