Jump to content

Modified Mms.apk - vCard import from SMS


Recommended Posts

Guest Mikkle
Posted

Hi,

I've created a modified Mms.apk which allows import of vCards

from Text Messages (SMS).

It's based on the stock HTC Desire Mms.apk present in MCR 3.1.

It's developed and tested on that platform only.

When clicking the vCard button in a message, in stead of spawning whatever internal vCard stuff which doesn't work for SMS anyway, it spawns the Create Contact Activity

and pre-populates it with data from the vCard.

This also means that the user gets to choose which account to save the contact to.

Known problems/limitations so far:

Organization/Company/Title values are NOT filled in. This seems to be a framework issue.

Only Name, phone numbers and email addresses are supported atm.

No IM, pictures, and other stuff. (Might be added at a later date)

Better than nothing, IMHO.

Coupla screenshots:

Mms-mod-1.pngMms-mod-2.png

Since Mms.apk resides on /system and we don't have write access there, the mod is supplied as an update.zip.

Installation is rather simple (requires root and custom recovery).

Copy the attached zip file to your sdcard (MD5: df190f70b93bb7734b1f9d4b6560b423 mms-mod-update.zip)

Boot into your custom recovery (I use the fakeflash method)

Do a nandroid backup (recommended since a stock component is being replaced)

after backing up, select "install zip from sdcard"

select "choose zip from sdcard"

select "mms-mod-update.zip" (or whatever you may have renamed it to)

When done, hit back, and then select "reboot system now"

If you're as annoyed as I am about the lack of vCard support in Text Messages, give it a try, and please, please post your feedback here!

Credits:

Thanks to Paul and everyone else here at MoDaCo for being awesome and doing the root tricks!

Thanks to JesusFreke for smali/baksmali!

Thanks to Brut.alll for android-apktool

Thanks to jonasl for HTC_IME mod - that got me started with smali.

vCard parsing is based on vCardIO

which in turn is based on Funambol

Thanks to you guys!

:-D Mikkle

mms_mod_update.zip

Guest worstenbrood
Posted

Great job man, i use vCard's alot and now on MCR 3.1 it says imported when you click on it, but you cant find it anywhere, gonna try this mod out :lol:

  • 2 months later...
Guest strengthofmind
Posted

On my desire this removed the message app but didn't replace it.

  • 2 months later...
Guest illcaptive
Posted
On my desire this removed the message app but didn't replace it.

same with my nexus one

  • 5 months later...
Guest maddhater
Posted

seems that the fix is no longer compatible with gingerbread. Will you be updating it?

thanks

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.