-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added android build files for the juce demo. Sockets fix. Updated the…
… juce readme file in the docs folder.
- Loading branch information
Julian Storer
committed
Mar 9, 2011
1 parent
0297ae5
commit b3e986b
Showing
16 changed files
with
245 additions
and
989 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" | ||
package="com.juce"> | ||
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" | ||
android:anyDensity="true"/> | ||
<uses-permission android:name="android.permission.INTERNET"/> | ||
<application android:label="@string/app_name" android:icon="@drawable/icon"> | ||
<activity android:name="JuceAppActivity" android:label="@string/app_name"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | ||
<category android:name="android.intent.category.LAUNCHER"/> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# This file is used to override default values used by the Ant build system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project name="Juce Demo" default="help"> | ||
<property file="local.properties"/> | ||
<property file="build.properties"/> | ||
<property file="default.properties"/> | ||
<path id="android.antlibs"> | ||
<pathelement path="${sdk.dir}/tools/lib/anttasks.jar"/> | ||
<pathelement path="${sdk.dir}/tools/lib/sdklib.jar"/> | ||
<pathelement path="${sdk.dir}/tools/lib/androidprefs.jar"/> | ||
</path> | ||
<taskdef name="setup" classname="com.android.ant.SetupTask" classpathref="android.antlibs"/> | ||
<target name="clean"> | ||
<exec executable="${ndk.dir}/ndk-build" dir="${basedir}" failonerror="true"> | ||
<arg value="--jobs=2"/> | ||
<arg value="clean"/> | ||
</exec> | ||
</target> | ||
<exec executable="ln" dir="${basedir}" failonerror="false"> | ||
<arg value="-s"/> | ||
<arg value="${basedir}/../../../../../juce/src/native/android/java/"/> | ||
<arg value="src/com/juce"/> | ||
</exec> | ||
<target name="debug"> | ||
<exec executable="${ndk.dir}/ndk-build" dir="${basedir}" failonerror="true"> | ||
<arg value="--jobs=2"/> | ||
<arg value="CONFIG=Debug"/> | ||
</exec> | ||
</target> | ||
<target name="release"> | ||
<exec executable="${ndk.dir}/ndk-build" dir="${basedir}" failonerror="true"> | ||
<arg value="--jobs=2"/> | ||
<arg value="CONFIG=Release"/> | ||
</exec> | ||
</target> | ||
<setup/> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# This file is used to override default values used by the Ant build system. | ||
# It is automatically generated - DO NOT EDIT IT or your changes will be lost!. | ||
|
||
target=android-9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Automatically generated makefile, created by the Jucer | ||
# Don't edit this file! Your changes will be overwritten when you re-save the Jucer project! | ||
|
||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
|
||
LOCAL_CPP_EXTENSION := cpp | ||
LOCAL_MODULE := juce_jni | ||
LOCAL_SRC_FILES := \ | ||
../../../Source/ApplicationStartup.cpp\ | ||
../../../Source/MainDemoWindow.cpp\ | ||
../../../Source/demos/AudioDemoLatencyPage.cpp\ | ||
../../../Source/demos/AudioDemoPlaybackPage.cpp\ | ||
../../../Source/demos/AudioDemoRecordPage.cpp\ | ||
../../../Source/demos/AudioDemoSetupPage.cpp\ | ||
../../../Source/demos/AudioDemoSynthPage.cpp\ | ||
../../../Source/demos/AudioDemoTabComponent.cpp\ | ||
../../../Source/demos/CameraDemo.cpp\ | ||
../../../Source/demos/CodeEditorDemo.cpp\ | ||
../../../Source/demos/DragAndDropDemo.cpp\ | ||
../../../Source/demos/FontsAndTextDemo.cpp\ | ||
../../../Source/demos/InterprocessCommsDemo.cpp\ | ||
../../../Source/demos/OpenGLDemo.cpp\ | ||
../../../Source/demos/QuickTimeDemo.cpp\ | ||
../../../Source/demos/RenderingTestComponent.cpp\ | ||
../../../Source/demos/TableDemo.cpp\ | ||
../../../Source/demos/ThreadingDemo.cpp\ | ||
../../../Source/demos/TreeViewDemo.cpp\ | ||
../../../Source/demos/WebBrowserDemo.cpp\ | ||
../../../Source/demos/WidgetsDemo.cpp\ | ||
../../../JuceLibraryCode/BinaryData.cpp\ | ||
../../../JuceLibraryCode/JuceLibraryCode1.cpp\ | ||
../../../JuceLibraryCode/JuceLibraryCode2.cpp\ | ||
../../../JuceLibraryCode/JuceLibraryCode3.cpp\ | ||
../../../JuceLibraryCode/JuceLibraryCode4.cpp\ | ||
|
||
ifeq ($(CONFIG),Debug) | ||
LOCAL_CPPFLAGS += -fsigned-char -fexceptions -frtti -g -O0 -D "JUCE_ANDROID=1" -D "DEBUG=1" -D "_DEBUG=1" -D "JUCE_UNIT_TESTS=1" -D "JUCER_ANDROID_7F0E4A25=1" | ||
else | ||
LOCAL_CPPFLAGS += -fsigned-char -fexceptions -frtti -Os -D "JUCE_ANDROID=1" -D "NDEBUG=1" -D "JUCE_UNIT_TESTS=1" -D "JUCER_ANDROID_7F0E4A25=1" | ||
endif | ||
|
||
include $(BUILD_SHARED_LIBRARY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Automatically generated makefile, created by the Jucer | ||
# Don't edit this file! Your changes will be overwritten when you re-save the Jucer project! | ||
|
||
APP_STL := gnustl_static | ||
APP_CPPFLAGS += -fsigned-char -fexceptions -frtti |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This file is used to override default values used by the Ant build system. | ||
# It is automatically generated by the Jucer - DO NOT EDIT IT or your changes will be lost!. | ||
|
||
sdk.dir=${user.home}/SDKs/android-sdk-mac_86 | ||
ndk.dir=${user.home}/SDKs/android-ndk-r5 | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<resources> | ||
<string name="app_name">Juce Demo</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters