plugin.xml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. id="in.girish.datagram"
  5. version="0.1.0">
  6. <name>UDP Plugin</name>
  7. <description>UDP Plugin which supports node.js dgram API</description>
  8. <license>MIT</license>
  9. <keywords>UDP, Multicast, Datagram, dgram</keywords>
  10. <!-- cordova defines the file below with define('<plugin-id>.<name>') -->
  11. <js-module src="www/datagram.js" name="datagram">
  12. </js-module>
  13. <platform name="android">
  14. <config-file target="res/xml/config.xml" parent="/*">
  15. <!-- This is the name used for service name in cordova.exec -->
  16. <feature name="Datagram" >
  17. <!-- This tells cordova which java class to load for this plugin -->
  18. <param name="android-package" value="in.girish.datagram.Datagram"/>
  19. </feature>
  20. </config-file>
  21. <source-file src="src/android/Datagram.java" target-dir="src/in/girish/datagram/" />
  22. </platform>
  23. </plugin>