Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Developer
UserNeo
Posts: 48
Registered: 10-23-2008
Accepted Solution

Autorun for a Widget?

Hi, i have a question, can i a widget put in a autorun mode? cu UserNeo
Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,506
Registered: 10-16-2008
My Carrier: Rogers

Re: Autorun for a Widget?

Not yet... but it is something that is on the roadmap.  I'm sure the follow up question is "when" :smileyhappy:

 

I don't quite have the answer for that as we are still working through the scheduling for some of this new added functionality.

Tim Neil - Application Platform & Tools Product Management, Research In Motion
Follow me on Twitter
Please use plain text.
New Developer
UserNeo
Posts: 48
Registered: 10-23-2008

Re: Autorun for a Widget?

Thanks for the information. Can I see the roadmap somewhere? Then I see something through to the final still to come :smileyhappy: .
Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,506
Registered: 10-16-2008
My Carrier: Rogers

Re: Autorun for a Widget?

Well I don't have a full road map that I can share with timing as these things are quite fluid.  But just know that the end goal is that you can build the exact same applications as you can in Java (probably minus Open GL ES) :smileyhappy:

 

We are striving to have on-par functionality between both the Web and Java platform.

Tim Neil - Application Platform & Tools Product Management, Research In Motion
Follow me on Twitter
Please use plain text.
Developer
miamon
Posts: 112
Registered: 08-17-2008

Re: Autorun for a Widget?

[ Edited ]

i see that now it's poosible to Run Automatic on install and device statup

 

Thanks

Josep Maria
Please use plain text.
Developer
mazab
Posts: 18
Registered: 01-26-2010
My Carrier: software developer

Re: Autorun for a Widget?

Hi

 

 


 

Please use plain text.
Developer
miamon
Posts: 112
Registered: 08-17-2008

Re: Autorun for a Widget?

on config.xml

 

 

<content src="index.htm">
    <rim:background src="index.htm" runOnStartup="true" />
</content>

 

In visual studio 2008 you have a check for do this

 

Josep Maria
Please use plain text.
Developer
agungeddy
Posts: 164
Registered: 08-26-2010

Re: Autorun for a Widget?

[ Edited ]

Hi Mr Miamon,

 

I have tried it since i knew about it,

but sadly for me, along i tried it, it doesn't work.. :smileysad:

both in simulator or even in real device :smileysad:

 

or does anybody have any idea about the simple blackberry widget application just to simple test to make sure that the "runonstartup" element is really working???

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,506
Registered: 10-16-2008
My Carrier: Rogers

Re: Autorun for a Widget?

Simple test is the following:

 

- Load your application onto the simulator

- In the onload of your background page do a setTimeout to call a function in X seconds

- In your timeout function change the homescreen icon or homescreen text

- Or write a file to the SD card, or do an AJAX call to your web server

 

 

Tim Neil - Application Platform & Tools Product Management, Research In Motion
Follow me on Twitter
Please use plain text.