I want to develop a messaging app which will show messages from native content provider (sms uri ) and messages that has been sent from my app. I am stuck while managing this messages.I have tried below idea but plese do suggest which is the best .
1.I have saved all native and A2A messages in databases so it was easy to show but I got problem while synching native message gets delete as there is not broadcast listener for message deletion.
2.Second option is two save only a2a message in database but it is complex to and time consuming to get messages from two different places (database and content provider and manage the to show view like inbox)
3.Third is to save all app to app messages in content provider with custom message type.and show all messages from content provider only .
Please guide me on this.
Aucun commentaire:
Enregistrer un commentaire