Adding java files to src?

Monkey Targets Forums/Android/Adding java files to src?

FelipeA(Posted 2013) [#1]
Is there a way to add a folder containing java files to the src file via Monkey ??

I am making a small Push Notification module which requires to add a big folder with .java files in the src and I want to keep this module very manageable without having to add by hand the folder.

Thanks.


MikeHart(Posted 2013) [#2]
Look how Mark did it with the Admob module.


Nobuyuki(Posted 2013) [#3]
Alternatively, you can also copy libraries to be compiled with the proper directive in build.xml, since #LIBS is limited to precompiled JAR files


skid(Posted 2013) [#4]
You are best to clone the Android target (which with recent versions is now trivial).

Native code in standard modules is inlined in your projects main source file which is probably NOT what you want.


Sub_Zero(Posted 2013) [#5]
Yes you can add java files to src, read my last post here:
http://www.monkeycoder.co.nz/Community/posts.php?topic=3377#36970