Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Standard messaging APIs for Brew 3.1.X and Brew MP don't allow us to do that.

We can create messages from the application in a separate storage and
retrieve them but those messages are not visible in the native
Messaging app.

Tried few Brew MP devices and the only device that allowed us to
list messages from the native storage was LG VN150 but not all the
parameters were retrievable (e.g. the message body was not).

The SMS application (native inbox) can chose to write to its own
database; most OEMs implement it that way. So unless the database
file/structure is known, other applications cannot access it.
If Brew application has to use ISMSStorage to read msgs from
storage, it has to do everything - register/get notification on new
messages, read it, store it to storage types mentioned in AEESMS.h and
then you can retrieve it using ISMSStorage APIs.
To conclude, you need to write complete SMS app to manage every
message; cannot have a dependency on other SMS apps for storing
messages.

The SMS application (native inbox) can chose to write to its own
database; most OEMs implement it that way. So unless the database
file/structure is known, other applications cannot access it.
If Brew application has to use ISMSStorage to read msgs from
storage, it has to do everything - register/get notification on new
messages, read it, store it to storage types mentioned in AEESMS.h and
then you can retrieve it using ISMSStorage APIs.
To conclude, you need to write complete SMS app to manage every
message; cannot have a dependency on other SMS apps for storing
messages.