The camera icon is derived from the Camera.apk file sitting in System/apps in the filesystem. So if you don't want the Camera application, then change the build process not to build the Camera app, that'll be the cleanest thing. Disabling the CameraService will likely involve some changes to the framework..
-- Ashwin On Mon, Jul 11, 2011 at 3:02 AM, Gopi <[email protected]> wrote: > Hi all, > > I want to remove the camera icon from the home and stop the > camera process during runtime from native init service. Like my > service ll start during the boot and ll run in background and atfer a > span of time i want to stop the camera process and remove the camera > icon during runtime thorugh service. My C file looks like > > > #define LOG_TAG "Example Service" > #include < utils/log.h > > #include < unistd.h > > int main(int argc, char **argv) > { > LOGI("Example Service started"); > sleep(50); > /* stop camera process and remove camera icon from lanucher home */ > // code here to do that > LOGI("Camera process stopped through example service during > runtime "); > } > > > Please help me or guide me ... > > > Thank you.... > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
