I read an article on the Android Process and Threads developer blog that talks about creating a new process for a specific application component. But I did not understand when a new process will be created in my application. Could you help me understand the following doubts in this regard.
Any other information is greatly appreciated.
Thanks SKU
, , , , "" ( , ). , , , ( - , !). , - , - . , , .
Android ( ), , , , " " (LMK) ( Google ). , , , , , , . , , - , , , . , , , , , , , . , , ; . , , ( , LMK), , "" (IE ). - , , .
: (, , ), , Activity .
, - . , , , , . , , .
1.) - , , . , . , . : , -, .
2.) . AsyncTask , android.
1.) In android 4.0 (and possibly 3.0, not sure though). The device does not allow you to use the HTTP agent in the main thread, as this slows down the interface. This is when threads come in handy.In addition, using functions that require a lot of CPUs, if they are executed in the user interface thread, the user interface will lag and not respond until the function completes.2.), as indicated in 1, this will actually improve the visual performance of your application;)