1

I am working on nokia sdk2.0 using lwuit1.5.i have used pushregistry in my app.it is working properly.An alarm open on specific time as i set and aap open on view click.Now i want to use the pushregistry as dailiy alarm .so please suggest me is it possible and there is another way to use daily alarm and my app open .

Sandhu Santhakumar
  • 1,678
  • 1
  • 13
  • 24
Rajput V.K
  • 63
  • 1
  • 6

1 Answers1

0

Ok, if you only have the option to use PushRegistry you should keep in mind that you will have to set the time again in a manual way. This happens because PushRegistry need to set the long date everytime that you want it to set it.

When you put a new long date in the PushRegistry it override the last date that you have put in it.

In my opinion it will be very hard to set a daily alarm using PushRegistry. I have to do it in one of my apps and finally I set all the alarms using Event in the calendar of the device. Take a look on it, I think that it will fit your needs better.

Mun0n
  • 4,438
  • 4
  • 28
  • 46
  • can we complete this process in background ? and when we register the pushregistry it open a permission so how it will happen .how we can register the push registry in background – Rajput V.K Nov 25 '13 at 12:07
  • Yes, but you will need a running thread to do this...and this thread will be thrown from your MIDlet. If the user doesn't open your app the PushRegistry will not be launched...you know? – Mun0n Nov 25 '13 at 12:11