Users Pricing

forum

home / developersection / forums / start a service in android

Start a service in android

Anonymous User 2093 05 Aug 2015
Suppose that you are starting a service in an Activity as follows:
Intent service = new Intent(context, MyService.class);             
startService(service);
where MyService accesses a remote server via an Internet connection.

If the Activity is showing an animation that indicates some kind of progress, what issue might you encounter and how could you address it?

I am a content writter !


1 Answers