Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add DSPManager to build system

  • Loading branch information...
commit daeb7b86464f61092e2bbfa7708c92a166581d2b 1 parent 7f82190
@kmobs kmobs authored
View
7 .classpath
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="src" path="gen"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
View
33 .project
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>DSPManager</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>com.android.ide.eclipse.adt.ApkBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
View
14 Android.mk
@@ -0,0 +1,14 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+
+LOCAL_PACKAGE_NAME := DSPManager
+LOCAL_CERTIFICATE := platform
+
+include $(BUILD_PACKAGE)
+
+# Use the folloing include to make our test apk.
+include $(call all-makefiles-under,$(LOCAL_PATH))
View
5 AndroidManifest.xml
@@ -6,11 +6,6 @@
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".DSPManager" android:label="@string/app_name">
<intent-filter>
- <!-- When building for CyanogenMod, remove this intent to hide the application from launcher -->
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- <intent-filter>
<action android:name="com.bel.android.dspmanager.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
View
41 build.xml
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<project basedir="." default="build" name="DSPManager">
- <property environment="env"/>
- <property name="debuglevel" value="source,lines,vars"/>
- <property name="target" value="1.6"/>
- <property name="source" value="1.6"/>
- <path id="Android 2.2.libraryclasspath">
- <pathelement location="../Työpöytä/android-sdk-linux_86/platforms/android-8/android.jar"/>
- </path>
- <path id="DSPManager.classpath">
- <pathelement location="bin"/>
- <path refid="Android 2.2.libraryclasspath"/>
- </path>
- <target name="init">
- <mkdir dir="bin"/>
- <copy includeemptydirs="false" todir="bin">
- <fileset dir="src">
- <exclude name="**/*.java"/>
- </fileset>
- </copy>
- <copy includeemptydirs="false" todir="bin">
- <fileset dir="gen">
- <exclude name="**/*.java"/>
- </fileset>
- </copy>
- </target>
- <target name="clean">
- <delete dir="bin"/>
- </target>
- <target depends="init" name="build">
- <echo message="${ant.project.name}: ${ant.file}"/>
- <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
- <src path="gen"/>
- <classpath refid="DSPManager.classpath"/>
- </javac>
- <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
- <src path="src"/>
- <classpath refid="DSPManager.classpath"/>
- </javac>
- </target>
-</project>
View
11 default.properties
@@ -1,11 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system use,
-# "build.properties", and override values to adapt the script to your
-# project structure.
-
-# Project target.
-target=android-8
View
41 gen/com/bel/android/dspmanager/R.java
@@ -1,41 +0,0 @@
-/* AUTO-GENERATED FILE. DO NOT MODIFY.
- *
- * This class was automatically generated by the
- * aapt tool from the resource data it found. It
- * should not be modified by hand.
- */
-
-package com.bel.android.dspmanager;
-
-public final class R {
- public static final class array {
- public static final int compression_modes=0x7f050002;
- public static final int compression_modes_values=0x7f050003;
- public static final int headphone_modes=0x7f050000;
- public static final int headphone_modes_values=0x7f050001;
- }
- public static final class attr {
- }
- public static final class drawable {
- public static final int icon=0x7f020000;
- }
- public static final class id {
- public static final int Label=0x7f080001;
- public static final int Slider=0x7f080000;
- public static final int reset=0x7f080002;
- }
- public static final class layout {
- public static final int slider_preference=0x7f030000;
- }
- public static final class menu {
- public static final int menu=0x7f070000;
- }
- public static final class string {
- public static final int app_name=0x7f060000;
- }
- public static final class xml {
- public static final int headset_preferences=0x7f040000;
- public static final int main_preferences=0x7f040001;
- public static final int speaker_preferences=0x7f040002;
- }
-}
View
27 res/layout/slider_preference.xml
@@ -1,10 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout android:layout_height="wrap_content" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="wrap_content">
- <SeekBar android:layout_width="wrap_content"
- android:layout_height="wrap_content" android:layout_weight="1"
- android:id="@+id/Slider" android:minWidth="150sp"></SeekBar><TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/Label" android:text="+0 dB" android:layout_weight="0.1" android:layout_gravity="center_vertical" android:gravity="right" android:minWidth="50sp"></TextView>
-
-
-
+<LinearLayout
+ android:layout_height="wrap_content"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="wrap_content">
+ <SeekBar
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:id="@+id/Slider"
+ android:minWidth="150sp"/>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/Label"
+ android:text="@string/dB"
+ android:layout_weight="0.1"
+ android:layout_gravity="center_vertical"
+ android:gravity="right"
+ android:minWidth="50sp"/>
</LinearLayout>
View
1  res/values/strings.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">DSPManager</string>
+ <string name="dB">+0 dB</string>
</resources>

0 comments on commit daeb7b8

Please sign in to comment.
Something went wrong with that request. Please try again.