BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 06-02-2008, 06:09 AM   #1
satyam
Knows Where the Search Button Is
 
Join Date: Feb 2008
Model: 7200
PIN: N/A
Carrier: Airtel
Posts: 25
Default Application running in background making Phone navigation slow

Please Login to Remove!

Hi,
when i install my aplication on device and run it by clicking it's icon application runs fine without causing any side effect like making my phone slow or navigation in menu of the phone slow.
but when i make it System Module and autorun on start up using JDE options for project properties , application runs in background as i wanted but it makes phone slow giving user idea that something is running in background.

now has anybody tried running aplication in background or on startup of device and faced such kind of problem or does anyone has idea how to deal with this problem . its very critical for my project , plz help me.
Offline  
Old 06-02-2008, 08:14 AM   #2
arunk
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Posts: 229
Default

Even I am using the same procedure for my Application.

But its working fine...

I dont think the application is slow because of that...

I experienced these kind of problem when I am writing to a log file and log file size increases...

(can be related to the available device memory)
Offline  
Old 06-03-2008, 12:29 AM   #3
satyam
Knows Where the Search Button Is
 
Join Date: Feb 2008
Model: 7200
PIN: N/A
Carrier: Airtel
Posts: 25
Default

hi ,
I have removed logger class but still its giving me same problem .
and in my case phone goes slow as soon as application starts running in background.
anu clue?my cod size is 50 kb .

Last edited by satyam; 06-03-2008 at 12:30 AM..
Offline  
Old 06-03-2008, 02:56 AM   #4
arunk
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Posts: 229
Default

Cod file size doesnt matter mine is 165kb

Autostart also will not make any problem..

Its something else.. depends on what kind of application u are developing..

While importing the classes are U using '*' (import ....api.ui.*;)

if the import only those classes which you are really using...
Offline  
Old 06-04-2008, 09:22 AM   #5
satyam
Knows Where the Search Button Is
 
Join Date: Feb 2008
Model: 7200
PIN: N/A
Carrier: Airtel
Posts: 25
Default

Hi I have removed enterEventDispatcher() for my aplication which i was using to get battery event . and also removed logger .
it working fine now.
thanx.
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


AC 80-260V 0-100A LCD Digital Display Volt Watt Power Meter Voltmeter Ammeter picture

AC 80-260V 0-100A LCD Digital Display Volt Watt Power Meter Voltmeter Ammeter

$22.50



Analog Panel AMP VOLT Current Ammeter Voltmeter Voltage Gauge 10A 50V DH-670 DC  picture

Analog Panel AMP VOLT Current Ammeter Voltmeter Voltage Gauge 10A 50V DH-670 DC

$12.99



4 in 1 AC 85-400V 100A Power Meter Digital Voltmeter Ammeter Energy Monitor picture

4 in 1 AC 85-400V 100A Power Meter Digital Voltmeter Ammeter Energy Monitor

$22.98



Voltmeter Ammeter DC 120V 500A Voltage Current Gauge RV Boat Motor Camper CAR picture

Voltmeter Ammeter DC 120V 500A Voltage Current Gauge RV Boat Motor Camper CAR

$32.50



US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-200A DC & Shunt picture

US Stock Analog Panel AMP Current Ammeter Meter Gauge DH-670 0-200A DC & Shunt

$18.91



LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter picture

LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter

$10.95







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