• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Are Java/Android Code on Git Hub are Opensource?

 
Ranch Hand
Posts: 674
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does it say on those links?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


 
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And remember: Open Source Software is different from Free Software
 
Campbell Ritchie
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Junilu Lacar wrote:And remember: Open Source Software is different from Free Software

There is a new version of the top hit in that search.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to remove Apache license 2.0,because i  don't know who will access without my permission,
 
Saloon Keeper
Posts: 15510
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by "remove license"?

The Apache license will forever apply to all unmodified parts of the licensed work, and you still have to retain all copyright and attribution info. You can't just remove it.

However, it doesn't prevent you from adding your own additional license terms to the modifications that you've made, if you're worried about that.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All source code published in the USA automatically is under US Copyright. The need for an author to explicitly file for copyright protection was superseded somewhere back in the 1980s.

The software license distributed with open-source projects typically grants specific rights to the licensee. The exact rights being subject to whatever license was provided with the product in question.

You CANNOT remove rights UNLESS the license EXPLICITLY grants you the right to do so. The right to change or augment the code will also vary depending on the license.

When in doubt, consult a lawyer and be aware that copyright and software license laws depend on the country involved.
 
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic