Pro Yearly is on sale from $80 to $50! »

Android Studio Plugin Development

1fa9cb8c7997c8c4d3d251fb5e41f749?s=47 Realm
April 18, 2017

Android Studio Plugin Development

Android Studio Plugin
Droid Knights, Seoul, 2017
Youngho Cha

1fa9cb8c7997c8c4d3d251fb5e41f749?s=128

Realm

April 18, 2017
Tweet

Transcript

  1.        (@ganachoco)

  2.  

  3. I've got a dream Source: disney.com

  4.    .

  5.  ...

  6. None
  7. None
  8. idegen.sh

  9. Build

  10. None
  11. API References Documentation

  12.   IntelliJ IDEA Community Edition Android Studio

  13. API

  14. API

  15. Plugin Development Setup

  16. build.gradle

  17. build.gradle

  18. build.gradle

  19. plugin.xml

  20. Entry Point • Action ◦ Menu ◦ Toolbar • Component

    ◦ Application ◦ Project ◦ Module
  21. plugin.xml (Actions)

  22. Action

  23. plugin.xml (Components)

  24. Component Level ApplicationComponent ProjectComponent ModuleComponent

  25. Application Component IDE Launched IDE Exited initComponent() disposeComponent()

  26. Project Component IDE Launched IDE Exited projectOpened() projectClosed()

  27. Module Component IDE Launched IDE Exited moduleAdded() Open Project Close

    Project
  28. Messaging Infrastructure

  29. Topic • ProjectTopics ◦ PROJECT_ROOTS ▪ ModuleRootListener ◦ MODULES ▪

    ModuleListener • VirtualFileManager ◦ VFS_CHANGES ▪ BulkFileListener • Ӓ৻... ◦ public static final Topic ਵ۽ Ѩ࢝
  30. Example: ModuleListener

  31. Example: ModuleListener

  32. plugin.xml (Services)

  33. ServiceManager ServiceManager applicationService projectService ModuleServiceManager moduleService

  34. Service

  35. User Interface Based Swing Component Popup Notification ToolWindow GUI Builder

  36. GUI Builder

  37. GUI Builder

  38. ToolWindow

  39. ToolWindow

  40. And many others...

  41. publish

  42. publish

  43. new upload

  44. plugin update

  45. Conclusion • Use the Source! ◦ Platform Sources ◦ Other

    plugins sources