The other thing you can do that would be slightly easier is to put your app
in the android source tree (on your hard drive I mean, not to check it in),
and make an Android.mk make file for it.  If you add a line that says
"LOCAL_SDK_VERSION := current", it will build your app against the sdk
version of android.jar, and build it into the system.img that's made when
you do make.  You should probably test it one more time when you're done,
but this is how we do ApiDemos and the like.

-joe



On Thu, Jan 15, 2009 at 3:09 PM, Alex MacLean <[email protected]
> wrote:

> Thanks Xav, that's exactly what I needed for the SDK.
>
> Although, as Xav pointed out, I don't have to recompile the plugin each
> time I make a change to the framework, I still need to build the plugin
> once.  The plugin available from the update site is 0.8, but the new SDK now
> requires 0.9 (or so Eclipse tells me).  Is there a simple make target to
> build the plugin?
>
> Thanks again.
>
> Alex
>
>
> On Thu, Jan 15, 2009 at 2:49 PM, Xavier Ducrohet <[email protected]> wrote:
>
>>
>> Changing the framework and recompiling the sdk ('make sdk') is enough,
>> you do not need to recompile the Eclipse plugin.
>>
>> All you need to do is point the Eclipse plugin at the SDK you have
>> compiled (located in out/host/<platform>/sdk/android_sdk_#####)
>>
>> Xav
>>
>> On Thu, Jan 15, 2009 at 1:15 PM, Alex <[email protected]>
>> wrote:
>> >
>> > I'm working on a change to the SDK (firing off an
>> > ACTION_NEW_INCOMING_CALL when a new call is coming in so that a third
>> > party app can intercept it).  However, I'm trying to figure out how to
>> > use the changed SDK for a test project.  Specifically, I would like to
>> > make changes to the SDK, recompile, and then point a test project at
>> > the recompiled SDK.  Can anyone enlighten me?
>> >
>> > Secondly, I imagine that I'll have to use a recompiled version of the
>> > Eclipse plugin.  I've tried making a symlink from eclipse/plugins to
>> > mydroid/droid/development/tools/eclipse/plugins for each of the
>> > plugins, but it didn't work.  It looks like that directory is full
>> > of .java files.
>> >
>> > Any help would be greatly appreciated.
>> > >
>> >
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" 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-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to