[App][Project][WiP] OpenDroidApps - Android Software Development

Hey guys,
I've been developing for Android as a kernel developer from around a year, and one thing I like about it is that it is open. It helps in getting patches from other developers, and implement new features.
Recently I've started learning Application Development, and I feel there is one thing that is missing with it. The Openness like the AOSP android source and ROM's...
So here, I am to kick-start a project to develop Open Source Android Applications. We can have a collection of different apps, and update them on the market for the whole world to use.
OpenDroidApps​
Different Apps Planned:
Launcher
Messaging
Contacts
Dialer
Music Player
And Many More...
So, this is a request to all the app developers out there, to come join me in developing a collection of different apps with excellent features and options.
Required:
App Developers
Sources to start of the apps
Website

nice idea
specially the music player one

fire_kid2003 said:
nice idea
specially the music player one
Click to expand...
Click to collapse
Thanks
Shouldb start working on the project today...
sources will be from the android 4.0.4 r1.2...
And any developer wanting to contribute to the project let me know...
Sent from my GT-I9100 using XDA

I am confused whether I can use the android open source code provided by google as the base to build the apps ? Will it be violating and licence ? Can anyone clear my doubts ?

Read the licence, for the most part, if your code stays open, you are safe in forking a project. As long as you dont sell the code as your own and keep it opensource. That way improvements cant be submitted upstream, which is the core of FOSS, enhancing projects, fixing bugs and building better software

cornelha said:
Read the licence, for the most part, if your code stays open, you are safe in forking a project. As long as you dont sell the code as your own and keep it opensource. That way improvements cant be submitted upstream, which is the core of FOSS, enhancing projects, fixing bugs and building better software
Click to expand...
Click to collapse
But i will be changing the package names initially itself...coz i dont think you can upload an app to the market with the package com.android.... So is this allowed?
Sent from my GT-I9100

Dharam_Maniar said:
But i will be changing the package names initially itself...coz i dont think you can upload an app to the market with the package com.android.... So is this allowed?
Sent from my GT-I9100
Click to expand...
Click to collapse
Wouldn't be allowed most probably, you'll need to change the package name and possibly add a note starting that you used sources from blah and blah.
Even if the same package name was allowed, you'ld be signing your apps with your own key, and the original apps on the device would be signed by the OEM's key, but with the package name being the same, Play Store would show it as an update, but installing it won't work, and that'ld cause issues.
So, as long as you name it anything other than the default name, and provide source code to public, and keep the apps free, it won't cause any problem.
Read through the Play Store ToS once if you're in doubt, or contact the staff if you still have doubts

I am interested. Just started with app development a couple of months back

Also intersted ill help with anythong....
Sent from my VS910 4G using xda premium

I would also help, if needed
Add Clock to the app list: Most proprietary clock apps provide timer and stopwatch but aosp does not - so it should be added
I think it is not needed to do another launcher - there are enough aut there.
And the license thing: nearly everything in android is Apache licensed, which means that you only need to mention original source in the app - it is not needed to publish the source code, however i would like to say that i would not work on a project that is licensed proprietary or pseudo-free (GPL)
MaR-V-iN

suhas_sm said:
I am interested. Just started with app development a couple of months back
Click to expand...
Click to collapse
motodroidfreak said:
Also intersted ill help with anythong....
Sent from my VS910 4G using xda premium
Click to expand...
Click to collapse
MaR-V-iN said:
I would also help, if needed
Add Clock to the app list: Most proprietary clock apps provide timer and stopwatch but aosp does not - so it should be added
MaR-V-iN
Click to expand...
Click to collapse
Thanks for the interest guys...
I was waiting for a reply on the licence issue...Seems there shouldn't by any problems...
So we can start off with the project...
I'll try to setup everything soon and we can then work on the apps

Dharam_Maniar said:
I was waiting for a reply on the licence issue...Seems there shouldn't by any problems...
So we can start off with the project...
Click to expand...
Click to collapse
See my post - i wasnt fast enough in editing

MaR-V-iN said:
See my post - i wasnt fast enough in editing
Click to expand...
Click to collapse
I didn't understand. The project will have all the apps on the market for everyone to download, and the source code will be hosted on github so that we can improve the code be providing patches...So you are interested or no ?

For web i can help you
Let me know
Sent from my Xperia Play using Tapatalk 2

Dharam_Maniar said:
I didn't understand. The project will have all the apps on the market for everyone to download, and the source code will be hosted on github so that we can improve the code be providing patches...So you are interested or no ?
Click to expand...
Click to collapse
Just saying it is open source does not make clear which license to use - i would suggest Apache License as it is my favourite one and i would not like GPL as i hate how they force developers to make everything opensource what is really **** for business developers...
Just say it will be Apache License and you got me in
MaR-V-iN

MaR-V-iN said:
Just saying it is open source does not make clear which license to use - i would suggest Apache License as it is my favourite one and i would not like GPL as i hate how they force developers to make everything opensource what is really **** for business developers...
Just say it will be Apache License and you got me in
MaR-V-iN
Click to expand...
Click to collapse
Actually speaking, I don;t understand most of the license stuff...
But If we see the source of the apps provided by google in AOSP, it says
/*
* Copyright (C) 2007 The Android Open Source Project
*
* 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.
*/
So, I guess it will be Apache Licence...But I would like to tell you, that these apps will be complete open source...Its not a project for business but for developing great apps for the community, by the community...Anyone and everyone can help in improving these apps.

I'm no dev but if I'm understanding correctly you will set up the environment on github ,everyone can just push in code and from time to time u publish the latest apks to the market right?
Sent from my SGS2 powered by cm9 love

bartoloandre98 said:
I'm no dev but if I'm understanding correctly you will set up the environment on github ,everyone can just push in code and from time to time u publish the latest apks to the market right?
Sent from my SGS2 powered by cm9 love
Click to expand...
Click to collapse
Yes... You understand correct...

Dharam_Maniar said:
Yes... You understand correct...
Click to expand...
Click to collapse
Make an org on github, would be the best way
Sent from my GT-P1000 using XDA

cdesai said:
Make an org on github, would be the best way
Sent from my GT-P1000 using XDA
Click to expand...
Click to collapse
did that long back
Just busy with my other project also...i.e. the DarkKnight Kernel for CheckROM ICS (Galaxy S2)

Related

[CM10.X] Developing Question !

Hey lovely community !:laugh:
so guys after the "fight" in the [DEV] thread about developing CM 10.x ...
The thread got closed ! So whats now ?
Will shaaaaan or any other DEV's going on working on this or not ?
I hope you get the the things in the right way ... :highfive:
LOVE YOU <3
Let's forget about CM for a while. Shaan from the first time is speaking for his Samsung Galaxy S Advance and he's got some problem too. Even if he success build the CM for his device, we need someone to port it into GS 3 Mini, so we're far from fully workng CM. So let's wait oliver and the other who really concern about our device GS 3 Mini.
Hey!
Sincerly from my opinion that "fight" was really child`ish. I didnt make a backgroung check on Mac and i dont care what he did in the past as long as he can make something viable for our phones. We can all be "condemned" for not folowing the GNU licence agrement at some point. Anyway its bad that we lost a DEV because some ppl have pride. Afaik the licence doesnt obligate anyone to share, it give you the right to share.
PS: English is not my native language so dont flame about my speling mistake.
PS2: This is just my opinion so take it as is.
Really upset to see that the devellopers where almost done with the first operationnelle version and now everything is gone due to personal ego's!
Unfortunatly I do not have developer skills
AW: [CM10.X] Developing Question !
ztandroid said:
Let's forget about CM for a while. Shaan from the first time is speaking for his Samsung Galaxy S Advance and he's got some problem too. Even if he success build the CM for his device, we need someone to port it into GS 3 Mini, so we're far from fully workng CM. So let's wait oliver and the other who really concern about our device GS 3 Mini.
Click to expand...
Click to collapse
I'm very unhappy to hear this but ok ...so we have to wait now
But I'm also an owner of the Galaxy Ace device and if I remember rightly there were a lot of Problems too with Maclaw ... but in anyways he is a good Dev.
Enjoy your week!
And sorry for my english ...
Sent from my GT-I8190 using xda app-developers app
Lol, it was kind of fun. But to bad we have no cm.
Sent from my GT-I8190 using xda premium
Search about Maclaw and GNU first, then judge..
Maclaw break the rules
Enviado desde mi GT-I9070 usando Tapatalk 2
robilaur said:
Hey!
Sincerly from my opinion that "fight" was really child`ish. I didnt make a backgroung check on Mac and i dont care what he did in the past as long as he can make something viable for our phones. We can all be "condemned" for not folowing the GNU licence agrement at some point. Anyway its bad that we lost a DEV because some ppl have pride. Afaik the licence doesnt obligate anyone to share, it give you the right to share.
PS: English is not my native language so dont flame about my speling mistake.
PS2: This is just my opinion so take it as is.
Click to expand...
Click to collapse
I respect your opinion, but GNU and GPL clearly state that you HAVE TO SHARE THE SOURCE!
I do not respond to tech support via PM
galdosS3mini said:
Really upset to see that the devellopers where almost done with the first operationnelle version and now everything is gone due to personal ego's!
Unfortunatly I do not have developer skills
Click to expand...
Click to collapse
Had maclaw given any proof to prove that he had a operational build? Screenshots or something?
I do not respond to tech support via PM
As a matter of fact he did on his webpage, but he removed it because the thread got closed meaning he's stopped the development.
Yes he had pictures with S3 mini booting CM 10 on his website.
Regarding the GNU-GPL licence...well after taking a closer look and reading carefuly i can say I was wrong and u was right. My appologies.
Anyway we could of given him some time .... maibe he whould of shared it. IDK.
Here is the passage from the GNU-GPL licence to make everything clear to everyone :
"When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights."
Best regards.
Benzonat0r said:
As a matter of fact he did on his webpage, but he removed it because the thread got closed meaning he's stopped the development.
Click to expand...
Click to collapse
Not pics about cm booting. Afaik, oliver made a booting cm.
Did he post pics of the stuff he said he fixed?
robilaur said:
Yes he had pictures with S3 mini booting CM 10 on his website.
Regarding the GNU-GPL licence...well after taking a closer look and reading carefuly i can say I was wrong and u was right. My appologies.
Anyway we could of given him some time .... maibe he whould of shared it. IDK.
Here is the passage from the GNU-GPL licence to make everything clear to everyone :
"When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights."
Best regards.
Click to expand...
Click to collapse
Well. He isn't new to xda. He should have followed the rules.
As i already said in the thread, i had no problems if he shared the source when he released the rom. But then, there was no use ot the thread!
If he didn't want to share the source before releasing the rom, he shouldn't have had made that thread in the first place. If he did create the thread, it means he was seeking attention.
Also, did he or did he not ask for donation, before even releasing a single build?
I have seen his ways. That's why i resented.
Also, if he is a real dev, such petty things shouldn't stop him from contributing to the community!
./rant
If you are reading this text, it means that i am too busy currently and won't be tendering any support questions via PM
./rant-end
leave it at that
thread was closed
we should do the same and move on
end of the day we should all be here for the same reason
to help out to improve and add functionality to our phones
don't let one bad apple ruin the whole bunch move on
Shaaan said:
Not pics about cm booting. Afaik, oliver made a booting cm.
Did he post pics of the stuff he said he fixed?
Click to expand...
Click to collapse
RIL (call/messages/3G) were fixed from the looks of it.
hi shaaan....i saw that you are from galaxy s advance (same hardware of galaxy s3 mini).....in this evening i will re-start develop from cm10 and stop kernel develop.....(hope that i don't must work)...tomorrow i have 4 days free and i will spend to develop cm10. As i can see Oliver did a great work so i will start from that sources and every change i will publish on his repository. anyway....can you start doing some modifies with your work? The point is this: maclaw after a first compilation had various things working SO he must did something really simple.....such as changing something in BoardConfig.mk. After searching some i founded that we are missing something in this file for RIL problems that can work for our devices (start from there it is the main problem for now). add these in your boardconfig and see if work ( i am at work now and i can't test )
# RIL
BOARD_MOBILEDATA_INTERFACE_NAME := "pdp0"
#SPECIFIED SECRIL(need this to work??/)
BOARD_USES_LIBSECRIL_STUB := true
Benzonat0r said:
As a matter of fact he did on his webpage, but he removed it because the thread got closed meaning he's stopped the development.
Click to expand...
Click to collapse
Well that was a very mature move. He cand allways open a new one and post a build if he wanted.
Sent from my GT-I8190 using xda app-developers app
lupohirp said:
hi shaaan....i saw that you are from galaxy s advance (same hardware of galaxy s3 mini).....in this evening i will re-start develop from cm10 and stop kernel develop.....(hope that i don't must work)...tomorrow i have 4 days free and i will spend to develop cm10. As i can see Oliver did a great work so i will start from that sources and every change i will publish on his repository. anyway....can you start doing some modifies with your work? The point is this: maclaw after a first compilation had various things working SO he must did something really simple.....such as changing something in BoardConfig.mk. After searching some i founded that we are missing something in this file for RIL problems that can work for our devices (start from there it is the main problem for now). add these in your boardconfig and see if work ( i am at work now and i can't test )
# RIL
BOARD_MOBILEDATA_INTERFACE_NAME := "pdp0"
#SPECIFIED SECRIL(need this to work??/)
BOARD_USES_LIBSECRIL_STUB := true
Click to expand...
Click to collapse
Hey lupohirp, I've just noticed your Acer Liquid repo! Do you still have that device? :laugh:
- sorry for the OT ^^"
lupohirp said:
hi shaaan....i saw that you are from galaxy s advance (same hardware of galaxy s3 mini).....in this evening i will re-start develop from cm10 and stop kernel develop.....(hope that i don't must work)...tomorrow i have 4 days free and i will spend to develop cm10. As i can see Oliver did a great work so i will start from that sources and every change i will publish on his repository. anyway....can you start doing some modifies with your work? The point is this: maclaw after a first compilation had various things working SO he must did something really simple.....such as changing something in BoardConfig.mk. After searching some i founded that we are missing something in this file for RIL problems that can work for our devices (start from there it is the main problem for now). add these in your boardconfig and see if work ( i am at work now and i can't test )
# RIL
BOARD_MOBILEDATA_INTERFACE_NAME := "pdp0"
#SPECIFIED SECRIL(need this to work??/)
BOARD_USES_LIBSECRIL_STUB := true
Click to expand...
Click to collapse
We have already fixed RIL in cm10.
Yes. The boardconfig values are needed for RIL to work.
./rant
If you are reading this text, it means that i am too busy currently and won't be tendering any support questions via PM
./rant-end
Pezmet said:
Well that was a very mature move. He cand allways open a new one and post a build if he wanted.
Sent from my GT-I8190 using xda app-developers app
Click to expand...
Click to collapse
Yeah very, It makes me sick to think how that guy operates, steals Oliver's sources, fixes a few things and wham!! Calls Oliver's surces his own.
lupohirp said:
hi shaaan....i saw that you are from galaxy s advance (same hardware of galaxy s3 mini).....in this evening i will re-start develop from cm10 and stop kernel develop.....(hope that i don't must work)...tomorrow i have 4 days free and i will spend to develop cm10. As i can see Oliver did a great work so i will start from that sources and every change i will publish on his repository. anyway....can you start doing some modifies with your work? The point is this: maclaw after a first compilation had various things working SO he must did something really simple.....such as changing something in BoardConfig.mk. After searching some i founded that we are missing something in this file for RIL problems that can work for our devices (start from there it is the main problem for now). add these in your boardconfig and see if work ( i am at work now and i can't test )
# RIL
BOARD_MOBILEDATA_INTERFACE_NAME := "pdp0"
#SPECIFIED SECRIL(need this to work??/)
BOARD_USES_LIBSECRIL_STUB := true
Click to expand...
Click to collapse
For S3 Mini? For real?
Benzonat0r said:
Yeah very, It makes me sick to think how that guy operates, steals Oliver's sources, fixes a few things and wham!! Calls Oliver's surces his own.
Click to expand...
Click to collapse
I am not saying that he did not use sources from oliver. But where is the proof that he did use them?
You cant be sure.
Sent from my GT-I8190 using xda premium

Calling all htc one owners PLEASE READ

HTC has been releasing new kernel bases and have not bothered to release source. According to the GPL this is unacceptable. This is not only important to developers but to we the users as well. I know a lot of you love to use custom kernels and they have improved all of our phones. Let's band together send them an e-mail and remind them that the source should be released with new kernels. Letting them get away with this will only reward this type of behaviour.
http://www.htc.com/www/contact/email/ here is the link to the e-mail even if only a little bit of people send it it still says something thank you and lets make it happen!
Sent from my HTC One using xda premium
Sent from my Black HTC ONE
Response -
Sent from my Black HTC ONE
Technically, 4.2.2 is a leak, so until it's officially released, then they don't have to do anything, am I right?
Sent from my HTC One using xda premium
cdordon said:
Technically, 4.2.2 is a leak, so until it's officially released, then they don't have to do anything, am I right?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Correct but there has been like two base updates and still no kernel source so a little push wont hurt
Sent from my HTC One using xda premium
cdordon said:
Technically, 4.2.2 is a leak, so until it's officially released, then they don't have to do anything, am I right?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Absolutely.
That response email just shows how ignorant of GPL HTC is. They have to supply source to anyone who submits a request in writing if I'm not mistaken.
Where did u see that rule?
Op is just a busybody who doesnt even know what to do with the source but screams for it lol.
This is what happens, when u fed too much they become too dependent on u. A tad bit late and they will start screaming.
Kinda reminds me of the horde.
Remember when the one first came out, then the source follows in a week? Thats called feeding too much.
When the horde realized that the source for 2.17 is slow, they start screaming.
Sent from my HTC One X using Tapatalk 2
I think the sources will be released when 4.2.2 is official carried out. The 4.1 sources were avaiable really quickly so I'm looking forward
HTC has gotten better than they used to be. If the op is looking for 2.17 source then lol.
---------- Post added at 07:11 AM ---------- Previous post was at 07:09 AM ----------
gunnyman said:
That response email just shows how ignorant of GPL HTC is. They have to supply source to anyone who submits a request in writing if I'm not mistaken.
Click to expand...
Click to collapse
I just spent a little while reading the gpl and I'm wrong. Htcdev is complying properly.
As already stated, they haven't "released" 4.2.2 yet, so they are not required to release the source.
We see this every time they release an update. People start crying for the source. Give them time...it WILL appear, just not always straight away.
There's no such thing as propriety in the the current HTC One's linux kernel. All the codes in there are GPL licensed.
The camera fix + the back button sensitivity fix are all in a GPL licensed driver. And I quote.
The GPL states that anyone who modifies GPL licenced code is required to make available the sources used to compile it. This is to further improve and encourage collaborative work, as well as to ensure that the best code possible is produced, and to encourage peer-review of all work. This benefits both developers and end users in numerous ways, including:
Allowing anyone to verify the code they are trusting with their data, and its authenticity
Encouraging community collaboration to produce faster fixes and updates, and better code
Helping bring new developments from other devices and fields to your own, letting you benefit from new code that wouldn’t have been available without this sharing.
The GPL imparts great freedom for GPL end users. It ensures innovation is never stifled and no project is dependent upon any single developer.
Click to expand...
Click to collapse
alphamale99 said:
Response -
Sent from my Black HTC ONE
Click to expand...
Click to collapse
cdordon said:
Technically, 4.2.2 is a leak, so until it's officially released, then they don't have to do anything, am I right?
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
4.2.2 is leaked but 1.29.***.12, 1.29.***.13, 1.29.***.16, 1.29.***.16R are official releases with new kernel revisions and they should be obligued to release what they have modified on those revisions.
shiningarmor said:
Where did u see that rule?
Op is just a busybody who doesnt even know what to do with the source but screams for it lol.
This is what happens, when u fed too much they become too dependent on u. A tad bit late and they will start screaming.
Kinda reminds me of the horde.
Remember when the one first came out, then the source follows in a week? Thats called feeding too much.
When the horde realized that the source for 2.17 is slow, they start screaming.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
Read GPL for the rules. The OP might not have direct benefit over this but we developers have and end users in return benefit from us.
Is there a specific time limit mentioned in the GPL? I don't think they are obliged to provide it on the spot as soon as someone requests it.
the_scotsman said:
Is there a specific time limit mentioned in the GPL? I don't think they are obliged to provide it on the spot as soon as someone requests it.
Click to expand...
Click to collapse
@the_scotsman
There is no specific time limit in the GPL license as you are suppose to be obligued to release the source code as soon as the binary is distributed to the public.
Link is here. http://www.gnu.org/licenses/gpl-2.0.html
Refer to #3
3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
Click to expand...
Click to collapse
Letter A should be the one applicable to HTC's kernel license. As
B - If you're selling the software
C - If the licensor limits the license.
Thanks for that. My next point is then, if HTC are violating GPL so badly as people seem to ALWAYS be claiming, why haven't they been contacted about it? The fact they haven't is good enough for me not to stress over it.
the_scotsman said:
Thanks for that. My next point is then, if HTC are violating GPL so badly as people seem to ALWAYS be claiming, why haven't they been contacted about it? The fact they haven't is good enough for me not to stress over it.
Click to expand...
Click to collapse
@the_scotsman
They already have been contacted for numerous times. But once they receive a valid complaint they then comply to it and release the source code so the claimant then decides to discontinue the case.
Although if we really enforce this strictly when one company violates GPL he then get's blacklisted and is not allowed anymore to use any GPL licensed source code unless the company makes an appeal and no GPL licensor would oppose to the appeal.
Here's a good example
http://lists.gpl-violations.org/pipermail/legal/2011-February/002645.html
even an official from google took action in there.
There's no time limit specified... I guess the spirit is at the same time as the binaries. I doubt this has been tested in court. Usually it's settled, or they're forced to release after the fact. The timing is unlikely to have been tested, but I'd love to be informed otherwise.
Done.
Sent from my HTC One using xda app-developers app

Is it legal...........

I have used the png images from the open source projects or organisations like gnome and kde in my app...
Plzz tell me whether it is legal to use it in my app and my app is also open source.....but i am using ads in my app...
AFAIK, common opensource licenses do not put limits on ads in the application.
If people will want to help with your opensource app, knowing that it has ads, is another matter.
But opensource very often makes someone earn money which his not shared between all the developers.
elban said:
AFAIK, common opensource licenses do not put limits on ads in the application.
If people will want to help with your opensource app, knowing that it has ads, is another matter.
But opensource very often makes someone earn money which his not shared between all the developers.
Click to expand...
Click to collapse
bro then it means if i m using resources from open source projects ,it will not be a pain for me in future.....
anurag.dev1512 said:
bro then it means if i m using resources from open source projects ,it will not be a pain for me in future.....
Click to expand...
Click to collapse
again there is no mention of ads in the opensource licenses that I know of.
elban said:
again there is no mention of ads in the opensource licenses that I know of.
Click to expand...
Click to collapse
does it varies from license to lecense like apache,GPLv2,etc...

[Q] OmniROM - better than CyanogenMod?

Hello,
thinking about installing OmniROM which sounds great! I'm using CyanogenMod 10.1.3 Stable. If you guys had CM what do you think? Is there big difference between those two ROMs?
Well as far as I know about CyanogenMod is been the best to date..!! OmniRoM on the other had has made a huge followers list and has been lead by Chainfire (superuser app developer).
My opinion is to be in CyanogenMod as long as you need changes to play with. Moreover Cyanogen has more supported devices than that of Omni.. And if you have your device on their list.. Give it a shot!
Well now coming to differences, Omnirom has multi-window support, has over clocking, and the rest are the same but with different interface..
Sent from my Motorola Xoom using xda app-developers app
Thank you for answer. I'm on Nexus 4 (soon Nexus 5). So I will continue with CyanogenMod until there will be stable version of OmniROM
It is way too early to tell if OmniROM can have as great of a following as CM. OmniROM has a very long road ahead if it wants to compete with CM simply because it needs to be supported on all the flagship devices and more. That is the only way OmniROM's name will get out there. There are so many people out there that haven't even heard of OmniROM yet but ask anyone about CM and most will tell you that they have heard of it.
I will give OmniROM a chance but it has to come to the Sprint LG G2 or else they are losing potential followers.
Better? Who knows, too early to tell.
Different? Sure. Many of the first developers involved with Omni are former CM maintainers/contributors dissatisfied with certain recent events (frequent ninjamerges without review, leads -2ing things with little explanation beyond "I don't like it", and most importantly, attempting to use their Contributor License Agreement against a longtime contributor in order to create a proprietary closed-source derivative of Focal under a commercial license.) To a great degree, it's about the spirit in which the projects are developed. We're going to try to be as open and receptive to new ideas as we possibly can.
Among other things I expect to see going forward - as CyanogenMod attempts to obtain GMS certification for CM on some devices, you may see a lot more features getting removed/rejected. (GMS is the ability to officially include gapps with a device. The CTS and CDD which have been discussed many times in the past are a part of this, but GMS can actually go way beyond this. I've heard, for example, of one OEM that wanted to preinstall a particular rotation control app. While that app is readily available on the Play Store, Google effectively said to that OEM, "You can preinstall that app, or have a GMS license - not both.")
Entropy512 said:
Better? Who knows, too early to tell.
Different? Sure. Many of the first developers involved with Omni are former CM maintainers/contributors dissatisfied with certain recent events (frequent ninjamerges without review, leads -2ing things with little explanation beyond "I don't like it", and most importantly, attempting to use their Contributor License Agreement against a longtime contributor in order to create a proprietary closed-source derivative of Focal under a commercial license.) To a great degree, it's about the spirit in which the projects are developed. We're going to try to be as open and receptive to new ideas as we possibly can.
Among other things I expect to see going forward - as CyanogenMod attempts to obtain GMS certification for CM on some devices, you may see a lot more features getting removed/rejected. (GMS is the ability to officially include gapps with a device. The CTS and CDD which have been discussed many times in the past are a part of this, but GMS can actually go way beyond this. I've heard, for example, of one OEM that wanted to preinstall a particular rotation control app. While that app is readily available on the Play Store, Google effectively said to that OEM, "You can preinstall that app, or have a GMS license - not both.")
Click to expand...
Click to collapse
I noticed that Omni has a CLA as well (https://gerrit.omnirom.org/static/cla_individual_omni.html). How is the Omni CLA different from that of CM?
nushoin said:
I noticed that Omni has a CLA as well (https://gerrit.omnirom.org/static/cla_individual_omni.html). How is the Omni CLA different from that of CM?
Click to expand...
Click to collapse
you didn't read the full sentence
attempting to use their Contributor License Agreement against a longtime contributor in order to create a proprietary closed-source derivative of Focal under a commercial license
AFAIK CLA will be same, just that they won't try to trick authors into dual licensing like CM tried with focal
ericdabbs said:
I will give OmniROM a chance but it has to come to the Sprint LG G2 or else they are losing potential followers.
Click to expand...
Click to collapse
Lol
Sent from my SCH-I545 using XDA Premium 4 mobile app
munchy_cool said:
you didn't read the full sentence
attempting to use their Contributor License Agreement against a longtime contributor in order to create a proprietary closed-source derivative of Focal under a commercial license
AFAIK CLA will be same, just that they won't try to trick authors into dual licensing like CM tried with focal
Click to expand...
Click to collapse
Yeah.
To be absolutely, 100% clear - They attempted to represent the CLA as something that would give them the ability to relicense a GPL contribution if the contributor was the original copyright holder of said contribution. (In the event where the contributor is not original copyright holder, no CLA in existence would allow relicensing because the contributor didn't have the rights to relicense the code.)
THIS IS NOT THE CASE. YOU CAN'T USE THE CLA THAT WAY. But they attempted to do so anyway - not only was it just wrong to treat a contributor like that, they misrepresented the document as giving legal powers it didn't actually give them.
The CLA is there as a "cover your ass" legal document in the case of a nasty legal dispute. I hope to hell we never have a need to use it. (In fact, in my opinion, the CLA is redundant and unnecessary for Apache and GPL licensed contributions, as the Apache and GPL licenses explicitly grant compatible redistribution/usage rights. Some other contributions are not as clear in terms of licensing, for example, media assets.) Another place it might come into play is if someone submits something with a license like that found in this file:
https://github.com/oppo-source/R819...89/kernel/drivers/dum-char/partition_define.c
In theory, if someone who was in the category of MTK or a licensor contributed such an item to our Gerrit, that contribution in combination with the CLA would be written permission to reproduce/modify/disclose the file. Note that not just anyone can submit something like that - there are other clauses to handle that (clause 7 I think???) - effectively saying that you yourself have the legal rights to contribute whatever you're contributing.
Oh, FYI, that file and files with similar licensing are one of the things holding back support of MTK devices.
One thing to note: CLAs DO exist that do give the kinds of power that Cyanogen, Inc. wanted to wield. An example is Canonical's Harmony CLA:
http://mjg59.dreamwidth.org/4553.html - He links to the Harmony CLA there (direct link - http://www.canonical.com/sites/default/files/active/images/Canonical-HA-CLA-ANY-I.pdf ), take a look at clause 2.3 - it's nasty:
Code:
2.3 Outbound License
Based on the grant of rights in Sections 2.1 and 2.2, if We
include Your Contribution in a Material, We may license the
Contribution under any license, including copyleft,
permissive, commercial, or proprietary licenses. As a
condition on the exercise of this right, We agree to also
license the Contribution under the terms of the license or
licenses which We are using for the Material on the
Submission Date.
This is VERY different from the "sublicense" language in the AOSP CLA. For a bit on sublicensing:
(crap, can't find one of the better links I used to have...)
http://programmers.stackexchange.com/questions/189633/what-sublicense-actually-means has some info
http://www.contractstandards.com/document-checklists/technology-license-agreement/sublicenses - Note "Additionally the scope of rights that the Licensee can sublicense is often narrower than the scope of the original license (e.g. the purpose or end-product is limited to those specifically enumerated)." - Commercial dual-licensing of a GPL contribution is prett unambiguously expanding the scope of the original license and NOT something that a CLA which only grants you sublicensing rights allows.

[Dev][RELEASE][Lib/Java] JDroidLib Java ←|→ Android Communications Library

Hey there,
many of you are probably familiar with @regaw_leinad's AndroidLib.
It is a really nicely coded, and easy-to-use .Net class library, which allows real easy communication with Android devices.
regaw_leinad said:
AndroidLib is a .NET assembly written in C# (C-Sharp) that easily handles communication between a connected Android device and your program.
Click to expand...
Click to collapse
However, it has a downside. That downside being; it only works with .Net languages. .net languages include:
Code:
# Visual Basic
# C#
# F#
# Visual C++
# ASP.Net
As you might have guessed, Java does not belong to the .Net language set.
And as I moved from .Net to Java (allows my projects and libs to become available to a wider audience), I don't have the privilege to use AndroidLib, which is a real bummer.
This is why I have started JDroidLib.
​
Edit (08.10.2017): JDroidLib is being replaced by JDroidLibv2!
For anyone coming across this thread; this version of JDroidLib, while still available, is considered obsolete and is being replaced by JDroidLibv2!
https://forum.xda-developers.com/android/software-hacking/lib-jdroidlibv2-t3684697
EDIT: 01.03.2014
JDroidLib has undergone some major updates, with loads of kinks fixed, and features revamped.
See the lists below for more info. (Everything has changed, there).
Oh, and the code has a kind of easter egg
Current features:
Code:
# Execute any type of ADB command from a single method.
(This method always returns output, but you can execute the method, without grabbing it).
# Execute any fastboot command frmo a single method. (Same returns as above.)
# Install ADB/fastboot to either fixed, or custom location. (On MAC OS/Linux: Binaries are automatically chmod-ed!)
# Pull entire build.prop from device to hard drive
# Get single build properties ([B]!!![/B])
# Push build.prop back to device.
# Reboot device (5-way/ADB + fastboot)
# Get list of devices. (Returned as generic List<String>)
# Get device information (Battery, SU, BusyBox, CPU - MORE COMING!)
# Get device state
# Start ADB server
# Stop ADB server
# Restart ADB server.
# Much, much more. See JavaDocs for more!
Current bugs:
There's a weird bug in the Battery department, where the loaded battery level is 0. Looking into it! Fixed.
Slight bug in reboot methods, device isn't rebooting. Fixed.
Click to expand...
Click to collapse
Planned features:
Code:
# Get phone/WiFi/BlueTooth/etc. information
# And anything else that comes to mind!
License:
Code:
/*
* Copyright (C) 2013 Simon/Beatsleigher.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
Source code:
To get a copy of the source code, visit my GitHub
There will be no pre-compiled JARs. To get a JAR, you have to download and compile the source.
The IDE used is NetBeans 8.0 with JDK 7
To download NetBeans, visit http://netbeans.org
JDroidLib Documentation:
http://team-m4gkbeatz.eu
How to Use JDroidLib:
http://www.youtube.com/watch?v=dRSwailf7GI
Thanks:
Thanks to @regaw_leinad for having the original idea!
Thanks to you, XDA, for taking the time and looking at my programs/libs. Much appreciated!
XDA Portal Story 04.12.2013
Newer XDA Portal Story 03.03.2014
Have fun with JDroidLib and don't forget to contribute your own code!
This project made it to the Home Page!
http://www.xda-developers.com/android/a-new-android-communications-library-jdroidlib-java/
Congrats mate
Subscribed!
zylor said:
This project made it to the Home Page!
http://www.xda-developers.com/android/a-new-android-communications-library-jdroidlib-java/
Congrats mate
Subscribed!
Click to expand...
Click to collapse
(^-^) Awesome
But where did that other thread come from?
You know, you could always contribute to CASUAL. We use Java and NetBeans as well and we are already a few years ahead of you. We could pull out the ADB/fastboot/busybox/Heimdall portions of CASUAL to distribute separately, by making some small changes to our make file and would have what you're going for here.
AdamOutler said:
You know, you could always contribute to CASUAL. We use Java and NetBeans as well and we are already a few years ahead of you. We could pull out the ADB/fastboot/busybox/Heimdall portions of CASUAL to distribute separately, by making some small changes to our make file and would have what you're going for here.
Click to expand...
Click to collapse
Wow. Never would have thought you'd reply to or even look at one of my threads!
It's a good idea. I'll have a think about it. I'm going to keep working on this, mainly because someone (or even I) could eventually port it to C/C++ if they need to.
Beatsleigher said:
Wow. Never would have thought you'd reply to or even look at one of my threads!
It's a good idea. I'll have a think about it. I'm going to keep working on this, mainly because someone (or even I) could eventually port it to C/C++ if they need to.
Click to expand...
Click to collapse
hey I've just done a draft for a python adb (PyAdb) which removes entirely the dependence of the adb binary. when you get into it, it's actually quite simple to replicate it. I've added reference links in my thread as well, and the python is so simple you can see how it all works
http://forum.xda-developers.com/showthread.php?t=2574326
ping me if you want any help with anything. I'm getting on with my java studies so I may be able to help with porting it over
cybojenix said:
hey I've just done a draft for a python adb (PyAdb) which removes entirely the dependence of the adb binary. when you get into it, it's actually quite simple to replicate it. I've added reference links in my thread as well, and the python is so simple you can see how it all works
http://forum.xda-developers.com/showthread.php?t=2574326
ping me if you want any help with anything. I'm getting on with my java studies so I may be able to help with porting it over
Click to expand...
Click to collapse
The main reason I coded this is for use in my own programs, coded in Java.
I guess the Python wrappers coded by you and the other member, are for use with the Python interpreter.
But I guess I could help port stuff over and you could help with JDroidLib.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Beatsleigher said:
The main reason I coded this is for use in my own programs, coded in Java.
I guess the Python wrappers coded by you and the other member, are for use with the Python interpreter.
But I guess I could help port stuff over and you could help with JDroidLib.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sorry you got the wrong end of the stick. The one by me is an adb client in python, not a wrapper. I was suggesting look at the methods it uses so the same can be done for JDroidLib, without needing a dependence on the adb binary. It's just commands passed via TCP
Sent from my Nexus 7 using Tapatalk
cybojenix said:
Sorry you got the wrong end of the stick. The one by me is an adb client in python, not a wrapper. I was suggesting look at the methods it uses so the same can be done for JDroidLib, without needing a dependence on the adb binary. It's just commands passed via TCP
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Ahhh. I gotcha. Sure. If you want, check out the source and see what you can do. I'll take a look at it as soon as I've finished my Tekkit server and got DetectCPUv3 done.
Sent from my GT-I9505 using XDA Premium 4 mobile app
JDroidLib is back, and beter than ever!
Hey guys,
I was asked by a few friends and other people, if I had abbandoned JDroidLib, because I wasn't updating it for so long, so I haven't abbandoned it, nor have I abbandoned any other projects of mine, which are currently being ported to Java, it's just time consuming, and I'm looking for jobs at the moment, so I'm not on as much, and I don't have that much time to do things.
But, I have picked up JDroidLib again, and added some new features!
Basically, I've re-written the entire thing in under a day, because the code that was originally in there was real messy and I thought I may as well.
The new features include:
Code:
Device listing
Comand execution (now made really simple and squashed into two-three methods)
Rebooting the device (now one method, and uses internal enums)
I've revamped the installer, so other programs can install the binaries to their desired location, however, for operation, the default location will be used.
And (finally) I've got the Battery class, so developers can easily get battery stats!
Also, I've added a BuildProp class, which allows you to pull the file to a location on the HDD, read individual props and push the file back!
Currently, I'm sorting out the CPU class, which will, similarly to the Battery class, get CPU info, like currently running processes and CPU load.
So, check out the GitHub repo, and watch it to get the latest stuff!
Feel free to add your own code, classes, whatever and I can't wait to release this puppy into the wild! (Metaphorically speaking, that is... )
### UPDATE ###
JDroidLib has gotten a huge update!
This update fixes a major bug in EVERY program using JDroidLib in Windows systems!
Please pull and build a new copy of JDroidLib, before continuing with any of your work!
Although I'm not a big fan of Java, I prefer C#
Your library made me rethink of porting Droid Manager (Which uses AndroidLib) to Java in-order to make it available for every one.
Let's see what I can do :fingers-crossed:
Thanks for your efforts :highfive:
OmarBizreh said:
Although I'm not a big fan of Java, I prefer C#
Your library made me rethink of porting Droid Manager (Which uses AndroidLib) to Java in-order to make it available for every one.
Let's see what I can do :fingers-crossed:
Thanks for your efforts :highfive:
Click to expand...
Click to collapse
-- Post deleted --
Reason: Didn't read post correctly and I take back what I said.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Beatsleigher said:
-- Post deleted --
Reason: Didn't read post correctly and I take back what I said.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Although I didn't read what was written before :angel:
I would like to ask you, have you ever written or know something about using Java to write a service that can run on Linux and Mac?!
I only know how to write a windows service using C# Unfortunately
OmarBizreh said:
Although I didn't read what was written before :angel:
I would like to ask you, have you ever written or know something about using Java to write a service that can run on Linux and Mac?!
I only know how to write a windows service using C# Unfortunately
Click to expand...
Click to collapse
As far as I'm aware, it's just a program that runs in the background. So it shouldn't be difficult to code. Maybe a few threads and things, and it should work. Otherwise, Google is your friend. Personally, I've never written a service in Windows or BSD, so I have no idea how they work. But I can imagine it shouldn't be too difficult.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Beatsleigher said:
As far as I'm aware, it's just a program that runs in the background. So it shouldn't be difficult to code. Maybe a few threads and things, and it should work. Otherwise, Google is your friend. Personally, I've never written a service in Windows or BSD, so I have no idea how they work. But I can imagine it shouldn't be too difficult.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
well coding isn't difficult, I suppose I will google it, since writing the core of the service isn't difficult, it's just how I do I do a service written in Java :fingers-crossed:
OmarBizreh said:
well coding isn't difficult, I suppose I will google it, since writing the core of the service isn't difficult, it's just how I do I do a service written in Java :fingers-crossed:
Click to expand...
Click to collapse
You'll manage, I'm sure
If you need any code examples, check out my UniversalAndroidToolkit repo on GitHub. It's all commented and documented, and I think I write pretty clean code, so it shouldn't be too hard to figure out
Sent from my GT-I9505 using XDA Premium 4 mobile app
Beatsleigher said:
You'll manage, I'm sure
If you need any code examples, check out my UniversalAndroidToolkit repo on GitHub. It's all commented and documented, and I think I write pretty clean code, so it shouldn't be too hard to figure out
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks a lot I really appreciate your help
I will make sure to browse your git repo :highfive:
OmarBizreh said:
Thanks a lot I really appreciate your help
I will make sure to browse your git repo :highfive:
Click to expand...
Click to collapse
No probs. If anything's unclear, just shoot me a PM and we'll get things sorted
Beatsleigher said:
No probs. If anything's unclear, just shoot me a PM and we'll get things sorted
Click to expand...
Click to collapse
Thanks man, I really appreciate it ::highfive:

Categories

Resources