Re: [android-developers] Error with custom made popup marker

2010-02-25 Thread TreKing
On Thu, Feb 25, 2010 at 2:08 AM, eyedol 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 < vishwanathkam...

Re: [android-developers] Error with custom made popup marker

2010-02-25 Thread Vishwanath Kamath Pethri
try using activity.*this*.startActivityForResult(intent,VIEW_INCIDENT); activity.*this*.setResult( activity.RESULT_OK ); eyedol wrote: I have a made custom popup marker. There is a button on the popup that shows up when you click on a marker on the map. Its function is to open a ne

[android-developers] Error with custom made popup marker

2010-02-25 Thread eyedol
I have a made custom popup marker. There is a button on the popup that shows up when you click on a marker on the map. Its function is to open a new activity when the button is clicked. So in the onClick function of the setOnClickListener() call, I created a new object of the Activity class and use