From: Piren <gpi...@gmail.com>
Date: Sun, 18 Nov 2012 03:56:53 -0800 (PST)
Local: Sun, Nov 18 2012 6:56 am
Subject: Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag
It actually says it right there: 3 at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:236) The user is clicking a hyperlink in a webview which is attached to the Application Context. Figure out which webview it is, set a webViewClient and override shouldOverrideUrlLoading to open the hyperlink properly. On Sunday, November 18, 2012 12:23:52 PM UTC+2, Fran wrote:
> Hi, > I am getting many reports of crashes with this error condition: > android.util.AndroidRuntimeException: Calling startActivity() from outside > The problem is that the reported stack does not made reference to any line > 0 android.util.AndroidRuntimeException: Calling startActivity() from > So I am having real troubles to find the source of the problem. > Does anyone have any idea on what methods called from my code may raise > TIA You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||