So, I found the code on github for the MMS / SMS application (for some reason, based on the AndroidManifest file, it calls my project, which I built, "ConversationList"). But I get TONS of errors related to import com.google.android.mms package. * And a couple more packages.
AOSP applications like this are designed to be created as part of the firmware image, and not as standalone applications.
But how to do it on Windows
Most likely, you will not do it. Cygwin can work. Most likely, you will need to use OS X or Linux, for example, run Linux in VirtualBox. And the result of your assembly will not work on anything except as part of the built-in firmware that you use to replace the firmware on the device.
WHY can't I just download the appropriate packages for use in the program?
Since this application is intended to be created as part of the firmware image, and not as a separate application.
ALL I want to do is build a project in Eclipse by deploying it to my phone and then change the code you need.
Then find the project to be created as a stand-alone application as a starting point. Or, work on changing the project that you are trying to use to work as a stand-alone application, tearing out all the functionality that depends on what is not in the application itself.
If Android is open source, why are there so many secret / internal packages?
They are not "secret." They are part of the firmware.
For example, since you seem to be familiar with Windows, it is entirely possible that “applications,” such as the control panel, are not designed for self-development from Windows. If you were able to download the source code in Windows and tried to load the control panel into Visual Studio, then it is highly possible that you could not create a separate stand-alone CPANEL.EXE
file through this single project only. Rather, you will need to use the custom build process of the Windows OS to build the entire OS, which will then contain CPANEL.EXE
, which will work inside this built-in version of the OS.
Most AOSP applications work this way. Some of them were branched to create stand-alone applications - K-9 Mail came from an earlier version of the AOSP email application. I have no idea if anyone did this using the AOSP Messaging app or not.