Ok thank you for your answer. But something is still unclear to me.
I would like to make a code module or class and compile to a library and use the generated jar file and xml in a amdroid studio project. So no modification is needed or anything else just use the lib in eclipse or android studio as i use in b4a.
Is this possible?
Thank you