BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 04-07-2005, 04:59 AM   #1
mmkl
Knows Where the Search Button Is
 
Join Date: Apr 2005
Posts: 17
Question running a background-application - someone knows how?

Please Login to Remove!

hi,
i have to code an application for bb-handhelds.
once startet, it should create an background listner-thread, that waits for incomming data.
when data arrives, the thread caches the data.
when the user enters the application again and presses a show-button, then the cached data should be presented.

so, my questions:
1) how is it possible to set an application into background?

2) is it possible to read the bb-handheld browser-cache within an application (not with the browser)?

thx for your answers
mmkl

Last edited by mmkl; 04-08-2005 at 02:17 AM..
Offline  
Old 04-12-2005, 08:54 PM   #2
yzoer
New Member
 
Join Date: Aug 2004
Posts: 8
Default

Hi There!

In regards to your first question, go to projects->properties and check 'run on startup' ( or similar, can't remember the exact thing off the top of my head ). Create your listening thread and it should all work nicely

I don't know about the second part of your question, but I take it you should be able to access it... Let us know if you find out!

-Yvo
Offline  
Old 04-12-2005, 08:57 PM   #3
arconsulting
Thumbs Must Hurt
 
Join Date: Aug 2004
Location: Metro NYC
Posts: 175
Default

>> 1) how is it possible to set an application into background?

Yes. Call app.requestBackground().


>> 2) is it possible to read the bb-handheld browser-cache within an
>> application (not with the browser)?

I don't think so. However, why not have the server just push to your own port?
__________________
-- Aric Rosenbaum
BlackBerry consulting, BlackBerry development
www.arconsultinginc.com
BlackBerry consulting and development (RIM SI Partner)
Offline  
Old 04-21-2005, 09:38 AM   #4
mmkl
Knows Where the Search Button Is
 
Join Date: Apr 2005
Posts: 17
Default

thx for your replys...
i finally uses a standard mds-browser-channel push instead developing a new midlet, but it seems, that i have problem that possibly forces me to develop a midlet anyway :(
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


KOGANEI  M062-4E2 Solenoid Valve 100V AC 0-0.9 MPa Sub-base mounting M0624E2 picture

KOGANEI M062-4E2 Solenoid Valve 100V AC 0-0.9 MPa Sub-base mounting M0624E2

$125.00



1pcs New CKD Solenoid Valve 4KB240-08-L-AC110V picture

1pcs New CKD Solenoid Valve 4KB240-08-L-AC110V

$167.00



SMC Valve Manifold Bank w/ (7) Solenoid Valves VSR8-4-FG-S-3VZR picture

SMC Valve Manifold Bank w/ (7) Solenoid Valves VSR8-4-FG-S-3VZR

$200.00



Solenoid, picture

Solenoid,

$28.00



SA-3786-12 603350 Fuel Shutoff Solenoid Kubota Compatible 721D2 21HP Grasshopper picture

SA-3786-12 603350 Fuel Shutoff Solenoid Kubota Compatible 721D2 21HP Grasshopper

$30.24



1/2 in 12V DC Brass Electric Solenoid Valve NPT Gas Water Air Normally Closed US picture

1/2 in 12V DC Brass Electric Solenoid Valve NPT Gas Water Air Normally Closed US

$23.11







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.