Android Chatting Application best approach -
i new android , want build chatting application in android. have read many articles on in people has suggested me select 1 of following methods in order create chat-application in android
1) socket programming
2) push notification etc
before starting work on want opinions how should proceed
buddies have 2 questions
1) regarding front-end designing:
what best approach design chat-box in order show conversation? of developers have used "listview+adapter" method show conversation between 2 users in each message list item, developer has used scroll view show conversation, sure first approach better second, there other optimal way become efficient app whats-app/facebook messenger?
2) regarding backend support: let suppose app users in thousands figure 5,000-10,000 , if use push notification method(fcm service) think app still work perfectly?
i thank full you..
1) think listview , adapter better solution;
2) think when interact database getting lot of items (in select query result), can establish limit of results query (keeping track of "page" of results showing), can show listview limited number of users , messages per time.
Comments
Post a Comment