IME Extension Resource File AndroidManifest.xml

J Joerg Koch 3 years 6 months ago
0 1 0

Hi all,

I'm implementing an extension which will provide and IME. I declare the Input Method Service in the AndroidManifest.xml of the extension.

In the AndroidManifest.xml I also provide the XML configuration file for the Input Method:

On build I get the following error:

Error: No resource found that matches the given name (at 'resource' with value '@xml/method').

The method.xml file is located at:

extensions//ext/platform/android/adds/res/xml/method.xml

Is there another preferred location for this file, or does it have to be declared elsewhere?

Thanks for any help!

Please Register or Login to post a reply

1 Replies

J Joerg Koch

As described here (only available in the 2.2.0 docs):

Rhomobile | Extending the Rhodes Framework

the adds directory has to be specified in the ext.yml file, e.g.:

android:
  adds: ext/platform/android/adds

CONTACT
Can’t find what you’re looking for?