Did you found the answer?
On Sunday, November 14, 2010 6:06:55 AM UTC+5:30, Hayley Dawson wrote: > > Folks, > > I've spent a couple days now googling this and trying to figure out > all the steps, and I'm getting really frustrated. I'm using the > Platform Library example and trying to figure out how to add my own > library to android. It resides in my own namespace, and is intended > for a full image build so that it's already on a device ready for > other applications to use. > > I have a Unix system that I can compile the android source code on, > and have my library already designed. What I can't figure out is the > following - > > 1. Where do I put my library in the file system so that it will get > compiled? Do I put it under framework and create a new folder there or > somewhere else? The README.txt mentions a file to be put in /system/ > etc/permissions to declare things to the framework - however nowhere > under mydroid (top level folder), can I find anything that looks like > it goes to /system/etc/ on the device. I know it's got to be there > somewhere. > > 2. What base build system files do I have to change so that this jar > will compile and be included correctly? The top level android.mk file > for the whole system? I'm confused on this point. > > 3. When an application uses my library, is there anyway to tell > Eclipse about this? I know the Android.mk is how you specify > LOCAL_JAVA_LIBRARIES, but there is no Android.mk for eclipse projects. > Does using a custom library preclude the ability to use eclipse? > > Any help at all would be very appreciated. > > Thanks. On Sunday, November 14, 2010 6:06:55 AM UTC+5:30, Hayley Dawson wrote: > > Folks, > > I've spent a couple days now googling this and trying to figure out > all the steps, and I'm getting really frustrated. I'm using the > Platform Library example and trying to figure out how to add my own > library to android. It resides in my own namespace, and is intended > for a full image build so that it's already on a device ready for > other applications to use. > > I have a Unix system that I can compile the android source code on, > and have my library already designed. What I can't figure out is the > following - > > 1. Where do I put my library in the file system so that it will get > compiled? Do I put it under framework and create a new folder there or > somewhere else? The README.txt mentions a file to be put in /system/ > etc/permissions to declare things to the framework - however nowhere > under mydroid (top level folder), can I find anything that looks like > it goes to /system/etc/ on the device. I know it's got to be there > somewhere. > > 2. What base build system files do I have to change so that this jar > will compile and be included correctly? The top level android.mk file > for the whole system? I'm confused on this point. > > 3. When an application uses my library, is there anyway to tell > Eclipse about this? I know the Android.mk is how you specify > LOCAL_JAVA_LIBRARIES, but there is no Android.mk for eclipse projects. > Does using a custom library preclude the ability to use eclipse? > > Any help at all would be very appreciated. > > Thanks. On Sunday, November 14, 2010 6:06:55 AM UTC+5:30, Hayley Dawson wrote: > > Folks, > > I've spent a couple days now googling this and trying to figure out > all the steps, and I'm getting really frustrated. I'm using the > Platform Library example and trying to figure out how to add my own > library to android. It resides in my own namespace, and is intended > for a full image build so that it's already on a device ready for > other applications to use. > > I have a Unix system that I can compile the android source code on, > and have my library already designed. What I can't figure out is the > following - > > 1. Where do I put my library in the file system so that it will get > compiled? Do I put it under framework and create a new folder there or > somewhere else? The README.txt mentions a file to be put in /system/ > etc/permissions to declare things to the framework - however nowhere > under mydroid (top level folder), can I find anything that looks like > it goes to /system/etc/ on the device. I know it's got to be there > somewhere. > > 2. What base build system files do I have to change so that this jar > will compile and be included correctly? The top level android.mk file > for the whole system? I'm confused on this point. > > 3. When an application uses my library, is there anyway to tell > Eclipse about this? I know the Android.mk is how you specify > LOCAL_JAVA_LIBRARIES, but there is no Android.mk for eclipse projects. > Does using a custom library preclude the ability to use eclipse? > > Any help at all would be very appreciated. > > Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

