You definitely can do what you're asking.
You haven't shown the BlackBerry_App_Descriptor.xml
file, but my guess is that it is where your problem is. For an app like yours, you probably have 2 or 3 different entry points. Many times, the normal UiApplication
is one entry point, then maybe there's a background service entry point, or possibly a separate push notifications entry point.
For each of these, you can specify properties in the BlackBerry_App_Descriptor.xml file. For your main UI application, it should have Auto-run at startup and Do not display the application on the BlackBerry home screen unchecked (not checked!). You then also need to make sure an icon file is specified in the Icon Files section. You don't actually need the rollover icon, though, although you certainly can add it.
<AlternateEntryPoint Title="MyAppName" MainMIDletName="" ArgumentsForMain="" HomeScreenPosition="0" StartupTier="7"
IsSystemModule="false" IsAutostartup="false"
hasTitleResource="false" TitleResourceBundleKey="" TitleResourceBundleName=""
TitleResourceBundleClassName="" TitleResourceBundleRelativePath="">
<Icons>
<Icon CanonicalFileName="res/img/icon.png" IsFocus="false"/>
</Icons>
<KeywordResources KeywordResourceBundleName="" KeywordResourceBundleRelativePath="" KeywordResourceBundleClassName="" KeywordResourceBundleKey=""/>
</AlternateEntryPoint>
Then, for your background service, you would have Auto-run at startup and Do not display the application on the BlackBerry home screen both checked.
<AlternateEntryPoint Title="MyBackgroundService" MainMIDletName="" ArgumentsForMain="-background" HomeScreenPosition="0" StartupTier="7"
IsSystemModule="true" IsAutostartup="true"
hasTitleResource="false" TitleResourceBundleKey="" TitleResourceBundleName=""
TitleResourceBundleClassName="" TitleResourceBundleRelativePath="">
<Icons>
<Icon CanonicalFileName="res/img/icon.png" IsFocus="false"/>
</Icons>
<KeywordResources KeywordResourceBundleName="" KeywordResourceBundleRelativePath="" KeywordResourceBundleClassName="" KeywordResourceBundleKey=""/>
</AlternateEntryPoint>
Reference
Also, see this BlackBerry reference document, and take a look at the section titled Scheduling processes to run periodically.