[android-developers] Re: about the number of processes in Android app

2012-06-29 Thread Kumar Rangarajan
> > On Jun 29, 10:27 am, Mark Murphy wrote: > > On Fri, Jun 29, 2012 at 12:57 PM, M wrote: > > > Is this case true that one single Android app has multiple processes > > > > Not normally. > > When I monitored the kernel system calls, the app process always forks > other processes. weird to

Re: [android-developers] Battery usage per app

2012-06-29 Thread Kumar Rangarajan
> > > It also provides hardware component level breakdown of each app. > > It is also only accurate for the Nexus One, last I checked. > That is true. Its still the same. But then as a developer (assuming u have the N1), would'nt getting power consumption details on one model still give u a f

Re: [android-developers] Android to PC communication

2012-06-29 Thread Kumar Rangarajan
I am not sure about how you would get the Wifi details, but you can use regular TCPIP socket communication to talk to the HOST, assuming you know the IP address of the HOST. You can use the Socket class and use the InputStreamReader and OutputStreamReader classes to read and write from that socket

Re: [android-developers] Battery usage per app

2012-06-29 Thread Kumar Rangarajan
Probably this is already known but you can use powertutor app (available for some devices) or build your own from powertutor.org to get details of power consumed per app. It also provides hardware component level breakdown of each app. :-) Sent from my iPad On 29-Jun-2012, at 12:53 PM, Dianne H