• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Are Java/Android Code on Git Hub are Opensource?

 
Kishor Joshi
Ranch Hand
Posts: 674
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

(I am not sure this question should be asked here or not)

I am new to programming.I want to know that the code that are available on github.com are opensource?

I mean can I use these code and Modify them according to my requirement?


I am not experienced on Git Hub code?

Can I Use those code which are avaiable free to develop for premium android or java application?

Thanks

 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, if the code is openly available, then it's open source by definition, no? Actually, that's not quite true, there are some cases where source code is publicly available without its license being regarded as "open source".

This question can't be answered in general - you have to check the license of each library you use. Most of them have that information on their GitHub start page, often at the bottom. Most (not all) Android libraries use MIT/Apache-style licenses, which let you use them pretty freely as long as you attribute them properly. But others use one of the GPL-style licenses which require you to be more careful.

Rule of thumb: if you can't say without looking it up what the major differences are between GPL, LGPL, Affero GPL, and MIT/BSD/Apache-type licenses, don't even think about using 3rd party libraries in software you intend to distribute.
 
Kishor Joshi
Ranch Hand
Posts: 674
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what to do I have following code

https://github.com/roomorama/Caldroid
https://github.com/inteist/android-better-time-picker
https://github.com/derekbrameyer/android-betterpickers


Can I use these code and modify them for my premium selling software?

How to know which code of github I should use and modify that code and use that for my premium software building ?

Thanks
 
Campbell Ritchie
Sheriff
Posts: 51368
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does it say on those links?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Campbell hints at, all 3 projects have the licensing information right where I said it was likely to be. I'll stress again, and I'll bold it because it is very important: There is no shortcut to educating yourself on these different licenses. It would be trivial for me to answer your question, but I'll refrain because that's a crucial skill you need to develop. This involves spending probably at least an hour reading up on the various license types. Before you can readily answer the following questions you should not distribute software that uses 3rd party code: a) what is the difference between Free and Open Source software? 2) for which of the licenses I mentioned above does it make a difference whether your app is itself free/open source, and for which does it make no difference? 3) for which of the licenses I mentioned above does it make a difference whether you modify the source code of the library, and for which does it make no difference? 4) for which of the licenses I mentioned above does it make a difference whether your app is a web app, and for which does it make no difference? 5) for which of the licenses I mentioned above does it make a difference whether your app or parts of it costs something, and for which does it make no difference? 6) what is the minimum you need to do in your app for all the above-mentioned licenses?
 
Campbell Ritchie
Sheriff
Posts: 51368
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Ulf says, you aren't going to get such an answer here. It might be dangerous for any of us to answer; since we are mostly not legal experts, we might get into trouble if we give mistaken advice.

I think this discussion will simply go round and round in circles.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15628
46
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kishor Joshi wrote:So what to do I have following code

https://github.com/roomorama/Caldroid
https://github.com/inteist/android-better-time-picker
https://github.com/derekbrameyer/android-betterpickers


Can I use these code and modify them for my premium selling software?

How to know which code of github I should use and modify that code and use that for my premium software building ?

Thanks

There is license information for each of those three projects.

https://github.com/roomorama/Caldroid => see https://github.com/roomorama/Caldroid/blob/master/LICENSE.md

https://github.com/inteist/android-better-time-picker
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


https://github.com/derekbrameyer/android-betterpickers
Copyright 2013 Derek Brameyer

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


Do some research on what those licenses mean, if in doubt then ask the authors of those projects and explain them what you want to use their software for.


 
Junilu Lacar
Bartender
Pie
Posts: 8786
81
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not all open source licenses are created equal. If you plan to use open source code for commercial purposes, like on an application that you're being paid to write or plan to distribute or make available to others in any way, it would be prudent to consult with the company's legal department and have them review the license of each open source library you plan to use, with modifications or otherwise. I work for a Fortune 500 tech company and we have very strict guidelines on which open source licenses we can use and which ones we should absolutely avoid. There are dire consequences for messing up, including immediate termination of employment. We have a whole training course and internal website to track usage of open source software in any and all of our software, both internally- and externally-available ones.

You have to be especially careful which way the license goes: copy"left" or copy"right" - there are certain implications and ramifications with each of these. These ramifications include but are not limited to unwanted but now-compulsary disclosure of proprietary intellectual property of your company, something most companies will want to avoid.

Bottom line, exercise due diligence if you're going to use open source software in your application, especially when it's for commercial purposes.
 
Junilu Lacar
Bartender
Pie
Posts: 8786
81
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
 
Campbell Ritchie
Sheriff
Posts: 51368
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a new version of the top hit in that search.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic