Multi-process applications and Android Market

by Marco Nelissen » Fri, 06 Mar 2009 07:03:56 GMT


Sponsored Links
 You can put everything in the same package, and make the service runs
in a different process by specifying the "android:process" attribute
for the service in your manifest.





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



Multi-process applications and Android Market

by Marco Nelissen » Fri, 06 Mar 2009 07:05:44 GMT


 I should have read further... :)
So you already tried that, but can't debug it? That seems weird. Why
can't you just attach the debugger to the other process? What happens
when you try?






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


Sponsored Links


Multi-process applications and Android Market

by Dianne Hackborn » Fri, 06 Mar 2009 07:12:05 GMT


 Yeah you can directly attach adb to any process and debug it.  You can also
have your process call Debug.waitForDebugger() if there is a place you want
to block for the debugger to attach.

Splitting an app into multiple .apks just to have it run in two processes is
very much not the model we encourage.








-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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



Multi-process applications and Android Market

by Dianne Hackborn » Fri, 06 Mar 2009 10:44:44 GMT


 eah Eclipse is hard to figure out.  Basically you can go into the Eclipse
run menu for starting the debugger ("Open Debug Dialog..." on and the
"Remote Java Application" category on mine, your version may be different),
to have it attach to a socket. So in ddms, click on the process you want to
debug, which will forward it to port 8700, and then in the eclipse dialog
select host as "localhost" and port as "8700" to attach a debugger to it.

On Thu, Mar 5, 2009 at 5:16 PM, Mike Collins <mike.d.coll...@gmail.com>wrote:



--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support. All such questions should be posted on public
forums, where I and others can see and answer them.

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



Other Threads

1. When another activity is called from main activity, The calling activity get destroyed?

http://developer.android.com/guide/topics/fundamentals.html




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

2. android on omap 35x evm

Hi All,

I need to port android on omap 35x platform. The linux kernel which i got
from TI is 2.6.22
but android started its release from version 2.6.23

I started with taking a patch from linux-android-2.6.23 and linux-2.6.23 and
applying it to linux-omap-2.6.22 and I made few changes manually where ever
hunks failed.

Whenever i run the kernel with android rootfs(NFS) then kernel booting works
fine till mounting rootfs but nothing comes after that.
If anyone knows whats wrong then please tell me.

there is only ttyS0 file in my /dev directory. I also need to know what all
device files has to present in /dev directory


I also tried building evm-android-2.6.27 kernel with
omap3_evm_android_defconfig which i got from embinux but the result is same
as above. In this case it says "kernel panic- not able to sync with init"

-Chaitanya

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Understand Broadcast and Intent with Dalvik process

4. Changing drawing order while animating

5. need help on "--core-library"

6. Marquee Api demo

7. Cloud based apps