Interface URLCallback


public interface URLCallback
In platforms that support opening an application via URL this interface can be implemented by the main class to support such functionality. Notice that build argument must also include some information, for more details check out this issue: http://code.google.com/p/codenameone/issues/detail?id=379
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether the application should handle the given URL, defaults to true
  • Method Details

    • shouldApplicationHandleURL

      boolean shouldApplicationHandleURL(String url, String caller)

      Indicates whether the application should handle the given URL, defaults to true

      Parameters
      • url: the URL to handle

      • caller: the invoking application

      Returns

      true to handle the URL, false otherwise