I used SmsCbMessage.java class in a my program. It was taken from http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.1_r1/android/telep
It is probable that Huawei has customized the SmsCbMessage
class. What you can do is to use reflection to see what methods are available on that class and hope that one looks like the one you need. Try something like this:
try {
Class clazz = Class.forName("android.telephony.SmsCbMessage");
Method[] methods = clazz.getDeclaredMethods();
for (Method m : methods) {
Log.v("XXX", "Method found: " + m);
}
} catch (Exception e) {
Log.e("XXX", "Exception: " + e);
}