BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Closed Thread
 
LinkBack Thread Tools
  (#1 (permalink)) Old
donricouga Offline
Thumbs Must Hurt
 
Posts: 58
Join Date: Jul 2006
Location: Atlanta
Model: 8703e
Carrier: Sprint
Default MIDlet as background app - 08-07-2006, 10:50 AM

Ive created a midlet UI application and a background service by extending the Application Class. What I'd like to do is package them both into the same jar so as they both can share the same resources and also, they both access the same recordStores. I know with multiple midlets you can create a midlet suite.
SO my question : Is there a way to make a midlet (NON-UI) Run as a listening thread in the background listening to pushes ? If not, how can i make a midlet and the RIM API specific application be packaged together ?

Thanks
   
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
donricouga Offline
Thumbs Must Hurt
 
Posts: 58
Join Date: Jul 2006
Location: Atlanta
Model: 8703e
Carrier: Sprint
Default 08-08-2006, 12:16 PM

Forget the post above. My situation right now is currently the following.

App 1 : net.rim.device.api.system.Application which runs transparently in the background creates record stores whenever it gets push data by doing the following

RecordStore.openRecordStore("StoreName",true, RecordStore.AUTHMODE_ANY, true);

App2 : A GUI Midlet that should be able to read the record store created by App1 but the problem is that it does not find that RecordStore. What exactly am I doing wrong ???

Oh and until all else fails, i do want to avoid using the Blackberry persistence api because of the need to sign my files.
   
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On






Copyright © 2004-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1