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
Need help?
Do you have a question about the RK25 and is the answer not in the manual?