How to include files in a simple service for Android?

You must Login before you can answer or comment on any questions.

I am build a simple service for Android following the instructions here and I am having problems including my Javascript libraries from the Resources root in my service script. It seems that from the service script it is only possible include files in the 'android' folder, which is less than ideal. Does anyone know for sure if this is the case?

— asked 2 years ago by John Olmstead
2 Comments
  • UPDATE: Looks like it is possible to include files with all lower-case file names either directly in the 'android' folder or directly in the resource folder, but not sub-folders either. The all lower-case name restriction was a gotcha.

    — commented 2 years ago by John Olmstead

  • UPDATE: Given the include restrictions mentioned above, I found the best solution to be to fire an event from the service code with a listener in the application code.

    — commented 2 years ago by John Olmstead

Your Answer

Think you can help? Login to answer this question!