Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Super Contributor
Achin
Posts: 425
Registered: ‎01-02-2013
My Device: BOLD 9900
Accepted Solution

local notification based on time selected by the user and shoe msg

in my app, i want add feature like-for eg- i have datepicker and when i select any time from datepicker ,that will fetch data from webservice and update my app to that selected time every day if connected to internet,and show msg to user that app has been updated, can any body provide me some kind of example.

Please use plain text.
Developer
simon_hain
Posts: 16,201
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: local notification based on time selected by the user and shoe msg

break your requirements down into single parts, and look for samples for that, like "call a webservice".
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Super Contributor
Achin
Posts: 425
Registered: ‎01-02-2013
My Device: BOLD 9900

Re: local notification based on time selected by the user and shoe msg

actually, i'm working on OS 5,can anybody provide me a sample for local notification based on time selected by the user.to update our app.
Please use plain text.
Developer
simon_hain
Posts: 16,201
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: local notification based on time selected by the user and shoe msg

samples are done for simple, single purpose things, while applications are usually more complicated.
what you are asking for is an application, not a sample.

as i said, break down your requirements to single tasks, and you can most likely find samples or code snippets for many of them.

if you have any specific issues left over don't hesitate to ask here again.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Super Contributor
Achin
Posts: 425
Registered: ‎01-02-2013
My Device: BOLD 9900

Re: local notification based on time selected by the user and shoe msg

as i said that my app will update on the time selected by the user (in my first question). i have one confusion is that after update how should i notify to the user that app will be updated.the app will update from my webservice.
for example i have timepicker and i have selected 9Am tp up date the app on every day and i close the app. and tomorrow at 9Am, means when the time matches with the time selcted by the user the app will update and how would i notify the user that your app has been update.

Please use plain text.
Developer
peter_strange
Posts: 19,608
Registered: ‎07-14-2008
My Device: Not Specified

Re: local notification based on time selected by the user and shoe msg

How do you want to notify the user?

 

You could do a number of things including:

a) Display a Dialog

b) Send a Notification

c) Update the icon of your app

d) Send the user an email

 

Most apps don't update themselves, so this is not a situation where there is a standard that you should follow. 

Please use plain text.
Super Contributor
Achin
Posts: 425
Registered: ‎01-02-2013
My Device: BOLD 9900

Re: local notification based on time selected by the user and shoe msg

i would say to Update the icon of my app.
Please use plain text.
Developer
simon_hain
Posts: 16,201
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: local notification based on time selected by the user and shoe msg

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/homescreen/HomeScreen.html...
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Super Contributor
Achin
Posts: 425
Registered: ‎01-02-2013
My Device: BOLD 9900

Re: local notification based on time selected by the user and shoe msg

i'm working with OS 5, i think that was for OS 6
Please use plain text.
Developer
simon_hain
Posts: 16,201
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: local notification based on time selected by the user and shoe msg

for OS 5 and lower use http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/homescreen/HomeScreen.html... with an additional icon that has the splat painted on it (manually)
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.