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
Contributor
pietomb00
Posts: 12
Registered: ‎10-10-2011
My Carrier: Vodafone

Create app that does not display a screen

Hi all,

 

I want to create an application that will just run a task once it has been selected in without actually trying to display something. Is this possible and if so how should I go about it?

 

Thanks in advance

Please use plain text.
New Contributor
nons
Posts: 4
Registered: ‎09-05-2011
My Carrier: Orange France

Re: Create app that does not display a screen

[ Edited ]

What if you don't make your Main class inherit UiApplication?

Please use plain text.
Developer
Developer
CMY
Posts: 1,119
Registered: ‎02-10-2009
My Carrier: Verizon

Re: Create app that does not display a screen

What kind of task are you trying to run. There are two ways to do this that I can think of. You can insert a menu item or inherit from application instead of UiApplication (but I'm not sure how to get the icon to display - maybe overriding acceptsForeground).
Please use plain text.