TreKing, thanks. The issue is, I haven't extended the Activity class.
My class extends another class.

On Feb 25, 3:02 pm, TreKing <[email protected]> wrote:
> On Thu, Feb 25, 2010 at 2:08 AM, eyedol <[email protected]> wrote:
> >  I created a new object of
> > the Activity class and used that to call the various methods that
> > needs to start the activity
>
> Don't do this, use your existing activity.
>
> On Thu, Feb 25, 2010 at 3:59 AM, Vishwanath Kamath Pethri <
>
> [email protected]> wrote:
> > try using
>
> > activity.*this*.startActivityForResult(intent,VIEW_INCIDENT);
> >        activity.*this*.setResult( activity.RESULT_OK );
>
> That is not going to work.
>
> --------------------------------------------------------------------------- 
> ----------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking

-- 
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