Skip to main content
Samsung Developer Program

Look Edge Simulator

The following diagram shows how you can use the simulator to test your Edge product:

Download, Development, and Upload of Edge APKs using the Edge Simulator.png

The following illustration shows Edge Simulator on an Android virtual device:

Edge Simulator on an Android Virtual Device

The following illustration shows Edge Simulator on a non-Edge Samsung Android device:

Edge Simulator on a non-Edge Samsung Device

File Structure

This section shows file differences that result when you generate Edge panel or feed APKs with the Edge SDK or the Edge Simulator.

Note: Before distributing your Edge panel or feed APKs developed using the Edge Simulator, you must build your APKs using the Edge SDK in order to create the Edge SDK files.

The following illustration shows Tools > Edge Simulator example files:

Sim_Edge_Tools_Edge Simulator_Files.png







The following illustration highlights the Libs folder with has Libs example files (Edge Simulator development Edge panels and feeds):




The following illustration highlights the Libs folder with Libs example files (release version Edge panels and feeds):




Edge Panel and Feed Development

You can use the Edge Simulator to develop and test your Edge panel/feed operations.

To use the Edge Simulator to develop an Edge Single Plus panel of Edge Feed:

Note: The maximum number of Edge panels or feeds that can be installed on the Edge Simulator (or any Samsung Edge device) is 20.

  • If your Edge panel or feed code uses a ListView, you must set Edge Simulator permissions (see the following section).
  • For an Android virtual device, ensure it is properly configured with Nexus 6. 5.x 1440x2560560dpi, M OS or above.
  • For a Samsung Android device, ensure it is running Android Marshmallow M OS or above.
  1. Install the Edge Simulator (edge_simulator_[version].apk) on an Android virtual device or Samsung Android device.
  2. Create your Edge panel or feed with the Simulator SDK (edge_simulator_[version].jar).
    For details, see the Integrating Look Edge section.

  3. Run and debug your Edge panel or feed app in the Edge Simulator.
  4. Before distributing your Edge panel or feed APK:
    1. Replace the Simulator SDK JAR file (edge_simulator_[version].jar) with the Edge SDK JAR file (look_[version].jar).
    2. Rebuild your APK.

Setting Simulator Permissions when Using a ListView

If your Edge panel or feed app code specifies setRemoteAdapter() for a ListView, the Edge Simulator needs special permissions to get information from the panel’s RemoteViewService.

To set permissions for an Edge panel's ListView:

  1. Specify the sharedUserId in AndriodManifest.xml.
  2. Add metadata (such as appwidget) to AndroidManifest.xml.
  3. Add a bind-permission to simulator.apk by adb.
  4. Use the attached sign-key (sim_test.jks).
  • Key Alias: androiddebugkey
  • Key Password: android
  1. Before you release the APK:
    1. Remove any code related to the simulator.
    2. Change the sign-key to your existing sign-key.

Note: During operation, if your Edge panel or feed displays an error text (for example, empty), the remoteView may be empty. Use the Edge Simulator SDK (edge_simulator_[version].jar) and not the Edge SDK (look_[version].jar, sdk-[version].jar).

  • Was this article helpful?