Download the file yourself.

Or, use a WebView instead of launching the browser.

On Mon, Jan 9, 2012 at 1:01 PM, ole! <[email protected]> wrote:
> I'm posting this question in case someone has a solution/best practice
> already:
>
> Situation:
> 1. Activity A in task TA starts native browser activity B
> 2. Native browser activity executes in separate task TB (no control over
> this)
> 3. Activity B interprets some Javascript and downloads a file (no control
> over the javascript)
> 4. At this point:
>         B in TB is at top of task stack
>         A in TA is stopped and does not receive any events (eg FileObserver
> events)
>
> Solution needed:
> After B in TB completes download of file:
> 1. A in TA at top of stack (and back stack) so A can read download file
> 2. A's content view is displayed
>
> Ideas or known solution would be appreciated...
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to