• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deploy a Background Application

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am interested in creating a Blackberry application that runs in the background that should start running immediately once it is installed. That is when I test it with the Simulator, when I select 'Run As Blackberry Simulator' it should start running.
What Blackberry interface/class do I need to need to implement?

Is it one of the interfaces/class from 'net.rim.device.api.system' packages? Any help would be appreciated.


Regards,
Chetan
 
author
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you want your application to run in the background, you should extend net.rim.device.api.system.Application (instead of net.rim.device.api.system.UiApplication).

Setting it to run automatically at startup is a compiler option. If you're using the RIM JDE, right click on the project in the file explorer, select "properties," and you'll find it under the application tab. I assume that in Eclipse there's a similar project configuration dialog that will help you set this. (It will set the RIM-MIDlet-Flags-1 property in the generated files.)
 
reply
    Bookmark Topic Watch Topic
  • New Topic