Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add DSPManager to build system

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

0 comments on commit daeb7b8

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