Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Improving activity performance  RSS feed

Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys ,

I have a photo editing app on the play store , and lately I've had some complaints about it being slow , the problem is when I'm done with editing ,and click on save , the photo gets saved and i show an exit activity and that's where the lag comes from . I'm using a handler to save the photograph ,still i get sometimes 1-2 second lag. So I have heard a lot about asynctask but I haven't used it .

Can someone please guide me as to how I can open the new activity quickly, while still performing photo saving task in background.

PS- My present code

Thanks ,

The human mind is a dangerous plaything. This tiny ad is pretty safe:
Thread Boost - a very different sort of advertising
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!