navigator_open_file()

Deprecated: Use the invocation framework APIs instead.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_open_file(const char *filepath,
                                char **err)

Since:

BlackBerry 10.0.0

Arguments:

filepath

The path of the file to open.

err

If this function fails, and if err is not null, it will be set to a short description of the error. The caller must free this buffer using bps_free().

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

Deprecated:

The use of navigator_open_file() has been deprecated in BlackBerry 10. Use the invocation framework APIs from navigator_invoke.h instead.

The navigator_open_file() function sends a navigator openFile request to open the specified file in the navigator.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE upon failure with a short description of the error in err.