Skip to content
Permalink
Browse files

[Examples] Add Android joynr Hello World examples

  • Loading branch information...
ruisasoaresctwbmwgroupcom Ricardo Daniel de Sousa Rocha
ruisasoaresctwbmwgroupcom authored and Ricardo Daniel de Sousa Rocha committed Aug 2, 2019
1 parent 8a6d835 commit 91d3b0cede7afba85d61c7c9ca6aadbd6b1b661c
Showing with 2,512 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +38 −0 NOTICE
  3. +39 −0 examples/NOTICE
  4. +89 −0 examples/android/NOTICE
  5. +88 −0 examples/android/android-hello-world/NOTICE
  6. +36 −0 examples/android/android-hello-world/README.md
  7. +86 −0 examples/android/android-hello-world/android-hello-world-consumer/NOTICE
  8. +49 −0 examples/android/android-hello-world/android-hello-world-consumer/app/build.gradle
  9. +24 −0 examples/android/android-hello-world/android-hello-world-consumer/app/src/main/AndroidManifest.xml
  10. +25 −0 examples/android/android-hello-world/android-hello-world-consumer/app/src/main/fidl/helloworld.fidl
  11. +55 −0 ...-consumer/app/src/main/java/io/joynr/androidhelloworldconsumer/HelloWorldConsumerApplication.java
  12. +81 −0 ...-world-consumer/app/src/main/java/io/joynr/androidhelloworldconsumer/HelloWorldConsumerModel.java
  13. +21 −0 ...ld-consumer/app/src/main/java/io/joynr/androidhelloworldconsumer/HelloWorldConsumerViewModel.java
  14. +41 −0 ...droid-hello-world-consumer/app/src/main/java/io/joynr/androidhelloworldconsumer/MainActivity.java
  15. +34 −0 ...hello-world/android-hello-world-consumer/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
  16. +74 −0 ...oid-hello-world/android-hello-world-consumer/app/src/main/res/drawable/ic_launcher_background.xml
  17. +30 −0 ...ndroid/android-hello-world/android-hello-world-consumer/app/src/main/res/layout/activity_main.xml
  18. +5 −0 ...droid-hello-world/android-hello-world-consumer/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  19. +5 −0 ...hello-world/android-hello-world-consumer/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  20. BIN ...oid/android-hello-world/android-hello-world-consumer/app/src/main/res/mipmap-hdpi/ic_launcher.png
  21. BIN ...droid-hello-world/android-hello-world-consumer/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
  22. BIN ...oid/android-hello-world/android-hello-world-consumer/app/src/main/res/mipmap-mdpi/ic_launcher.png
  23. BIN ...droid-hello-world/android-hello-world-consumer/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
  24. BIN ...id/android-hello-world/android-hello-world-consumer/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  25. BIN ...roid-hello-world/android-hello-world-consumer/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
  26. BIN ...d/android-hello-world/android-hello-world-consumer/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  27. BIN ...oid-hello-world/android-hello-world-consumer/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  28. BIN .../android-hello-world/android-hello-world-consumer/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  29. BIN ...id-hello-world/android-hello-world-consumer/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  30. +6 −0 examples/android/android-hello-world/android-hello-world-consumer/app/src/main/res/values/colors.xml
  31. +3 −0 ...ples/android/android-hello-world/android-hello-world-consumer/app/src/main/res/values/strings.xml
  32. +11 −0 examples/android/android-hello-world/android-hello-world-consumer/app/src/main/res/values/styles.xml
  33. +36 −0 examples/android/android-hello-world/android-hello-world-consumer/build.gradle
  34. +25 −0 examples/android/android-hello-world/android-hello-world-consumer/gradle.properties
  35. BIN examples/android/android-hello-world/android-hello-world-consumer/gradle/wrapper/gradle-wrapper.jar
  36. +6 −0 ...android/android-hello-world/android-hello-world-consumer/gradle/wrapper/gradle-wrapper.properties
  37. +172 −0 examples/android/android-hello-world/android-hello-world-consumer/gradlew
  38. +84 −0 examples/android/android-hello-world/android-hello-world-consumer/gradlew.bat
  39. +139 −0 examples/android/android-hello-world/android-hello-world-consumer/pom.xml
  40. +2 −0 examples/android/android-hello-world/android-hello-world-consumer/settings.gradle
  41. +86 −0 examples/android/android-hello-world/android-hello-world-provider/NOTICE
  42. +47 −0 examples/android/android-hello-world/android-hello-world-provider/app/build.gradle
  43. +24 −0 examples/android/android-hello-world/android-hello-world-provider/app/src/main/AndroidManifest.xml
  44. +24 −0 examples/android/android-hello-world/android-hello-world-provider/app/src/main/fidl/helloworld.fidl
  45. +58 −0 ...hello-world-provider/app/src/main/java/io/joynr/androidhelloworldprovider/HelloWorldProvider.java
  46. +67 −0 ...-provider/app/src/main/java/io/joynr/androidhelloworldprovider/HelloWorldProviderApplication.java
  47. +45 −0 ...-world-provider/app/src/main/java/io/joynr/androidhelloworldprovider/HelloWorldProviderModel.java
  48. +19 −0 ...ld-provider/app/src/main/java/io/joynr/androidhelloworldprovider/HelloWorldProviderViewModel.java
  49. +49 −0 ...droid-hello-world-provider/app/src/main/java/io/joynr/androidhelloworldprovider/MainActivity.java
  50. +34 −0 ...hello-world/android-hello-world-provider/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
  51. +170 −0 ...oid-hello-world/android-hello-world-provider/app/src/main/res/drawable/ic_launcher_background.xml
  52. +19 −0 ...ndroid/android-hello-world/android-hello-world-provider/app/src/main/res/layout/activity_main.xml
  53. +5 −0 ...droid-hello-world/android-hello-world-provider/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  54. +5 −0 ...hello-world/android-hello-world-provider/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  55. BIN ...oid/android-hello-world/android-hello-world-provider/app/src/main/res/mipmap-hdpi/ic_launcher.png
  56. BIN ...droid-hello-world/android-hello-world-provider/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
  57. BIN ...oid/android-hello-world/android-hello-world-provider/app/src/main/res/mipmap-mdpi/ic_launcher.png
  58. BIN ...droid-hello-world/android-hello-world-provider/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
  59. BIN ...id/android-hello-world/android-hello-world-provider/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  60. BIN ...roid-hello-world/android-hello-world-provider/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
  61. BIN ...d/android-hello-world/android-hello-world-provider/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  62. BIN ...oid-hello-world/android-hello-world-provider/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  63. BIN .../android-hello-world/android-hello-world-provider/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  64. BIN ...id-hello-world/android-hello-world-provider/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  65. +6 −0 examples/android/android-hello-world/android-hello-world-provider/app/src/main/res/values/colors.xml
  66. +3 −0 ...ples/android/android-hello-world/android-hello-world-provider/app/src/main/res/values/strings.xml
  67. +11 −0 examples/android/android-hello-world/android-hello-world-provider/app/src/main/res/values/styles.xml
  68. +35 −0 examples/android/android-hello-world/android-hello-world-provider/build.gradle
  69. +20 −0 examples/android/android-hello-world/android-hello-world-provider/gradle.properties
  70. BIN examples/android/android-hello-world/android-hello-world-provider/gradle/wrapper/gradle-wrapper.jar
  71. +6 −0 ...android/android-hello-world/android-hello-world-provider/gradle/wrapper/gradle-wrapper.properties
  72. +172 −0 examples/android/android-hello-world/android-hello-world-provider/gradlew
  73. +84 −0 examples/android/android-hello-world/android-hello-world-provider/gradlew.bat
  74. +139 −0 examples/android/android-hello-world/android-hello-world-provider/pom.xml
  75. +2 −0 examples/android/android-hello-world/android-hello-world-provider/settings.gradle
  76. +38 −0 examples/android/android-hello-world/pom.xml
  77. +38 −0 examples/android/pom.xml
  78. +1 −0 examples/pom.xml
@@ -19,6 +19,7 @@ cpp/libjoynrclustercontroller/include/joynr/JoynrClusterControllerExport.h
cpp/runtimes/include/joynr/JoynrClusterControllerRuntimeExport.h
cpp/runtimes/include/joynr/JoynrRuntimeExport.h
dependency-reduced-pom.xml
local.properties
*.bundle.js
target/

38 NOTICE
@@ -28,12 +28,45 @@ This project has dependencies to:
Aether Utilities under Eclipse Public License, Version 1.0
android under Apache License, Version 2.0
Android APK Zip Library under The Apache Software License, Version 2.0
Android AppCompat Library v7 under The Apache Software License, Version 2.0
Android Arch-Common under The Apache Software License, Version 2.0
Android Arch-Runtime under The Apache Software License, Version 2.0
Android Builder library under The Apache Software License, Version 2.0
Android Builder Model library under The Apache Software License, Version 2.0
Android Builder Test API library under The Apache Software License, Version 2.0
Android ConstraintLayout under The Apache Software License, Version 2.0
Android ConstraintLayout Solver under The Apache Software License, Version 2.0
Android Gradle API under The Apache Software License, Version 2.0
Android Jetifier Core under The Apache Software License, Version 2.0
Android Jetifier Processor under The Apache Software License, Version 2.0
Android Lifecycle Extensions under The Apache Software License, Version 2.0
Android Lifecycle LiveData under The Apache Software License, Version 2.0
Android Lifecycle LiveData Core under The Apache Software License, Version 2.0
Android Lifecycle Process under The Apache Software License, Version 2.0
Android Lifecycle Runtime under The Apache Software License, Version 2.0
Android Lifecycle Service under The Apache Software License, Version 2.0
Android Lifecycle ViewModel under The Apache Software License, Version 2.0
Android Lifecycle-Common under The Apache Software License, Version 2.0
Android Support AnimatedVectorDrawable under The Apache Software License, Version 2.0
Android Support Library Annotations under The Apache Software License, Version 2.0
Android Support Library Async Layout Inflater under The Apache Software License, Version 2.0
Android Support Library collections under The Apache Software License, Version 2.0
Android Support Library compat under The Apache Software License, Version 2.0
Android Support Library Coordinator Layout under The Apache Software License, Version 2.0
Android Support Library core UI under The Apache Software License, Version 2.0
Android Support Library core utils under The Apache Software License, Version 2.0
Android Support Library Cursor Adapter under The Apache Software License, Version 2.0
Android Support Library Custom View under The Apache Software License, Version 2.0
Android Support Library Document File under The Apache Software License, Version 2.0
Android Support Library Drawer Layout under The Apache Software License, Version 2.0
Android Support Library fragment under The Apache Software License, Version 2.0
Android Support Library Interpolators under The Apache Software License, Version 2.0
Android Support Library loader under The Apache Software License, Version 2.0
Android Support Library Local Broadcast Manager under The Apache Software License, Version 2.0
Android Support Library Print under The Apache Software License, Version 2.0
Android Support Library Sliding Pane Layout under The Apache Software License, Version 2.0
Android Support Library View Pager under The Apache Software License, Version 2.0
Android Support VectorDrawable under The Apache Software License, Version 2.0
Android Tools Analytics Crash Library under The Apache Software License, Version 2.0
Android Tools Analytics Protobufs under The Apache Software License, Version 2.0
Android Tools Analytics Shared Library under The Apache Software License, Version 2.0
@@ -203,6 +236,10 @@ This project has dependencies to:
io.joynr.examples.radio-jee:radio-jee-api under The Apache Software License, Version 2.0
io.joynr.examples.radio-jee:radio-jee-consumer under The Apache Software License, Version 2.0
io.joynr.examples.radio-jee:radio-jee-provider under The Apache Software License, Version 2.0
io.joynr.examples:android under The Apache Software License, Version 2.0
io.joynr.examples:android-hello-world under The Apache Software License, Version 2.0
io.joynr.examples:android-hello-world-consumer under The Apache Software License, Version 2.0
io.joynr.examples:android-hello-world-provider under The Apache Software License, Version 2.0
io.joynr.examples:android-location-consumer under The Apache Software License, Version 2.0
io.joynr.examples:android-location-provider under The Apache Software License, Version 2.0
io.joynr.examples:custom-headers under The Apache Software License, Version 2.0
@@ -495,6 +532,7 @@ This project has dependencies to:
Text under Eclipse Public License - v 2.0
Transaction 1.1 API under lgpl
TXW2 Runtime under CDDL+GPL License
VersionedParcelable and friends under The Apache Software License, Version 2.0
vtd-xml under GNU GENERAL PUBLIC LICENSE Version 2, June 1991
Xalan Java under The Apache Software License, Version 2.0
Xalan Java Serializer under The Apache Software License, Version 2.0
@@ -17,6 +17,39 @@ under the License.

This project has dependencies to:
android under Apache License, Version 2.0
Android AppCompat Library v7 under The Apache Software License, Version 2.0
Android Arch-Common under The Apache Software License, Version 2.0
Android Arch-Runtime under The Apache Software License, Version 2.0
Android ConstraintLayout under The Apache Software License, Version 2.0
Android ConstraintLayout Solver under The Apache Software License, Version 2.0
Android Lifecycle Extensions under The Apache Software License, Version 2.0
Android Lifecycle LiveData under The Apache Software License, Version 2.0
Android Lifecycle LiveData Core under The Apache Software License, Version 2.0
Android Lifecycle Process under The Apache Software License, Version 2.0
Android Lifecycle Runtime under The Apache Software License, Version 2.0
Android Lifecycle Service under The Apache Software License, Version 2.0
Android Lifecycle ViewModel under The Apache Software License, Version 2.0
Android Lifecycle-Common under The Apache Software License, Version 2.0
Android Support AnimatedVectorDrawable under The Apache Software License, Version 2.0
Android Support Library Annotations under The Apache Software License, Version 2.0
Android Support Library Async Layout Inflater under The Apache Software License, Version 2.0
Android Support Library collections under The Apache Software License, Version 2.0
Android Support Library compat under The Apache Software License, Version 2.0
Android Support Library Coordinator Layout under The Apache Software License, Version 2.0
Android Support Library core UI under The Apache Software License, Version 2.0
Android Support Library core utils under The Apache Software License, Version 2.0
Android Support Library Cursor Adapter under The Apache Software License, Version 2.0
Android Support Library Custom View under The Apache Software License, Version 2.0
Android Support Library Document File under The Apache Software License, Version 2.0
Android Support Library Drawer Layout under The Apache Software License, Version 2.0
Android Support Library fragment under The Apache Software License, Version 2.0
Android Support Library Interpolators under The Apache Software License, Version 2.0
Android Support Library loader under The Apache Software License, Version 2.0
Android Support Library Local Broadcast Manager under The Apache Software License, Version 2.0
Android Support Library Print under The Apache Software License, Version 2.0
Android Support Library Sliding Pane Layout under The Apache Software License, Version 2.0
Android Support Library View Pager under The Apache Software License, Version 2.0
Android Support VectorDrawable under The Apache Software License, Version 2.0
AOP alliance under Public Domain
Apache Commons CLI under Apache License, Version 2.0
Apache Groovy under The Apache Software License, Version 2.0
@@ -35,9 +68,14 @@ This project has dependencies to:
Google Guice - Extensions - AssistedInject under The Apache Software License, Version 2.0
Google Guice - Extensions - MultiBindings under The Apache Software License, Version 2.0
Hamcrest Core under New BSD License
io.joynr.android:libjoynr-android-websocket-runtime under The Apache Software License, Version 2.0
io.joynr.examples.radio-jee:radio-jee-api under The Apache Software License, Version 2.0
io.joynr.examples.radio-jee:radio-jee-consumer under The Apache Software License, Version 2.0
io.joynr.examples.radio-jee:radio-jee-provider under The Apache Software License, Version 2.0
io.joynr.examples:android under The Apache Software License, Version 2.0
io.joynr.examples:android-hello-world under The Apache Software License, Version 2.0
io.joynr.examples:android-hello-world-consumer under The Apache Software License, Version 2.0
io.joynr.examples:android-hello-world-provider under The Apache Software License, Version 2.0
io.joynr.examples:android-location-consumer under The Apache Software License, Version 2.0
io.joynr.examples:android-location-provider under The Apache Software License, Version 2.0
io.joynr.examples:custom-headers under The Apache Software License, Version 2.0
@@ -120,4 +158,5 @@ This project has dependencies to:
SLF4J LOG4J-12 Binding under MIT License
SpotBugs Annotations under GNU LESSER GENERAL PUBLIC LICENSE, Version 2.1
stateless-async-backend-services under The Apache Software License, Version 2.0
VersionedParcelable and friends under The Apache Software License, Version 2.0

@@ -0,0 +1,89 @@
This project includes software developed by
BMW Car IT GmbH (http://www.bmw-carit.de)
and BMW Forschung & Technik GmbH

Licensed under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

This project has dependencies to:
Android AppCompat Library v7 under The Apache Software License, Version 2.0
Android Arch-Common under The Apache Software License, Version 2.0
Android Arch-Runtime under The Apache Software License, Version 2.0
Android ConstraintLayout under The Apache Software License, Version 2.0
Android ConstraintLayout Solver under The Apache Software License, Version 2.0
Android Lifecycle Extensions under The Apache Software License, Version 2.0
Android Lifecycle LiveData under The Apache Software License, Version 2.0
Android Lifecycle LiveData Core under The Apache Software License, Version 2.0
Android Lifecycle Process under The Apache Software License, Version 2.0
Android Lifecycle Runtime under The Apache Software License, Version 2.0
Android Lifecycle Service under The Apache Software License, Version 2.0
Android Lifecycle ViewModel under The Apache Software License, Version 2.0
Android Lifecycle-Common under The Apache Software License, Version 2.0
Android Support AnimatedVectorDrawable under The Apache Software License, Version 2.0
Android Support Library Annotations under The Apache Software License, Version 2.0
Android Support Library Async Layout Inflater under The Apache Software License, Version 2.0
Android Support Library collections under The Apache Software License, Version 2.0
Android Support Library compat under The Apache Software License, Version 2.0
Android Support Library Coordinator Layout under The Apache Software License, Version 2.0
Android Support Library core UI under The Apache Software License, Version 2.0
Android Support Library core utils under The Apache Software License, Version 2.0
Android Support Library Cursor Adapter under The Apache Software License, Version 2.0
Android Support Library Custom View under The Apache Software License, Version 2.0
Android Support Library Document File under The Apache Software License, Version 2.0
Android Support Library Drawer Layout under The Apache Software License, Version 2.0
Android Support Library fragment under The Apache Software License, Version 2.0
Android Support Library Interpolators under The Apache Software License, Version 2.0
Android Support Library loader under The Apache Software License, Version 2.0
Android Support Library Local Broadcast Manager under The Apache Software License, Version 2.0
Android Support Library Print under The Apache Software License, Version 2.0
Android Support Library Sliding Pane Layout under The Apache Software License, Version 2.0
Android Support Library View Pager under The Apache Software License, Version 2.0
Android Support VectorDrawable under The Apache Software License, Version 2.0
AOP alliance under Public Domain
Commons Lang under The Apache Software License, Version 2.0
FindBugs-jsr305 under The Apache Software License, Version 2.0
FlatBuffers Java API under Apache License V2.0
Google Guice - Core Library under The Apache Software License, Version 2.0
Google Guice - Extensions - AssistedInject under The Apache Software License, Version 2.0
Google Guice - Extensions - MultiBindings under The Apache Software License, Version 2.0
Hamcrest Core under New BSD License
io.joynr.android:libjoynr-android-websocket-runtime under The Apache Software License, Version 2.0
io.joynr.examples:android under The Apache Software License, Version 2.0
io.joynr.examples:android-hello-world under The Apache Software License, Version 2.0
io.joynr.examples:android-hello-world-consumer under The Apache Software License, Version 2.0
io.joynr.examples:android-hello-world-provider under The Apache Software License, Version 2.0
io.joynr.java.common:discovery-common under The Apache Software License, Version 2.0
io.joynr.java.common:guice-integration under The Apache Software License, Version 2.0
io.joynr.java.common:status-metrics under The Apache Software License, Version 2.0
io.joynr.java.core:libjoynr under The Apache Software License, Version 2.0
io.joynr.java.messaging.websocket:joynr-websocket-client under The Apache Software License, Version 2.0
io.joynr.java.messaging.websocket:joynr-websocket-common under The Apache Software License, Version 2.0
io.joynr.java.messaging:messaging-common under The Apache Software License, Version 2.0
io.joynr.java:javaapi under The Apache Software License, Version 2.0
io.joynr.smrf.java:smrf under The Apache Software License, Version 2.0
io.joynr.smrf.java:smrf-api under The Apache Software License, Version 2.0
Jackson-annotations under The Apache Software License, Version 2.0
Jackson-core under The Apache Software License, Version 2.0
jackson-databind under The Apache Software License, Version 2.0
javax.inject under The Apache Software License, Version 2.0
Jetty :: IO Utility under Apache Software License - Version 2.0 or Eclipse Public License - Version 1.0
Jetty :: Utilities under Apache Software License - Version 2.0 or Eclipse Public License - Version 1.0
Jetty :: Websocket :: API under Apache Software License - Version 2.0 or Eclipse Public License - Version 1.0
Jetty :: Websocket :: Client under Apache Software License - Version 2.0 or Eclipse Public License - Version 1.0
Jetty :: Websocket :: Common under Apache Software License - Version 2.0 or Eclipse Public License - Version 1.0
JUnit under Eclipse Public License 1.0
libjoynr-websocket-runtime under The Apache Software License, Version 2.0
SLF4J API Module under MIT License
SpotBugs Annotations under GNU LESSER GENERAL PUBLIC LICENSE, Version 2.1
VersionedParcelable and friends under The Apache Software License, Version 2.0

0 comments on commit 91d3b0c

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