Share Link - Perform action in background
Posted
by Justin
on Stack Overflow
See other posts from Stack Overflow
or by Justin
Published on 2010-03-21T13:46:38Z
Indexed on
2010/03/21
13:51 UTC
Read the original article
Hit count: 241
I have an application that will accept URLs from the built in web browser via the "Share page" menu item. I'm using the send intent and it works just fine. However, I'd like to accept a URL and process it in the background without bringing my application to the front. I don't want the user to have to actually leave the web browser. It will notify the user it has finished processing the URL with a Toast message. I'm just not sure what type of activity should be used for this.
A good example of this behavior is the "Read Later" instapaper application in the android market. Any help would be greatly appreciated.
© Stack Overflow or respective owner