Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6998743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:27:00+00:00 2026-05-27T20:27:00+00:00

is it possible to fire up an event at a specified time interval in

  • 0

is it possible to fire up an event at a specified time interval in BlackBerry? I’m looking for something similar to AlarmManager class in Android (if anyone is familiar with it).

The goal is to is to run some code, even when the application is not in foreground and without it gaining foreground “focus”. Preferably it should be possible to fire the event even if the app was killed by system or by phone reboot (I do not know the details about killing apps at this OS, I’m beginning development now).

I would prefer not to write a background process for this task as it is going to be fired every few hours (I think it would be a waste of battery to use a background task for a simple alarm-like event).

I’ve looked around a lot, but I cannot find any satisfying solution.

cheers,

kajman

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:27:01+00:00Added an answer on May 27, 2026 at 8:27 pm

    The Timer and TimerTask classes are useful for running a task on a schedule. Take a look at the APIs here:

    http://www.blackberry.com/developers/docs/7.0.0api/java/util/Timer.html

    The Timer will create its own Thread and sleep until it has a task to run. It would involve having a background task running but it wouldn’t be using an CPU or battery if it is just waiting.

    If you don’t want a Thread running all of the time you can use the ApplicationManager class to schedule your application to start later.

    You can also configure your app to run on start up. The OS generally won’t kill your apps unless you have a coding error. RIM refers to this as the Always-On Experience in their Super App document:

    http://docs.blackberry.com/en/developers/deliverables/23567/Always_on_1380986_11.jsp#Keeping_the_app_running_1381022_11

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It is not possible to fire an event in C# that has no handlers
Hi is it possible to fire pageindex changing event of a gridview with in
Is it possible to fire an event when the innerHTML of a <div> changes?
Is there any possible way to fire event to the Webview before he is
I would like to know if it is possible to fire an event after
Possible Duplicate: In JavaScript can I make a “click” event fire programmatically for a
I need to fire off an event, as early as possible in the dispatch
Is it possible with javascript (jQuery solutions are fine too) to fire an event/call
Is it possible to fire a specific JavaScript event when a certain DIV comes
On iPhone 3G, is it possible to fire onmouseover event on safari

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.