Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
03-30-2011 08:03 PM
In my app I have a messages section, which displays new events,service calls assigned to the agent.
I want to periodically check for new messages by querying webservice.
I am displaying this messages in a roundlist so how can I change the datasource on the fly to be able to display new messages?
03-30-2011 08:10 PM
I don't think we have the abilities to run a "service" in the background to do this. The app would need to be open, and if the app were open couldn't you just have a timer set to trigger the function that checks for updates?
03-31-2011 06:34 PM
Accept my apologies if I couldn't explain it better.
I have been checking the messages periodically but how would I reflect them in the list by changine the dataprovider.
Changing dataprovider doesn't do anything to list, I mean it doesn't refresh, so am I missing something here?
let's say the list was loaded with dataprovider dp1 while loading the app. Then new cases were assigned to the user and now these new messages have to be in the list but it doesn't update after I assign dp2 to the list.
I hope I am explaining right.
03-31-2011 07:08 PM
Its a RoundList control.
Code is some what like
then a function which check for update every 300 seconds and update the messages array and assigns update array to dataProvider of the list.
But it doesn't work and I am sure I am missing something here but don't know what.
Thanks in advance.
03-31-2011 07:40 PM
03-31-2011 07:45 PM