BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 12-05-2008, 06:08 AM   #1
abhsax1978@hotmail.com
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Unhappy Problem with autorun : Netbeans : JAD

Please Login to Remove!

I have searched the topic in your forum, and I have got an example on, how to enable autorun on the application, as well as how to display popups in such applications. I used the autorun on the UiApplication.

I used in the NetBeans app properties to edit in the JAD:

Code:
RIM-MIDlet-Flags-1: 5 
RIM-MIDlet-Position: 5
Problems I am facing:

Code:
  • The first Screen of app does not shows up, even though the app is started.
  • I open the app by myself, but now the screen minimizes (requestBackground()) but app does not terminate.
I want:
  • the screen to show up as soon as the device starts after the shut down.
  • to terminate the application (System.exit(0), or super.close() on the screen).

Please can I have the explanation for such behavior of application after the auto run? Can I have the problem solved ?

Regards
__________________
having new s for developers!!!

Last edited by abhsax1978@hotmail.com; 12-05-2008 at 06:11 AM..
Offline  
Old 12-08-2008, 12:45 AM   #2
abhsax1978@hotmail.com
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Cool autorun with the globalEventListener , one App and a UiApp

SOLUTION:
-----------
Ok, what I have done is that:
I have implemented a GlobalEventListener in my UiApplication and I have another Application which is opening in the Autorun mode.
I post an event in my Application in a TimerTask extended class using timer it executes after some time at fixed rate (scheduleAtFixedRate).
The UiApplication traps the fired event and the dialog box is displayed.
Please check the warning that the dialog box is [attempted to push to screen while] already displayed
Regards.
__________________
having new s for developers!!!
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


Original New DEC Digital DCJ11-AE 57-19400-09 Vintage CPU x 1pc picture

Original New DEC Digital DCJ11-AE 57-19400-09 Vintage CPU x 1pc

$100.00



DEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chip *NEW* 40278101  picture

DEC / AMI 304E 21-15542-01 vintage ceramic IC - KTF11 Chip *NEW* 40278101

$50.00



Vintage Journal Beautiful Garden Flower Embossed Leather-Antique Handmade Dec... picture

Vintage Journal Beautiful Garden Flower Embossed Leather-Antique Handmade Dec...

$27.91



Vintage DEC PDP11 Option Bulletin KX11-C Real-Time Clock 1981 picture

Vintage DEC PDP11 Option Bulletin KX11-C Real-Time Clock 1981

$4.95



Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16) picture

Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16)

$189.99



VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250 picture

VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250

$50.00







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