Service Process Vs background process

by Sivaprakash » Thu, 17 Feb 2011 19:08:13 GMT


Sponsored Links
 Can some one tell how exactly *service process* and *background
process*Service differs - Process Life Cycle Stand point? Because both
of them are
the to serve same purpose?


-- 
- Prakash.

-- 



Re: Service Process Vs background process

by Marcin Orlowski » Thu, 17 Feb 2011 19:10:51 GMT


 


What exactly you mean by "background process" if you mean something different
than service?

-- 
Regards,
Marcin

-- 


Sponsored Links


Re: Service Process Vs background process

by A N K ! T » Thu, 17 Feb 2011 19:16:27 GMT


 i think it is same as in android background processes is know as service...
may be i couldn't get ur question...

On Thu, Feb 17, 2011 at 4:40 PM, Marcin Orlowski







-- 

 A N K ! T......

-- 



Re: Service Process Vs background process

by Sivaprakash » Thu, 17 Feb 2011 21:11:37 GMT


 OK if you go through the following link

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

Processes and lifecycles sectionthere are two things Service Process and
Background Process, how they differ each other?

- Siva









-- 
- Prakash.

-- 



Re: Service Process Vs background process

by Marcin Orlowski » Thu, 17 Feb 2011 21:30:38 GMT


 



Background process is not a system element/feature you can use (as
Service is). It's a *state* of process (same as "foreground process"
or "visible process"). If you want to run your code in background use
Service.

-- 
Regards,
Marcin

-- 



Re: Service Process Vs background process

by blcooley » Fri, 18 Feb 2011 04:32:50 GMT


 On Feb 17, 7:11am, Sivaprakash <sivaprakashshanmu...@gmail.com>



The process descriptions at the bottom of that link are letting you
know the order in which the OS will reclaim resources.

Here's my rudimentary understanding:

"background process" is something that is not currently visible or
actively processing, the canonical example being an Activity whose
onStop() has been called. Such processes can be killed by the OS when
it needs to reclaim resources.

"service process" is something that is not visible, but is currently
processing and affecting the user experience. Think of playing music
or monitoring location, for example.

A Service (i.e. instantiation of the class Service) can and will be
classified as all of those processes during its lifetime. Part of the
confusion is that a service isn't necessarily running in a separate
process from the Activity that instantiates it and launches it.

-- 



Other Threads

1. [WTShare] LG Optimus 2X, official CyanogenMod support

maap kalo beritanya basi, hehe, barusan liat
http://download.cyanogenmod.com/, trus nemu ada 2 device baru yg di-support,
P990 sama P999.. abis googling, ternyata itu codename-nya LG Optimus 2X sama
en T-Mobile G2X.. :D

untuk kedua device itu, udah ada nightly-build-nya.. masih versi 0.. :P

-- 
"

2. is a privacy mode possible with android?

with all the commotion around privacy around phones which have any
proprietary software / drivers inside:

1. what would it take to make the following privacy features available
on android? [questions 1a, 1b, 1c]
2. which of the current hardware models could support these privacy
features? [question 2a]

here is what's needed to provide privacy beyond the security model
already provided by linux:

for offline privacy:
 1a: ultimately a [LUKS] encrypted root filesystem (/boot would, of
course, have to stay unencrypted)

for online privacy:
 1b: be able to selectively turn off cell phone transmission antenna
(receiver must stay on even when xmit is off)
    ( possibly also be able to turn off Wifi and Bluetooth
transmission antennas )
 1c/2a: this one might be a tricky one (does that exist any HW which
could support this?) : filter the packets which are leaving through
cell-phone antenna (like filtering GSM packets in Europe)


 - what other control features would provide for grassroots privacy?

another question is - how to make sure that none of the proprietary
drivers are collecting (and possibly transmitting when triggered) any
private / personal data from the system? Has anyone at google ever
seen the sources for the binary-only drivers, especially drivers that
drive the cell-phone packet transmission?

BBTD

-- 

3. ADA YANG MAU 500 RIBU??? <= MOHON BANTUAN UNTUK JADI PENENGAH ANTARA SAYA DAN BRO DIMAS.Fwd: ASK : signal motorola xt720 sering hilang

4. Need help with <include>

5. In-app Billing

6. query() + where + 2 content providers. Possible?

7. mohon bantuan: Inject AHA di Droid2 - posisi Medan