![Page 1: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/1.jpg)
drupalmountaincamp.ch
DRUPAL AND ANDROID THROUGH REST
QUICK INTEGRATION
![Page 2: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/2.jpg)
John Gustavo Choque Condori Drupal 8 Developer at MD Systems
CTO at Hubbing.net@yongt9412
![Page 3: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/3.jpg)
Introduction
OverviewWhat we gonna talk about?
1
Existing approaches2
Drupal side3
Android side4
Small details5
Demo6
![Page 4: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/4.jpg)
Where does this come from?
Introduction
![Page 5: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/5.jpg)
How did I come up with this talk?Some short background
![Page 6: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/6.jpg)
What tools to use?And why?
![Page 7: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/7.jpg)
Our target usersFinal decision
![Page 8: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/8.jpg)
Drupalfithttps://github.com/yongjhih/drupalfit
DRUPAL 8
TESTS
UPDATESFLEXIBLEAPI
![Page 9: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/9.jpg)
Simple Drupal 8 Loginhttps://github.com/itech-planet/Simple-Drupal-8-Login-for-Android
DRUPAL 8
TESTS
UPDATESFLEXIBLEAPI
![Page 10: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/10.jpg)
So many attemptsEither failed or outdated
https://github.com/ajinkyakulkarni/DrupalAndroidApp
https://github.com/voidberg-archive/DrupalDroid
![Page 11: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/11.jpg)
What was next?
![Page 12: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/12.jpg)
Configuration
Drupalside
![Page 13: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/13.jpg)
REST moduleshttps://www.drupal.org/docs/8/core/modules/rest/overview
![Page 14: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/14.jpg)
HTTP Basic authenticationhttps://www.drupal.org/docs/8/core/modules/basic_auth/overview
![Page 15: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/15.jpg)
REST UIhttps://www.drupal.org/project/restui
![Page 16: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/16.jpg)
REST UIadmin/config/services/rest
![Page 17: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/17.jpg)
Configuration
Androidside
![Page 18: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/18.jpg)
To think aboutHow do we, Drupal people, need to think of this?
POJO
![Page 19: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/19.jpg)
RetrofitA type-safe HTTP client for Android and Java
LATEST VERSION
MINIMUM ANDROID
GITHUB
31K2.5.0 2.3
![Page 20: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/20.jpg)
SharedPreferencesAndroid concepts
![Page 21: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/21.jpg)
Activity != FragmentAndroid concepts
![Page 22: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/22.jpg)
Plain and simple
Simple Android App
![Page 23: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/23.jpg)
Plain and simple
Simple Android App
![Page 24: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/24.jpg)
With more code than it should
Demo
![Page 25: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/25.jpg)
To consider
Smalldetails
![Page 26: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/26.jpg)
Base 64Android version
![Page 27: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/27.jpg)
Base 64Android version
![Page 28: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/28.jpg)
Useful LinksLast but not least
https://www.drupal.org/docs/8/core/modules/rest
https://www.drupal.org/project/restui
https://belitsoft.com/apps-development-services/responsi
ve-website-vs-mobile-app
https://github.com/yongt9412/Drupidroid
![Page 30: REST DRUPAL AND ANDROID THROUGH...Drupal 8 Developer at MD Systems CTO at Hubbing.net @yongt9412. Introduction Overview What we gonna talk about? 1 2 Existing approaches 3 Drupal side](https://reader034.vdocuments.site/reader034/viewer/2022052500/5f10fe0476b1e2752d09854f/html5/thumbnails/30.jpg)
Q&A
Thank you