Announcement

Collapse
No announcement yet.

When are opmodes loaded into Control Hub RAM?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • When are opmodes loaded into Control Hub RAM?

    Our code base has over twenty opmodes contained in one Android Studio configuration, some for testing, some as code examples, and some for matches.

    Is all of this code loaded into RAM on the Control Hub when we launch this configuration from Android Studio (and subsequent reboots)? Or is it loaded into NVRAM at launch/reboot and only loaded into RAM when selected to run?

  • #2
    The Control Hub is just an Android Device. All the code is built into the generated APK file, and the relevant portions of code are loaded into RAM whenever the Android Runtime VM chooses to.

    Comment


    • #3
      Ah, that makes sense. Thanks for the explanation!

      Comment

      Working...
      X