Hi, I am trying to build a service application (SA) and their corresponding service-user applications (SUA) in different packages. [SA in com.app1.SA package and SUA in com.app2.SUA]
Both apk for SA as well as SUA should be installed separately, and I want to mandate the prior installation of SA while installing the SUA. I could successfully build and run my service SA as a separate process just after the boot completion by using the example ApiDemos\src\com \example\android\apis\app\RemoteService.java Since SA and SUA are built in different packages, the services offered through aidl by SA have to be imported in SUA, which is giving compilation error (package com.app1.SA does not exist). I am building SA by using 'include $(BUILD_PACKAGE)' in Android.mk. What should I include in Android.mk for SA/SUA so that it could do the following –? 1. Mandate and check the prior installation of package SA while installing SUA 2. While compiling SUA it should be able to find the classpath or package and import com.app1.SA I am working on the Android source tree with emulator environment on Linux, and I have put the source code at the following locations service application (SA) -> \external\SA\src\com\app1\SA service-user applications (SUA) -> \packages\apps\SUA\src\com\app2\SUA Thanks Ash --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

