Thursday, July 29, 2010

[android-developers] Create new process

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxRZKUACgkQf9E0noFvlzgTKgCePYXj+ibrwD0lQuixOlLumGNE
KxkAn2Qo4WO8mwMmaXJeN1QzSlyWFtpS
=pT0w
-----END PGP SIGNATURE-----
In order to keep some native code happy, I need to launch an activity in
a new process. Does anyone know how to do this?

I can set the activity's process attribute in the manifest, but this
will cause *all* instances of the activity to appear in the *same*
process, which I can't have.

I'm willing to use internal APIs for this, and I've found
Process.start(), but it's not at all clear how this is supposed to be used.

Can anyone shed light on this?

--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────

│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate