Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
jondecker76
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 21
Join Date: Jan 2011
Default [Q] How to build the stock MMS app??

Hello. I have the latest Android SDK and Eclipse w/ADT set up on my Ubuntu 10.10 box. I have tried many examples and wrote my own practice apps. Everything so far has worked well!

My goal is to modify the stock MMS app so that I can modify the Delete functionality to require a pin or password. This will help keep my 11 and 13 year old children's texting clean and under control. (yes, I understand that they could install another MMS app, but thats something I can watch for too)

I'm a well seasoned programmer (c/c++/php/bash) and I'm just learning java/Android API. I thought this project would be a great place to start...

My problem is, I can't build the mms app at all. I have used git to download the approriate sources:
Code:
jondecker76@main-desktop:~/dev$ git clone git://android.git.kernel.org/platform/packages/apps/Mms.git
I then created a new workspace in Eclipse, and created a new Android project, where I imported from existing source. In the "problems" tab in Eclipse, I get:
Code:
1,464 errors, 112 warnings, 0 others (filter matched 200 of 1576 items)
Errors (100 of 1464 items)
Description	Resource	Path	Location	Type
AcknowledgeInd cannot be resolved to a type	RetrieveTransaction.java	/ConversationList/src/com/android/mms/transaction	line 222	Java Problem
Description	Resource	Path	Location	Type
AcknowledgeInd cannot be resolved to a type	RetrieveTransaction.java	/ConversationList/src/com/android/mms/transaction	line 222	Java Problem
...
...
Description	Resource	Path	Location	Type
Addr cannot be resolved	AddressUtils.java	/ConversationList/src/com/android/mms/util	line 47	Java Problem
...
...
Description	Resource	Path	Location	Type
ArrayListCursor cannot be resolved to a type	RecipientsAdapter.java	/ConversationList/src/com/android/mms/ui	line 208	Java Problem
...
...
etc
Basically tons of errors. Its almost like an include path isn't set properly somewhere.

Can anybody help me to get this to compile, then I can begin modifying and testing my changes!

thanks!
 
Gene Poole
Old
#2  
Recognized Contributor
Thanks Meter 507
Posts: 1,622
Join Date: Jul 2010
Location: Brighton IL
I think you'll need a good portion of the AOSP source tree to get all the base framework stuff needed to compile this.
 
jondecker76
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 21
Join Date: Jan 2011
Ok thanks, pulling down the AOSP tree now. I'll retry once its pulled down and report back here if I have more problems
 
dabiano
Old
#4  
Senior Member
Thanks Meter 22
Posts: 121
Join Date: Sep 2010
Location: Toledo City, Cebu

 
DONATE TO ME
Question Compile Mms Eclair AOSP using Eclipse

hello to all,

can anyone point me how to edit/compile a 'default/vanilla' mms app of AOSP using Eclipse?

I'm currently using ubuntu 10.04 with the with android sdk's for Eclair and Froyo and I was trying to compile the Eclair Mms
 
Post Reply+
Tags
mms app, stock
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...