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

Methods

public abstract boolean shouldApplicationHandleURL(String url, String caller)Indicates whether the application should handle the given URL, defaults to true

Method details

shouldApplicationHandleURL

public abstract boolean shouldApplicationHandleURL(String url, String caller)
Indicates whether the application should handle the given URL, defaults to true

Parameters

url String
the URL to handle
caller String
the invoking application

Returns

true to handle the URL, false otherwise