Thanks to all of you - I did mix up the startActivities in two different classes down the inheritance. The androidcontext is passed to the servlet I am running from the ijetty web server. It is defined as Context and thus he compiler error - silly mistake on my part not to see that in the first place ;)
Thanks again On May 19, 5:52 pm, Streets Of Boston <flyingdutc...@gmail.com> wrote: > startActivityForResult is only implemented for an Activity, not for a > Context! > > If 'androidContext' in your code-snippet above is declared as a Context, > trying to call 'startActivityForResult' will result in a compiler error. > If 'androidContext' in your code-snippet is declared as an Activity, it > should not raise a compiler error. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en