thank you for your answer! It will certainly help me a lot. I'll try in the next days. After what you said I read the documentation again and here I found the last suggestion you made to me (I put here if it could help other people):
============= Adding apps to the build path The default .classpath includes the source to the core system and a sample set of apps, but might not include the particular app you may want to work on. To add an app, you must add the app's source directory. To do this inside Eclipse: 1. Project > Properties 2. Select "Java Build Path" from the left-hand menu. 3. Choose the "Source" tab. 4. Click "Add Folder...". 5. Add your app's "src" directory. 6. Click OK. When you're done, the "source folder" path in the list should look like android/packages/apps/YourAppName/src. Depending on which app(s) you include, you may also need to include other src/main/java directories under android/dalvik/libcore. Do this if you find you cannot build with the default set. ============= On 5 fév, 21:34, "Bai.Luo" <[email protected]> wrote: > first question: > yes,the second approach(case 2) > > second question: > no,you just build the whole android project for the first time. > and after you modify something,like files in sms directory.you can do > $make at the root directory of android source,and it just re-comlile > the sms app,not the whole project > > and another suggestion: > you'd better make a copy of sms project in another > directory,eg,mysms.then modify something to make it compile correctly > > On 2月5日, 下午3时27分, binklee <[email protected]> wrote: > > > Hi, > > For a research, my goal is to modify the 'Messaging' application (the > > package : packages/apps/Mms) > > > 1) My first idea was to take the package from the open source code and > > to begin a new (external from the source code) android project from > > this package in order to test the modified application using the > > eclipse plugin and directly launch it in the emulator. Unfortunately, > > I realized I would need to import other packages that themslelf would > > need other packages, ... So, at the end, this approach was not as good > > as what i thought. > > > 2) So, it seems to be easier to directly make the change I want to do > > in the source code. > > > My questions are : > > - which of this approach do you suggest ? > > - in case 2), should I have to re-build the whole android project each > > time I want to test my modified application ? > > > Thank you for your help, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

