I'm doing something similar, only in my case I'm adding a new package in both of these locations
frameworks/base/core/java/android/*mypackage* and frameworks/base/services/java/com/android/server/*mypackage* but I'm not able to find in which Android.mk file do I have to add my package, as the new packages I've added are not compiling. Although, it works when I add my source files outside my package, i.e. in the AOSP's directories: frameworks/base/core/java/android frameworks/base/services/java/com/android/server/ PS: The links mentioned above are not working. On Thursday, October 1, 2009 9:10:22 AM UTC+5:30, Dianne Hackborn wrote: > > The sample was moved to here: > > http://android.git.kernel.org/?p=platform/vendor/sample.git;a=summary > > On Wed, Sep 30, 2009 at 8:05 PM, allstars <[email protected] > <javascript:>> wrote: > >> >> on cupcake's branch (korg/cupcake-release) >> in mydroid/development/samples >> there's a folder called PlatformLibrary >> this folder doesnt exist on donut/master branch >> i dont know why >> >> >> http://android.git.kernel.org/?p=platform/development.git;a=tree;f=samples/PlatformLibrary;hb=cupcake >> >> and check this thread on group long time ago >> >> http://groups.google.com/group/android-platform/browse_thread/thread/618971d3f7608f4c?hl=en >> >> is this what you want? >> >> thanks >> >> On Sep 30, 2:14 pm, Rahul Bhagwat <[email protected]> wrote: >> > I have developed my java library package & I want to use this package >> > from other Android applications such as Gallery and Music. so I've >> > put >> > this package under framework/base/core/java/com/<package name> >> > also made entry of AIDL files in Android.mk file located at >> > framework/ >> > base folder , >> > but java files in above locations are not getting compiled. But if i >> > put my package under framework/base/core/java/android folder then my >> > package is build successfully. But I do not want to change the name >> > of >> > my package so I'm putting my package under com folder. >> > Pls suggest a way to solve above problem. >> >> > > > -- > Dianne Hackborn > Android framework engineer > [email protected] <javascript:> > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. > > -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
