onActivityResult not being called in Activity that uses GLSurfaceView

by Streets Of Boston » Mon, 26 Apr 2010 21:59:24 GMT


Sponsored Links
 What are the launch-properties of your sub-activity?
Is it a 'singleTask' or 'singleInstance'? If so, the sub-activity
won't report a result to your main-activity's 'onActivityResult()'.

I ask this, because i was struggling with this same issue for a while
until i discovered that my sub-activity was set to 'singleTask'....




>



onActivityResult not being called in Activity that uses GLSurfaceView

by SChaser » Tue, 27 Apr 2010 12:05:02 GMT


 he sub-activity has the same characteristics when started by the map-
view activity, where it reports a result back, as when started by the
GLSurfaceView activity, where it does not report back. It is the same
sub-activity, started by the same code, with the same arguments to the
intent.

BTW, how do you set something "singleTask" or "singleInstance"? I
don't have a setting like either.

Thanks for your response!

SChaser

On Apr 26, 6:59am, Streets Of Boston <flyingdutc...@gmail.com> wrote:
> >


Sponsored Links


onActivityResult not being called in Activity that uses GLSurfaceView

by String » Tue, 27 Apr 2010 12:51:58 GMT


Other Threads

1. issue with android.permission.CALL_PRIVILEGED

I've added the following to my manifest:

<uses-permission android:name="android.permission.CALL_PRIVILEGED"></
uses-permission>

Now I'm trying to use:

        startActivity(new Intent("android.intent.action.CALL",
                       Uri.parse("tel:911")));

And nothing...no error...nothing.

I'm looking at building a new dialer but if I can't have it call 911
then that's going to be an issue. Any ideas what I'm doing wrong?

Thanks

C.

--~--~---------~--~----~------------~-------~--~----~

2. Sending MMS messages

Is it possible to send an MMS message with, say, a picture attached
from on instance of the emulator to another instance running on the
same computer?

I have managed to send simple text messages but wondered if this was
also possible?

Cheers

p.s I was also wondering if it was possible to send an email from the
emulator to a gmail account?
--~--~---------~--~----~------------~-------~--~----~

3. Communicating with a server

4. Computer

5. New android apps on Twitter

6. Req Info abt "Development Settings"

7. Network Errors, No Reason?