How to change android system volume Up/Down ???
Through AudioManager, we can set the volume up/down.
Today I faced this issue while working with media-volume-control
2) R.java:10: duplicate class error
I just removed the R.java and compilation is going smooth
3) How to copy the eclipse project into android source code and compile it ???
copy the application project into android source code's packages/apps/ folder
within the application project,Add Android.mk with below contents:
LOCAL_PATH:= $(call my-dir)
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := VolumeControl_S #Target package name
From android folder give source build/envsetup.sh,lunch and then
cd to packages/apps/yourApplication/ and give mm command. This will build the application code & create the APK file.