Foto miring @ soho

by adityo (tyo) » Sat, 29 May 2010 00:37:31 GMT

Sponsored Links
 sedih... tak bisa ikut.. >.<

On Fri, May 28, 2010 at 11:33 PM, dessy motolovers <

Dikirim melalui ketikan jari,
Ditenagai oleh matahari, bulan dan bintang.


Other Threads

1. How to make service run indefinitely even after activity that started the service exited with API call system.exit(0);

Well, it would sure help if you didn't assassinate the process the
service is running in! You do not want to call System.exit().

Now, one thing to realize about Android is that processes are killed
when not needed -- or sometimes even when needed -- and then restarted
later, re-creating the object as needed. Since Android components
(services, activities, etc.) share the same process, it's up to
Android to figure out when it's appropriate to kill the process;
that's why you should not call System.exit().;

If you'd like a service to get recreated, you'll need to start the
service using Context.startService(Intent) , as you appear to be
doing, and then in the service's onStartCommand(Intent, int, int)
method, return Service.START_STICKY, or Service.START_REDLIVER_INTENT.
Then so long as the service hasn't been stopped, if the process with
the service gets killed or crashes, it will be restarted by the

Now, you say you want to make sure the service runs indefinitely. I
hope you don't mean that too literally -- as in keeping the CPU
running. Your service should only actually run in response to specific
events. These can include timer events, but you want to keep any
activity to a minimum.

In fact, you'd like to have the service stop, and the process be
allowed to be deleted, if there's a way. If there's a broadcast intent
that you can listen for, you can set up a broadcast receiver, and
start your service from that, and then when the work is done, have the
service stop itself. This will reduce how much impact your service has
on the system and make your application a lot more friendly.

Unfortunately, that's not always an option.


2. Aplikasi GPS untuk Hero

Para master dan Suhu sekalian.....
Apa ada aplikasi navigasi GPS untuk HTC Hero???

Klop pakai garmin ada ngga ya di market android???

"Indonesian Android Community [id-android]" 

3. How battery architecture works in Android including device layer

4. Neorom 2.1 - ada kutu : link email

5. Cannot cast from Bitmap to byte[]

6. How to make a ProgressBar in the Notification just like the google market

7. WTGive matrix unlimited