The lifecycle is that onCreate() is called first thing when the service is
being created in the process, for whatever reason. onStart() is called for
each startService() call.
On Wed, Nov 25, 2009 at 10:41 AM, jotobjects wrote:
>
>
> On Nov 25, 5:25 am, "saify.zeenwala" wrote:
>
> > put ur cod
On Nov 25, 5:25 am, "saify.zeenwala" wrote:
> put ur code in onstart() instead of oncreate()
> becuase ur on create will get call only once through out the life cycle of
> service.
>
onStart() is never called if the service is started with bindService
().
Not clear from docs if onCreate() or o
Problem Solved. It was the SDK version problem. Thanks all.
On Nov 25, 4:15 pm, Wei Jian wrote:
> Hi all, thx for the reply. i'm trying the localService and the
> LocalServiceController sample code now.
> As in the sample code LocalService, i get this log
> "LocalServiceController]ActivityManager
Hi all, thx for the reply. i'm trying the localService and the
LocalServiceController sample code now.
As in the sample code LocalService, i get this log
"LocalServiceController]ActivityManager: java.lang.SecurityException:
Permission Denial: starting Intent { flg=0x1000
cmp=com.example.android
You can do that easily with NotificationManager
--
Pierre
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-develo
5 matches
Mail list logo