How to query the messages data from openfire server DB in android?

Hi All,

I am trying to send messages using operfire server.

How to query retrieve the data of specific user?

I find the messages data stored in ‘ofmessagearchive’ table.

And could you explain the purpose of ofmessagearchive and ofoffline tables.

Thanks in advance…