The following are needed to do the Code Lab activity:

  • Java SE Development Kit (JDK) 8 or later

  • Android Studio (latest version recommended)

  • Samsung Galaxy Z Fold2 or Z Flip

  • Remote Test Lab (if physical device is not available for testing)


    • Samsung account
    • Java Runtime Environment (JRE) 7 or later with Java Web Start
    • Internet environment where port 2600 is available

Initial Setup

After downloading the sample code below containing the project file for this Code Lab activity, open your Android Studio and click Open an Existing Project.

Locate the downloaded Android Project from the directory and click OK.

Sample Code

Here is a sample code for you to start coding this activity. Feel free to download them and start your learning experience!

Flex Mode Sample Code171.80 KB