1

Okay, here's where I'm at. I used Eclipse to import the code for the SMS/MMS app that is on Android devices. The code on GitHub is at https://github.com/android/platform_packages_apps_mms.git. I used the Import -> Git in Eclipse. Got the code into the environment. Had to manually paste the AndroidManifest.xml file into the project, and also copy over source and resource directories.

Basically, I want to get the Eclipse project to a point where I can run it on my device and it behaves JUST like the built-in app. THEN, I can modify it for my specific needs hopefully. I don't want to have to write all the SMS/MMS functionality from scratch if I can avoid it.

NOW, the problem is: A LOT of unresolveds. I keep reading various places where people are saying that some of the packages aren't REALLY in the SDK and are internal... Why the heck call it an "open source platform" when the source isn't available for the built-in apps that Google provides?! (If this is in fact the case). Further, why would they provide the code on GitHub for the MMS app if in fact not all the code is available and you can't compile it? Seems a little ridiculous to me.

I have read some answers to previous posts where I was just sticking my "toes into the water" so to speak, and people are saying that a lot of these packages are part of the firmware? Seems like there should be some base code for a texting/mms app out there somewhere.

Anyone know of any? (Open source, free, SMS/MMS Android code that I can easily obtain and that don't suck, if in fact I can't use Google's code?)

Thanks,

John

4

2 回答 2

2

Mms以及其他系统应用程序使用 SDK 无法使用的私有或隐藏 API。

正如您所提到的,这与不是一个开源平台无关,而是因为您试图以一种不受支持的方式构建应用程序,而且没有人说它是。

如果您想修改和构建Mms,请将其作为固件构建的一部分,使用make,而不是在 Eclipse 中导入要由 SDK 构建的项目。

于 2012-07-04T21:50:55.067 回答
-2

库存 MMS 应用程序内置于设备的原始固件中,使用私钥签名,并且能够使用一些私有 API。第三方应用程序由于各种原因不能使用私有 API,其中之一是安全性。如果您想查看它,所有源代码都是开放的。

您绝对可以构建自己的固件或 ROM,正如某些人所说的那样,并在其上运行您自己修改过的 MMS 应用程序。

我不知道您是否可以制作和安装自己的彩信应用程序。您可以通过在 Play 商店中查找类似应用程序或查看 Android 开发人员文档来了解为第三方应用程序提供了哪些权限和 API。

于 2012-07-04T21:50:35.067 回答