How to work on open source app ? - Android Q&A, Help & Troubleshooting

Hey
I have a question regarding the "best" way to work on an open source app like Lawnchair
Dev made a folder containing all the modifications they wanted to make or add to the base code of launcher 3 right ?
Is this method valid for other open source app ? I don't find that much info on the Internet

Related

Android source code missing mm and mmm

Hello,
I'm new to xda so I cannot post to the developer forums. So I am posting here. Hope that's OK. Xda suggested I post here after searching for an answer to my question.
I'm trying to add an application to the android source code in packages/apps. I have been following several tutorials and they all use the "mm" command to build their app they are adding. But I can't find the "mm" command in any of the android source code that I have downloaded and built.
-- mm: Builds all of the modules in the current directory.
Does anyone know what my problem is? Does mm have to be downloaded separately? When I build android source code, I get a folder containing lots of commands but mm is not there.
Vince
OK I think what I learned was that if I carefully and correctly built the original pristine source code downloaded using repo, then mm would become available. So what this means is I have to build the original pristine code before I add my app to packages/apps so then I can use mm to build my app that I added to packages/app. Whew! What a process. So PROBLEM SOLVED, but really ugly.
Hi
I have the same problem
you mean just make the original platform code , then the mm command can work ?
Isn't it enough to just do:
source build/envsetup.sh
...to make it available?
ripperapid said:
Isn't it enough to just do:
source build/envsetup.sh
...to make it available?
Click to expand...
Click to collapse
Yes, that works! Thanks!

[REQUEST] Port Aroma FileManager (Open Source)

I know many people might say that it's working on galaxy ace, but it's calibration is very weak and some partitions are not showing up (/mnt).
I don't know much about development but this is an open source app so i guess it should be possible right?
More Info and link :
http://forum.xda-developers.com/showthread.php?t=1646108

[Q] MIUI questions - Open Source?

Dear all,
I have a few beginner's questions and tried to search for answers but what I found did not quite help. I am looking for an alternative ROM for my neo V that does not call home, no matter where that is. The one ROM that is normally recommended is CM as it is open source. But I saw MIUI and I liked what I saw, so I have a few questions:
To which extent is MIUI open source? Can you actually compile it yourself and get the same ROM that's distributed in binary form?
There seem to be apps to replace Play Store and other normally Google-provided services. Is it possible to remove them?
What's you view on MIUI privacy?
Cheers,
Ben
nurunet said:
Dear all,
I have a few beginner's questions and tried to search for answers but what I found did not quite help. I am looking for an alternative ROM for my neo V that does not call home, no matter where that is. The one ROM that is normally recommended is CM as it is open source. But I saw MIUI and I liked what I saw, so I have a few questions:
To which extent is MIUI open source? Can you actually compile it yourself and get the same ROM that's distributed in binary form?
There seem to be apps to replace Play Store and other normally Google-provided services. Is it possible to remove them?
What's you view on MIUI privacy?
Cheers,
Ben
Click to expand...
Click to collapse
MIUI is not open source
you can remove the apps with any file explorer with root access
privacy is a big issue in android and android based roms(MIUI)
other than that there are several other reasons also due to which i don't trust MIUI
and i don't like mentioning it in the forum as it can be offensive for some users and i don't want to be banned from xda
avinashrocks1990 said:
MIUI is not open source
Click to expand...
Click to collapse
Thanks for the insight. Guess I'll stay on CM then. Probably the best option.

[Q] Best way to test modified Android source code?

I am going to buy the Nexus 5 when it is available in my country. I then want to make changes (mostly UI) to the Android source code and run it on my phone.
My question is: how do I fastest test the code I have modified? Do I need to compile and create a ROM and flash it after every change to my phone or may I use the emulator and "quick-build" to it?

What's the point of the vendor/cm or vendor/pa folders in Android ROM source code?

I want to make my own custom ROM from AOSP source code, and I'm wondering why those vendor folders specific to the ROM are there. I know device specific ones are for closed source stuff, but what's the point of the ROM specific ones? Also, how would I go about creating one for my ROM? Where does it need to be referenced, what files are needed, etc.
Thanks!

Categories

Resources