You are here: Web Apps with Visual LANSA > 14. Widgets and 3rd Party Integration > 14.6 LANSA Mobile Application Widgets > 14.6.7 xDeviceFileRead Widget

14.6.7 xDeviceFileRead Widget

Read the content of local file on mobile device.

Properties

FileName

Fully qualified name of the file to read.

FileType

Type of file to read. Valid options: TEXT, BIN

FileEncoding

How the file is encoded. Valid options: UTF8, UTF16, ASCII

DataEncoding

How the data is encoded. Valid options: NONE, BASE64, URL

Methods

Read

Read the file

Events

Completed

Triggered when file reading is finished.

Name

Type

Description

Status

Enum

See Status Code

data

String

File data

Message

String