Native Android Extension - Service Not Found
Greetings,
I have created an AIR native extension which I am using in an AIR for Android app. My native extension needs to use an Android Service from a 3rd party library. However, seemingly no matter what I do to hook up this Android Service in the native code, the app reports "Unable to start....service not found" at runtime.
Now I have used this service in normal, native Android apps and it works fine - I have tried duplicating the same startup process from my previous apps, that process still results in a "service not found" error in this AIR for Android app.
Does anyone know whats going on here, or had similar issues?
My only thought at this point is that the intense mangling that happens when AIR compiles an APK might be screwing up the path to the Service, therefore the class loader on the Android device is unable to find the service at runtime. However, I do not know how to prove this hypothesis.
I have gone as far as to write my own Service class which wraps around the 3rd party service, so that the service I'm requesting is in the same java package as all the other native extension code I'm writing, but that option didn't work either.
Any help would be appreciated.
Thanks.
Matt
PS - In case you're wondering, I did make sure to declare the <service> tag in my extension's manifest file.
