setResult of an activity

by Josyula Gayathri Devi » Fri, 22 Oct 2010 05:35:45 GMT

Sponsored Links

For example i hav some 3 activities.. activity 1 is the main screen
and iam in activity 2.. another activity is started by handler and the
result of activity3 ahould go bak to activity 1.. but since 2 is on
top of stack, activity 1 is not getting the result of 3... how to
solve this


setResult of an activity

by TreKing » Sat, 23 Oct 2010 02:23:15 GMT

 On Thu, Oct 21, 2010 at 6:04 AM, Josyula Gayathri Devi <

Have Act2 get the result from Act3, set it's own result, then finish itself.
OR, call Act1 directly from Act3 with the data.

TreKing <> ; - Chicago
transit tracking app for Android-powered devices


Sponsored Links

Other Threads

1. Multiple Callbacks from native to java

Hi All,

Ii have been trying to do callbacks from native to java. But till now
i can do only one callback at a time. I would like to call it multiple
times (Like in while loop). but its coming out of native code after
first call.

Plz suggest me what to do?


2. Trouble running Android NDK

I'm want to compile native code in Windows.

I downloaded cygwin and also installed it.

Then i downloaded and installed Android NDK too.

but i'm facing few issues.

At first when i go to the project folder and run ndk-build then i get an
ERROR: Cannot find 'make' program. Please install Cygwin make package
or define the GNUMAKE variable to point to it.

So i think on maybe by assigning GNUMAKE path by C:\cygwin\bin it should
work but then i get a new error
ERROR: Your GNUMAKE variable is defined to an invalid name: C:\cygwin\bin
Please fix it to point to a valid make executable (e.g. /usr/bin/make)

I'm not sure what am i doing wrong. I checked google too. But wasn't able to
solve the issue from solutions provided there.
Few of the solutions which didn't work were
1. Spaces in the project path. My project path doesn't have any spaces.
2. I even  had a new make.exe from the site if in case the make file was not
a compatible file type.
3. I even reinstalled the whole cygwin development package.

Can anyone please share how they have solved this issue.


Vinay Julme


3. NullPointerExceptions calling IMarketBillingService

4. Broadcast to a specific class in another app

5. Digest HttpS connection

6. Accessing database from android

7. Porting SDK on android device