I am creating an android chat application.I am getting null as presence if user is online by using this url :http://localhost:9090/plugins/presence/status?jid=8439198269@localhost&type=text
If user is offline the presence is returned as Unavailable
The other side is when i login through Spark client the presence is shown as online whereas when login with mobile user status is shown as null
The user status is displayed correctly in openfire admin panel but returning wrong presence
Please tell me why it is happening..