Lordareon
Lordareon

Reputation: 11

How they did the imo/ebuddy app on android?

I'm a beginner in android development and I've seen the use of activities, and even if they look pretty related in the application, code-wise they are almost totally independent. I became curious how ebuddy and imo manage multiple chats open.

Are they one activity only and then only change the parameters when we go back to them? or are they generated in runtime?

If anyone can explain how its done, I'd appreciate that.

Upvotes: 0

Views: 242

Answers (1)

Codeman
Codeman

Reputation: 12375

Android activites can use a Service to run things in the background, then when the activity is started, it pulls information needed from the background service, essentially persisting the data between activities.

All apps that you see with "notifications" and that sort of thing use background services like this.

Upvotes: 1

Related Questions