Jump to content


Photo

how can I make alert message for particular time?


  • Please log in to reply
3 replies to this topic

#1 patelnaitik30

  • Senior Member
  • 43 posts

0
Neutral

Posted 24 December 2013 - 12:59

hello ever one

 

I am developing plugin for dreambox

 

I want to display the alert message for particular time.

 

after that message should be close.

 

is it possible if yes then how?

 

 



Re: how can I make alert message for particular time? #2 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 24 December 2013 - 13:09

Start plugin at startup. Use a timer to start a procedure every x minutes. The procedure checks system time and shows a message box if the particular time is reached.
So should be possible with not much effort, if you know python.
Here is a little guide
http://neverland.dig...in Tutorial.pdf
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: how can I make alert message for particular time? #3 patelnaitik30

  • Senior Member
  • 43 posts

0
Neutral

Posted 24 December 2013 - 14:28

thanks for reply.

 

I want to do like this.

mes=MessageBox(session,"update the system!!",MessageBox.TYPE_INFO)
plugin_Details.updatePlugin()
while not plugin_Details.update:
    pass
mes.cancel()

I want to display this mes box up till updateplugin function complete his work.

how can i do that?



Re: how can I make alert message for particular time? #4 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 24 December 2013 - 14:43

I'm not the best plugin builder, but I think that it won't work with a message box. A message box can be closed by the user. So you shouldn't use a message box. Only display a screen which you close when update has finished.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users