Re: [android-developers] Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag

2012-11-20 Thread Francisco Marzoa
You are right, it is a bug on Admob that was solved on version 6.1.0, and I am using the 6.0.1 exactly the previous one... :-| https://developers.google.com/mobile-ads-sdk/docs/rel-notes I should looked at that release notes before... Well, it is easy to solve then. Thanks, On 11/20/2012 09

Re: [android-developers] Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag

2012-11-20 Thread Nikolay Elenkov
On Tue, Nov 20, 2012 at 3:33 AM, Francisco Marzoa wrote: > On 11/18/2012 12:56 PM, Piren wrote: > > 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 > Applica

Re: [android-developers] Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag

2012-11-20 Thread Piren
You're probably using them incorrectly. You should consult with their support On Monday, November 19, 2012 8:35:44 PM UTC+2, Fran wrote: > > On 11/18/2012 12:56 PM, Piren wrote: > > It actually says it right there: 3 at > android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:23

Re: [android-developers] Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag

2012-11-19 Thread Francisco Marzoa
On 11/18/2012 12:56 PM, Piren wrote: |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 a

[android-developers] Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag

2012-11-18 Thread Piren
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

[android-developers] Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag

2012-11-18 Thread skink
Francisco Marzoa wrote: > Hi, > > I am getting many reports of crashes with this error condition: > > android.util.AndroidRuntimeException: Calling startActivity() from > outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. > Is this really what you want? > > The problem is th

[android-developers] Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag ?

2010-09-21 Thread mani
I put a similar post in Android-platform.!! Hoping for some support from framework engineers. Thanks, Mani On Sep 22, 1:15 am, Dianne Hackborn wrote: > Please move this to a group for platform development, such as > android-porting or android-platform. > > > > > > On Tue, Sep 21, 2010 at 4:58 AM

Re: [android-developers] Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag ?

2010-09-21 Thread Dianne Hackborn
Please move this to a group for platform development, such as android-porting or android-platform. On Tue, Sep 21, 2010 at 4:58 AM, mani wrote: > I even tried to do > this.getApplicationContext().startActivity() --> but this anyway not > possible coz am not under a Activity instance. > So how s

Re: [android-developers] Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag ?

2010-09-21 Thread A N K ! T
then try to use webview On Tue, Sep 21, 2010 at 5:18 PM, mani wrote: > Yes i tried now.!! It dint work...:( > > - mani > > On Sep 21, 7:36 pm, "A N K ! T" wrote: > > have u try to put this line after defining intent. > > browserIntent .setFlag(Intent.FLAG_ACTIVITY_NEW_TASK); > > > > > > >

[android-developers] Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag ?

2010-09-21 Thread mani
I even tried to do this.getApplicationContext().startActivity() --> but this anyway not possible coz am not under a Activity instance. So how should i tackle this ?? Anyone who has worked on statusbar...could help me .. On Sep 21, 7:36 pm, "A N K ! T" wrote: > have u try to put this line after

[android-developers] Re: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag ?

2010-09-21 Thread mani
Yes i tried now.!! It dint work...:( - mani On Sep 21, 7:36 pm, "A N K ! T" wrote: > have u try to put this line after defining intent. >  browserIntent .setFlag(Intent.FLAG_ACTIVITY_NEW_TASK); > > > > > > On Tue, Sep 21, 2010 at 4:39 PM, mani wrote: > > Hi all, > > > I tried to create a editte