Skip to content
Permalink
Browse files

Re-structured the low-level Android native code

Please see the forum post "Re-structuring of JUCE’s low-level Android code" and the BREAKING-CHANGES.txt for more information.
  • Loading branch information...
hogliux committed Nov 13, 2018
1 parent 463f5ea commit 008b7a9ab2960f265c6ca305edfba29859a4548a
Showing with 7,774 additions and 7,338 deletions.
  1. +35 −2 BREAKING-CHANGES.txt
  2. +14 −4 examples/DemoRunner/Builds/Android/app/build.gradle
  3. +3 −3 examples/DemoRunner/Builds/Android/app/src/main/AndroidManifest.xml
  4. +3 −1 extras/AudioPerformanceTest/Builds/Android/app/CMakeLists.txt
  5. +12 −4 extras/AudioPerformanceTest/Builds/Android/app/build.gradle
  6. +3 −3 extras/AudioPerformanceTest/Builds/Android/app/src/main/AndroidManifest.xml
  7. +3 −1 extras/AudioPluginHost/Builds/Android/app/CMakeLists.txt
  8. +14 −4 extras/AudioPluginHost/Builds/Android/app/build.gradle
  9. +2 −2 extras/AudioPluginHost/Builds/Android/app/src/main/AndroidManifest.xml
  10. +3 −1 extras/NetworkGraphicsDemo/Builds/Android/app/CMakeLists.txt
  11. +13 −4 extras/NetworkGraphicsDemo/Builds/Android/app/build.gradle
  12. +3 −3 extras/NetworkGraphicsDemo/Builds/Android/app/src/main/AndroidManifest.xml
  13. +137 −398 extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Android.h
  14. +6 −3 extras/Projucer/Source/Utility/Helpers/jucer_PresetIDs.h
  15. +1,075 −999 ...native/java/AndroidMidi.java → juce_audio_devices/native/java/com/roli/juce/JuceMidiSupport.java}
  16. +11 −18 modules/juce_audio_devices/native/juce_android_Audio.cpp
  17. +373 −36 modules/juce_audio_devices/native/juce_android_Midi.cpp
  18. +7 −45 modules/juce_audio_devices/native/juce_android_Oboe.cpp
  19. +10 −28 modules/juce_audio_devices/native/juce_android_OpenSL.cpp
  20. +24 −9 modules/juce_audio_utils/native/juce_android_BluetoothMidiDevicePairingDialogue.cpp
  21. +2 −0 modules/juce_core/juce_core.cpp
  22. +0 −169 modules/juce_core/native/java/AndroidCamera.java
  23. +0 −85 modules/juce_core/native/java/AndroidMidiFallback.java
  24. +0 −12 modules/juce_core/native/java/AndroidRuntimePermissions.java
  25. +0 −146 modules/juce_core/native/java/AndroidVideo.java
  26. +0 −69 modules/juce_core/native/java/AndroidWebView.java
  27. +0 −971 modules/juce_core/native/java/IInAppBillingService.java
  28. +0 −1,806 modules/juce_core/native/java/JuceAppActivity.java
  29. +0 −16 modules/juce_core/native/java/JuceFirebaseInstanceIdService.java
  30. +0 −35 modules/juce_core/native/java/JuceFirebaseMessagingService.java
  31. +19 −0 modules/juce_core/native/java/README.txt
  32. +58 −0 modules/juce_core/native/java/com/roli/juce/FragmentOverlay.java
  33. +407 −0 modules/juce_core/native/java/com/roli/juce/JuceHTTPStream.java
  34. +15 −0 modules/juce_core/native/javacore/app/com/roli/juce/JuceApp.java
  35. +13 −0 modules/juce_core/native/javacore/init/com/roli/juce/Java.java
  36. +118 −65 modules/juce_core/native/juce_android_Files.cpp
  37. +687 −0 modules/juce_core/native/juce_android_JNIHelpers.cpp
  38. +354 −215 modules/juce_core/native/juce_android_JNIHelpers.h
  39. +168 −6 modules/juce_core/native/juce_android_Network.cpp
  40. +200 −27 modules/juce_core/native/juce_android_RuntimePermissions.cpp
  41. +17 −344 modules/juce_core/native/juce_android_SystemStats.cpp
  42. +318 −0 modules/juce_core/native/juce_android_Threads.cpp
  43. +16 −28 modules/juce_core/native/juce_posix_SharedCode.h
  44. +41 −0 modules/juce_core/threads/juce_Thread.h
  45. +1 −1 modules/juce_events/messages/juce_Initialisation.h
  46. +149 −10 modules/juce_events/native/juce_android_Messaging.cpp
  47. +178 −30 modules/juce_graphics/native/juce_android_Fonts.cpp
  48. +4 −5 modules/juce_graphics/native/juce_android_GraphicsContext.cpp
  49. +0 −7 modules/juce_gui_basics/filebrowser/juce_ContentSharer.h
  50. +1 −1 modules/juce_gui_basics/menus/juce_PopupMenu.cpp
  51. +493 −0 modules/juce_gui_basics/native/java/com/roli/juce/ComponentPeerView.java
  52. +13 −15 ...rovider.java → juce_gui_basics/native/javacore/app/com/roli/juce/JuceSharingContentProvider.java}
  53. +174 −115 modules/juce_gui_basics/native/juce_android_ContentSharer.cpp
  54. +29 −14 modules/juce_gui_basics/native/juce_android_FileChooser.cpp
  55. +709 −269 modules/juce_gui_basics/native/juce_android_Windowing.cpp
  56. +2 −8 modules/juce_gui_extra/embedding/juce_AndroidViewComponent.h
  57. +2 −6 modules/juce_gui_extra/misc/juce_WebBrowserComponent.h
  58. +107 −0 modules/juce_gui_extra/native/java/com/roli/juce/JuceWebView.java
  59. +12 −26 modules/juce_gui_extra/native/juce_AndroidViewComponent.cpp
  60. +210 −232 modules/juce_gui_extra/native/juce_android_PushNotifications.cpp
  61. +242 −126 modules/juce_gui_extra/native/juce_android_WebBrowserComponent.cpp
  62. +56 −0 modules/juce_opengl/native/java/com/roli/juce/JuceOpenGLView.java
  63. +1 −2 modules/juce_opengl/native/juce_OpenGLExtensions.h
  64. +113 −53 modules/juce_opengl/native/juce_OpenGL_android.h
  65. +2 −2 modules/juce_opengl/opengl/juce_OpenGLContext.cpp
  66. +65 −0 modules/juce_video/native/java/com/roli/juce/CameraCaptureSessionCaptureCallback.java
  67. +53 −0 modules/juce_video/native/java/com/roli/juce/CameraCaptureSessionStateCallback.java
  68. +43 −0 modules/juce_video/native/java/com/roli/juce/CameraDeviceStateCallback.java
  69. +24 −0 modules/juce_video/native/java/com/roli/juce/JuceOrientationEventListener.java
  70. +53 −0 modules/juce_video/native/java/com/roli/juce/MediaControllerCallback.java
  71. +78 −0 modules/juce_video/native/java/com/roli/juce/MediaSessionCallback.java
  72. +37 −0 modules/juce_video/native/java/com/roli/juce/SystemVolumeObserver.java
  73. +403 −437 modules/juce_video/native/juce_android_CameraDevice.h
  74. +336 −399 modules/juce_video/native/juce_android_Video.h
  75. +0 −18 modules/juce_video/playback/juce_VideoComponent.h
@@ -4,6 +4,41 @@ JUCE breaking changes
Develop
=======

Change
-----
Multiple changes to low-level, non-public JNI and Android APIs.

Possible Issues
---------------
If you were using any non-public, low-level JNI macros, calling java code or recieving JNI callbacks, then your code will probably no longer work. See the forum for further details.

Workaround
----------
See the forum for further details.

Rationale
---------
See the forum for further details.


Change
-----
The minimum Android version for a JUCE app is now Android 4.1

Possible Issues
---------------
Your app may not run on very old versions of Android (less than 5% of the devices).

Workaround
----------
There is no workaround.

Rationale
---------
Less than 5% of all devices in the world run versions of Android older than Android

This comment has been minimized.

Copy link
@dturner

dturner Nov 13, 2018

It's actually about 0.5% of all Android devices: https://developer.android.com/about/dashboards/

This comment has been minimized.

Copy link
@tpoole

tpoole Nov 14, 2018

Collaborator

Thanks! I'll get that fixed.

4.1. In the interest of keeping JUCE code clean and lean, we must depricate support
for very old Android versions from time to time.


Version 5.4.0
=============
@@ -94,7 +129,6 @@ The new createAndAddParameter method is much more flexible and enables any
parameter types derived from RangedAudioParameter to be managed by the
AudioProcessorValueTreeState.


Change
------
The Projucer's per-exporter Android SDK/NDK path options have been removed.
@@ -114,7 +148,6 @@ Rationale
Having multiple places where the paths could be set was confusing and could
cause unexpected mismatches.


Change
------
SystemStats::getDeviceDescription() will now return the device code on iOS e.g.
@@ -83,11 +83,21 @@ android {
}
}

repositories {
}
sourceSets {
main.java.srcDirs +=
["../../../../../modules/juce_audio_devices/native/java",
"../../../../../modules/juce_core/native/java",
"../../../../../modules/juce_gui_basics/native/java",
"../../../../../modules/juce_gui_extra/native/java",
"../../../../../modules/juce_opengl/native/java",
"../../../../../modules/juce_video/native/java"]
}

dependencies {
}
repositories {
}

dependencies {
}


}
@@ -12,15 +12,15 @@
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-feature android:glEsVersion="0x00030000" android:required="true"/>
<application android:label="@string/app_name" android:icon="@drawable/icon" android:hardwareAccelerated="false">
<activity android:name="DemoRunner" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation|screenSize"
<application android:label="@string/app_name" android:name="com.roli.juce.JuceApp" android:icon="@drawable/icon" android:hardwareAccelerated="false">
<activity android:name="android.app.Activity" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="unspecified" android:launchMode="singleTask" android:hardwareAccelerated="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<provider android:name="com.juce.demorunner.SharingContentProvider" android:authorities="com.juce.demorunner.sharingcontentprovider"
<provider android:name="com.roli.juce.JuceSharingContentProvider" android:authorities="com.juce.demorunner.sharingcontentprovider"
android:grantUriPermissions="true" android:exported="false"/>
</application>
</manifest>
@@ -8,7 +8,7 @@ SET(BINARY_NAME "juce_jni")
add_library("cpufeatures" STATIC "${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c")
set_source_files_properties("${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c" PROPERTIES COMPILE_FLAGS "-Wno-sign-conversion -Wno-gnu-statement-expression")

add_definitions("-DJUCE_ANDROID=1" "-DJUCE_ANDROID_API_VERSION=23" "-DJUCE_ANDROID_ACTIVITY_CLASSNAME=com_juce_audioperformancetest_AudioPerformanceTest" "-DJUCE_ANDROID_ACTIVITY_CLASSPATH=\"com/juce/audioperformancetest/AudioPerformanceTest\"" "-DJUCE_ANDROID_SHARING_CONTENT_PROVIDER_CLASSNAME=com_juce_audioperformancetest_SharingContentProvider" "-DJUCE_ANDROID_SHARING_CONTENT_PROVIDER_CLASSPATH=\"com/juce/audioperformancetest/SharingContentProvider\"" "-DJUCE_PUSH_NOTIFICATIONS=1" "-DJUCE_ANDROID_GL_ES_VERSION_3_0=1" "-DJUCER_ANDROIDSTUDIO_7F0E4A25=1" "-DJUCE_APP_VERSION=1.0.0" "-DJUCE_APP_VERSION_HEX=0x10000")
add_definitions("-DJUCE_ANDROID=1" "-DJUCE_ANDROID_API_VERSION=23" "-DJUCE_PUSH_NOTIFICATIONS=1" "-DJUCE_ANDROID_GL_ES_VERSION_3_0=1" "-DJUCER_ANDROIDSTUDIO_7F0E4A25=1" "-DJUCE_APP_VERSION=1.0.0" "-DJUCE_APP_VERSION_HEX=0x10000")

include_directories( AFTER
"../../../JuceLibraryCode"
@@ -558,6 +558,7 @@ add_library( ${BINARY_NAME}
"../../../../../modules/juce_core/misc/juce_Uuid.h"
"../../../../../modules/juce_core/misc/juce_WindowsRegistry.h"
"../../../../../modules/juce_core/native/juce_android_Files.cpp"
"../../../../../modules/juce_core/native/juce_android_JNIHelpers.cpp"
"../../../../../modules/juce_core/native/juce_android_JNIHelpers.h"
"../../../../../modules/juce_core/native/juce_android_Misc.cpp"
"../../../../../modules/juce_core/native/juce_android_Network.cpp"
@@ -1828,6 +1829,7 @@ set_source_files_properties("../../../../../modules/juce_core/misc/juce_Uuid.cpp
set_source_files_properties("../../../../../modules/juce_core/misc/juce_Uuid.h" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/misc/juce_WindowsRegistry.h" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_Files.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_JNIHelpers.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_JNIHelpers.h" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_Misc.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_Network.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
@@ -86,11 +86,19 @@ android {
}
}

repositories {
}
sourceSets {
main.java.srcDirs +=
["../../../../../modules/juce_audio_devices/native/java",
"../../../../../modules/juce_core/native/java",
"../../../../../modules/juce_gui_basics/native/java",
"../../../../../modules/juce_gui_extra/native/java"]
}

dependencies {
}
repositories {
}

dependencies {
}


}
@@ -1,16 +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.0"
package="com.juce.audioperformancetest">
package="com.juce.AudioPerformanceTest">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="true"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.INTERNET"/>
<application android:label="@string/app_name" android:hardwareAccelerated="false">
<activity android:name="AudioPerformanceTest" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation|screenSize"
<application android:label="@string/app_name" android:name="com.roli.juce.JuceApp" android:hardwareAccelerated="false">
<activity android:name="android.app.Activity" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="unspecified" android:launchMode="singleTask" android:hardwareAccelerated="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
@@ -8,7 +8,7 @@ SET(BINARY_NAME "juce_jni")
add_library("cpufeatures" STATIC "${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c")
set_source_files_properties("${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c" PROPERTIES COMPILE_FLAGS "-Wno-sign-conversion -Wno-gnu-statement-expression")

add_definitions("-DJUCE_ANDROID=1" "-DJUCE_ANDROID_API_VERSION=23" "-DJUCE_ANDROID_ACTIVITY_CLASSNAME=com_roli_juce_pluginhost_AudioPluginHost" "-DJUCE_ANDROID_ACTIVITY_CLASSPATH=\"com/roli/juce/pluginhost/AudioPluginHost\"" "-DJUCE_ANDROID_SHARING_CONTENT_PROVIDER_CLASSNAME=com_roli_juce_pluginhost_SharingContentProvider" "-DJUCE_ANDROID_SHARING_CONTENT_PROVIDER_CLASSPATH=\"com/roli/juce/pluginhost/SharingContentProvider\"" "-DJUCE_PUSH_NOTIFICATIONS=1" "-DJUCE_ANDROID_GL_ES_VERSION_3_0=1" "-DJUCER_ANDROIDSTUDIO_7F0E4A25=1" "-DJUCE_APP_VERSION=1.0.0" "-DJUCE_APP_VERSION_HEX=0x10000")
add_definitions("-DJUCE_ANDROID=1" "-DJUCE_ANDROID_API_VERSION=23" "-DJUCE_PUSH_NOTIFICATIONS=1" "-DJUCE_ANDROID_GL_ES_VERSION_3_0=1" "-DJUCER_ANDROIDSTUDIO_7F0E4A25=1" "-DJUCE_APP_VERSION=1.0.0" "-DJUCE_APP_VERSION_HEX=0x10000")

include_directories( AFTER
"../../../../../modules/juce_audio_processors/format_types/VST3_SDK"
@@ -575,6 +575,7 @@ add_library( ${BINARY_NAME}
"../../../../../modules/juce_core/misc/juce_Uuid.h"
"../../../../../modules/juce_core/misc/juce_WindowsRegistry.h"
"../../../../../modules/juce_core/native/juce_android_Files.cpp"
"../../../../../modules/juce_core/native/juce_android_JNIHelpers.cpp"
"../../../../../modules/juce_core/native/juce_android_JNIHelpers.h"
"../../../../../modules/juce_core/native/juce_android_Misc.cpp"
"../../../../../modules/juce_core/native/juce_android_Network.cpp"
@@ -1918,6 +1919,7 @@ set_source_files_properties("../../../../../modules/juce_core/misc/juce_Uuid.cpp
set_source_files_properties("../../../../../modules/juce_core/misc/juce_Uuid.h" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/misc/juce_WindowsRegistry.h" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_Files.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_JNIHelpers.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_JNIHelpers.h" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_Misc.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_Network.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
@@ -83,11 +83,21 @@ android {
}
}

repositories {
}
sourceSets {
main.java.srcDirs +=
["../../../../../modules/juce_audio_devices/native/java",
"../../../../../modules/juce_core/native/java",
"../../../../../modules/juce_gui_basics/native/java",
"../../../../../modules/juce_gui_extra/native/java",
"../../../../../modules/juce_opengl/native/java",
"../../../../../modules/juce_video/native/java"]
}

dependencies {
}
repositories {
}

dependencies {
}


}
@@ -11,8 +11,8 @@
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-feature android:glEsVersion="0x00030000" android:required="true"/>
<application android:label="@string/app_name" android:icon="@drawable/icon" android:hardwareAccelerated="false">
<activity android:name="AudioPluginHost" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation|screenSize"
<application android:label="@string/app_name" android:name="com.roli.juce.JuceApp" android:icon="@drawable/icon" android:hardwareAccelerated="false">
<activity android:name="android.app.Activity" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="unspecified" android:launchMode="singleTask" android:hardwareAccelerated="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
@@ -8,7 +8,7 @@ SET(BINARY_NAME "juce_jni")
add_library("cpufeatures" STATIC "${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c")
set_source_files_properties("${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c" PROPERTIES COMPILE_FLAGS "-Wno-sign-conversion -Wno-gnu-statement-expression")

add_definitions("-DJUCE_ANDROID=1" "-DJUCE_ANDROID_API_VERSION=10" "-DJUCE_ANDROID_ACTIVITY_CLASSNAME=com_juce_networkgraphicsdemo_JUCENetworkGraphicsDemo" "-DJUCE_ANDROID_ACTIVITY_CLASSPATH=\"com/juce/networkgraphicsdemo/JUCENetworkGraphicsDemo\"" "-DJUCE_ANDROID_SHARING_CONTENT_PROVIDER_CLASSNAME=com_juce_networkgraphicsdemo_SharingContentProvider" "-DJUCE_ANDROID_SHARING_CONTENT_PROVIDER_CLASSPATH=\"com/juce/networkgraphicsdemo/SharingContentProvider\"" "-DJUCE_PUSH_NOTIFICATIONS=1" "-DJUCER_ANDROIDSTUDIO_7F0E4A25=1" "-DJUCE_APP_VERSION=1.0.0" "-DJUCE_APP_VERSION_HEX=0x10000")
add_definitions("-DJUCE_ANDROID=1" "-DJUCE_ANDROID_API_VERSION=10" "-DJUCE_PUSH_NOTIFICATIONS=1" "-DJUCER_ANDROIDSTUDIO_7F0E4A25=1" "-DJUCE_APP_VERSION=1.0.0" "-DJUCE_APP_VERSION_HEX=0x10000")

include_directories( AFTER
"../../../JuceLibraryCode"
@@ -562,6 +562,7 @@ add_library( ${BINARY_NAME}
"../../../../../modules/juce_core/misc/juce_Uuid.h"
"../../../../../modules/juce_core/misc/juce_WindowsRegistry.h"
"../../../../../modules/juce_core/native/juce_android_Files.cpp"
"../../../../../modules/juce_core/native/juce_android_JNIHelpers.cpp"
"../../../../../modules/juce_core/native/juce_android_JNIHelpers.h"
"../../../../../modules/juce_core/native/juce_android_Misc.cpp"
"../../../../../modules/juce_core/native/juce_android_Network.cpp"
@@ -1907,6 +1908,7 @@ set_source_files_properties("../../../../../modules/juce_core/misc/juce_Uuid.cpp
set_source_files_properties("../../../../../modules/juce_core/misc/juce_Uuid.h" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/misc/juce_WindowsRegistry.h" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_Files.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_JNIHelpers.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_JNIHelpers.h" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_Misc.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_core/native/juce_android_Network.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
@@ -83,11 +83,20 @@ android {
}
}

repositories {
}
sourceSets {
main.java.srcDirs +=
["../../../../../modules/juce_audio_devices/native/java",
"../../../../../modules/juce_core/native/java",
"../../../../../modules/juce_gui_basics/native/java",
"../../../../../modules/juce_gui_extra/native/java",
"../../../../../modules/juce_opengl/native/java"]
}

dependencies {
}
repositories {
}

dependencies {
}


}
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0.0"
package="com.juce.networkgraphicsdemo">
package="com.juce.NetworkGraphicsDemo">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="true"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
@@ -10,8 +10,8 @@
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-feature android:glEsVersion="0x00020000" android:required="true"/>
<application android:label="@string/app_name" android:icon="@drawable/icon">
<activity android:name="JUCENetworkGraphicsDemo" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation"
<application android:label="@string/app_name" android:name="com.roli.juce.JuceApp" android:icon="@drawable/icon">
<activity android:name="android.app.Activity" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation"
android:screenOrientation="unspecified" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>

0 comments on commit 008b7a9

Please sign in to comment.
You can’t perform that action at this time.