| java.lang.Object com.nokia.phone.deploy.CONA
CONA | public class CONA (Code) | | This class offers interface for the native methods in CONA API. CONA api
offers Application package deployment to Terminal either by using BT, IrDA,
Serial or USB communication. Native methods declared in this class available
in the ConnJNI.dll. The ConnJNI.dll will itself use methods available in
ConnAPI.dll that has been taken from PC Suite Connectivity API 1.1 which
is freely downloadable from Forum Nokia.
|
Method Summary | |
public boolean | closeFileSystem() | public boolean | connect() | public boolean | disconnect() | public void | fireDeviceNotify(int status, int deviceId) This method is called from native code to inform of device operations i.e. | public void | fireFileOperationNotify(int function, int state, int transferredBytes, int allBytes) This method is called from native code to inform of file operations. | public static int | getConnapiInfo(int status) | public static int | getConnapiInfoData(int status) | public static int | getConnapiStatus(int status) | public String | getDeviceType(int id) Returns device media type: one of: {"IRDA", "RS232", "BLUETOOTH", "USB", NULL};
id is device ID. | public String | getDevices(int mediaType) Returns comma-separated list of device names/IDs. | public static CONA | getInstance() | public String | getVersion() | public boolean | installApplication(String filepath, String filename, String jad, int filetype, boolean defaultFolder) | public boolean | isConnAPIDllFound() | public boolean | isConnJNIDllFound() | public boolean | isOSSupportsDeployment() | public boolean | openFileSystem(int id) | public boolean | updateDeviceList() |
CONAConnectionLost | final public static int CONAConnectionLost(Code) | | |
CONACopyFile | final public static int CONACopyFile(Code) | | |
CONACreateFolder | final public static int CONACreateFolder(Code) | | |
CONADeleteFile | final public static int CONADeleteFile(Code) | | |
CONADeleteFolder | final public static int CONADeleteFolder(Code) | | |
CONAFindBegin | final public static int CONAFindBegin(Code) | | |
CONAGetFileInfo | final public static int CONAGetFileInfo(Code) | | |
CONAInstallApplication | final public static int CONAInstallApplication(Code) | | |
CONAMoveFile | final public static int CONAMoveFile(Code) | | |
CONAPI_MEDIA_ALL | final public static int CONAPI_MEDIA_ALL(Code) | | |
CONAPI_MEDIA_BLUETOOTH | final public static int CONAPI_MEDIA_BLUETOOTH(Code) | | |
CONAPI_MEDIA_IRDA | final public static int CONAPI_MEDIA_IRDA(Code) | | |
CONAPI_MEDIA_SERIAL | final public static int CONAPI_MEDIA_SERIAL(Code) | | |
CONAPI_MEDIA_USB | final public static int CONAPI_MEDIA_USB(Code) | | |
CONAReadFile | final public static int CONAReadFile(Code) | | |
CONARefreshDeviceMemoryValues | final public static int CONARefreshDeviceMemoryValues(Code) | | |
CONARenameFile | final public static int CONARenameFile(Code) | | |
CONARenameFolder | final public static int CONARenameFolder(Code) | | |
CONASetCurrentFolder | final public static int CONASetCurrentFolder(Code) | | |
CONAWriteFile | final public static int CONAWriteFile(Code) | | |
CONA_APPLICATION_TYPE_JAVA | final public static int CONA_APPLICATION_TYPE_JAVA(Code) | | |
CONA_APPLICATION_TYPE_SIS | final public static int CONA_APPLICATION_TYPE_SIS(Code) | | |
closeFileSystem | public boolean closeFileSystem()(Code) | | |
connect | public boolean connect()(Code) | | |
disconnect | public boolean disconnect()(Code) | | |
fireDeviceNotify | public void fireDeviceNotify(int status, int deviceId)(Code) | | This method is called from native code to inform of device operations i.e.
device connect, device disconnect.
Nothing needed to be done in this implementation.
|
fireFileOperationNotify | public void fireFileOperationNotify(int function, int state, int transferredBytes, int allBytes)(Code) | | This method is called from native code to inform of file operations.
Nothing needed to be done in this implementation.
|
getConnapiInfo | public static int getConnapiInfo(int status)(Code) | | |
getConnapiInfoData | public static int getConnapiInfoData(int status)(Code) | | |
getConnapiStatus | public static int getConnapiStatus(int status)(Code) | | |
getDeviceType | public String getDeviceType(int id)(Code) | | Returns device media type: one of: {"IRDA", "RS232", "BLUETOOTH", "USB", NULL};
id is device ID.
|
getDevices | public String getDevices(int mediaType)(Code) | | Returns comma-separated list of device names/IDs.
MediaType is one of {CONAPI_MEDIA_ALL, CONAPI_MEDIA_IRDA, CONAPI_MEDIA_SERIAL, CONAPI_MEDIA_BLUETOOTH, CONAPI_MEDIA_USB}
Each device listed with the format: "%s (ID:%i)"
|
installApplication | public boolean installApplication(String filepath, String filename, String jad, int filetype, boolean defaultFolder)(Code) | | |
isConnAPIDllFound | public boolean isConnAPIDllFound()(Code) | | |
isConnJNIDllFound | public boolean isConnJNIDllFound()(Code) | | |
isOSSupportsDeployment | public boolean isOSSupportsDeployment()(Code) | | |
openFileSystem | public boolean openFileSystem(int id)(Code) | | |
updateDeviceList | public boolean updateDeviceList()(Code) | | |
|
|