Get Error Message With Broadcast - CipherLab RK25 User Manual

Android programming
Hide thumbs Also See for RK25:
Table of Contents

Advertisement

Android Programming Guide

3.1.3. GET ERROR MESSAGE WITH BROADCAST

Purpose
If an error occurs during OS update, this intent is used to inform the application.
Intent Action
com.cipherlab.OtaUpdateService.ErrorMessage
Intent Parameters Data_ErrorMessage
Intent Return
Integer Value
Example
If(intent.getAction().equals("com.cipherlab.OtaUpdateService.ErrorM
essage"))
{
}
80
Error Message
ERROR_UNZIP
ERROR_NO_FILE
ERROR_LOW_BATTERY
ERROR_NOT_ENOUGH_SPACE
Bundle GetErrorbundle = intent.getExtras();
int value = GetErrorbundle.getInt("Data_ErrorMessage");
TextViewVaule = "ErrorMessage = " + value + "\n";
Description
Upgrade/downgrade package unzip
failed.
Upgrade/downgrade package does
not exist or incorrect format.
Battery is less than 50%.
There is insufficient space to unzip
upgrade/downgrade package.
Value
2100
2101
2102
2103

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RK25 and is the answer not in the manual?

Table of Contents