Compilation Archive

Android Build configurations

Configure android device as data only or voice support, Solution : Normally if the device doesnt support voice calls, following messages gets printed in logcat Log.i(TAG, “This device is detected as non-voice-capable device.”);   So, there is a a flag at frameworks/base/core/res/res/values/config.xml like, <bool name=”config_voice_capable”>false</bool> ...Read More

Compiling, Installing android application

$ mkdir packages/apps/GreenEcosystem Copy your java application source code to packages/apps/ e.g. GreenEcosystem $ cd packages/apps/GreenEcosystem Write an Android.mk as below, ——————————————————– LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4 LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME := GreenEcosystem LOCAL_CERTIFICATE := platform ...Read More