I'm trying to create a java module to call some native Android SDK functions, and I've followed http://developer.appcelerator.com/doc/mobile/android/module_sdk to the letter. I've created the module, got it building both in Eclipse and with ant, but can't get my mobile app to actually use the module.
The only deviation I've made from the documentation is to skip the @Kroll.method annotation on my module's methods, as there seems to be no such thing available in the 1.4 series APIs. I'm fairly certain this is actually my problem, but I haven't found any replacement.
I've tried placing the resulting .zip file in my app's root folder (as documented), in my Resources folder. I've made entries in my tiapp.xml file for the module. I'm using the require() method in my app.js as suggested, but in my console output I see java filenotfound exceptions for a "com.company.module.js" file.
Has anyone got this working on 1.4? Or is this a 1.5 only feature?
Sorry, it's 1.5 only for Android.
I am getting this exact same problem when integrating the example (hello world) module using SDK V1.5.1. Can anyone help?