armakapo wrote:Should I provide only the leJOS code or my application's code, according to the license?
skoehler wrote:I'm not an expert, unfortunately. But it wouldn't make sense that you provide the modified source, if it references other source that you won't publish. However, you should simply write your own UI. As far as I understand, the leJOS Droid project consists of an example UI (lejos.android package) and an extension of the pccomms library (lejos.pc.comm package).
From a legal standpoint, I wouldn't think simple writing the UI would negate the need to provide the src code.
For example, I don't believe I could have distributed the leJOS droid project itself via the android market without providing source. If leJOS is not used in your project at all, then that is one thing. Surely by using pccomms, you are agreeing to the terms of the license. That fact that your application will not compile without pccomms inclusion should make this clear. It means you ARE using leJOS code, does it not?
I understand that GPL has a modified version where code sometimes is distributed with a "linking exception" that allows projects to use a library without requiring src distribution, but leJOS is not under that license.
Anyway, just distribute the src. I suspect most people who use your project will just use it as is and won't try to change it. For many people, building the robot is work enough without the complexity of Android and leJOS to also deal with.
Shawn