Android MMS Customization

Source: Internet
Author: User

MMS, which is the SMS system inside Android, can send and receive SMS, MMS and so on. Next we compile and modify the MMS project, add our own features, and then download to the real machine to run.

First, compiling MMS project

1, compiling MMS Project can be compiled in the source tree, you can also compile in eclipse. First copy the MMS project from the source tree, then import into Eclipse, you will find a lot of libraries are not, then create a user library, tick the As System LIB, and then import the Class.jar in the source tree, and then the entire project is correct.

2, modify the Eclipsec.ini file, the 256m and other figures all changed to 1024m and so on.

3, compile, the general situation in a few seconds to complete, if the compilation has not been compiled for a long time, directly in the Task manager terminates, again modify the Eclipsec.ini file.

4, to download mms.apk to the virtual machine to run, you must first delete the mms.apk inside the virtual machine, the direct use of the ADB command cannot be deleted, because there is no permissions. First enter the ADB remount, get the highest permissions, and then execute the ADB rm/system/app/mms.apk, by the way data/data in the Com.android.mms also deleted.

5. Click the Run button in eclipse to run successfully.

Sometimes this happens.

Installation Error:install_failed_update_incompatible--not uninstalled cleanly.
Installation error:install_failed_shared_user_incompatible---Without a system signature, using the android:shareduserid= "Android.uid.system "For the sake of it.

Use the target system's platform key to re-sign the apk file. First find the key file, the location in the Android source directory is "Build\target\product\security", below the Platform.pk8 and Platform.x509.pem two files. Then with the Android provided by the SIGNAPK tool to sign, signapk source code is under the "build\tools\signapk", I compiled the path after the out/host/linux-x86/framework. Usage is "Java-jar signapk.jar platform.x509.pem platform.pk8 input.apk output.apk".

Ii. Modification of the project

1.




Android MMS Customization

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.