Hi RS, To replace existing Launcher either you can use LOCAL_OVERRIDES_PACKAGES macro or you can just replace complete Launcher2 code with your apk with your Android.mk file
For first procedure: You need to create an Android.mk file something like
follows:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := your.apk.name
LOCAL_MODULE_TAGS := optional
LOCAL_OVERRIDES_PACKAGES := launcher2
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
LOCAL_CERTIFICATE := shared
include $(BUILD_PREBUILT)
For second procedure: You need to remove existing Launcher2 Directory's
Content and put your apk file there, and create a Android.mk file something
like follows:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_PACKAGE_NAME := Launcher2
LOCAL_CERTIFICATE := shared
LOCAL_OVERRIDES_PACKAGES := Home
LOCAL_MODULE := your.apk.name
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
LOCAL_MODULE_CLASS :=APPS
LOCAL_CERTIFICATE :=platform
LOCAL_MODULE_TAGS :=optional
include $(BUILD_PACKAGE)
include $(call all-makefiles-under,$(LOCAL_PATH))
Thanks,
Shridutt Kothari
Impetus infotech Ltd
[email protected]
--
--
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/groups/opt_out.
