title: How to write custom plugins for phonegap + blackberry 10?
body: <p>I managed to install my phonegap/cordova app in the blackberry 10 simulator, so basically I am ready to start web app development.</p>
  
  <p>However I am wondering how I could create custom phonegap plugins which can be accessed by the web app via phonegap?<br>
  I found <a href="http://docs.phonegap.com/en/2.6.0/guide_plugin-development_blackberry_index.md.html#Developing%20a%20Plugin%20on%20BlackBerry" rel="nofollow">http://docs.phonegap.com/en/2.6.0/guide_plugin-development_blackberry_index.md.html#Developing%20a%20Plugin%20on%20BlackBerry</a>, but to me it seems this information is outdated or related to older blackberry devices.</p>
  
  <p>Does this java-class method still work on blackberry 10? If so, how can I access native code functions using a java plugin class?<br>
  If not, can I write a plugin using C++ code (probably using JNEXT <a href="https://developer.blackberry.com/html5/documentation/creating_extensions_for_bb10_apps.html" rel="nofollow">https://developer.blackberry.com/html5/documentation/creating_extensions_for_bb10_apps.html</a>), and is there any phonegap documentation on this?</p>