You Are Here:

Community: Developer Discussion Boards

#1 Old white screen after launching push registery midlet - 2009-02-17, 06:26

Join Date: Apr 2008
Posts: 25
Location: Bangalore (INDIA)
Send a message via Skype™ to mutturajb
mutturajb
Offline
Registered User
Hi all,
We developed two applications,we are successful in launching application2 from application1 using push registery.
when we press some menu option of application1,we pause application1 and start our application2 and if we press exit command of application2,control comes back to application1.

The above scenario works only once,when control comes back to application1,now if i press the same menu option of
application1 which launch application2,we get a blank white screen ....

Can any body help me to know the cause of this white screen???

Note:
1) We use midlet.pauseNotify() to pause the application1 and start the application2.
2) we are using destroyapp(true) notifyDestroyed() while returning back from application2 to application1.

Thanks,
Mutturaj
Reply With Quote

#2 Old Re: white screen after launching push registery midlet - 2009-02-17, 07:02

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Quote:
Originally Posted by mutturajb View Post
Hi all,
We developed two applications,we are successful in launching application2 from application1 using push registery.
when we press some menu option of application1,we pause application1 and start our application2 and if we press exit command of application2,control comes back to application1.

The above scenario works only once,when control comes back to application1,now if i press the same menu option of
application1 which launch application2,we get a blank white screen ....

Can any body help me to know the cause of this white screen???

Note:
1) We use midlet.pauseNotify() to pause the application1 and start the application2.
2) we are using destroyapp(true) notifyDestroyed() while returning back from application2 to application1.

Thanks,
Mutturaj
Hi,
With which device you are working...?

Is there any alert/exception shown by the device itself...if yes then what/which??

is this happening on the emulator ..too.Please try to debug the same on emulator.
On the device ..I would say a few points..

@ Check that whether the Out of memory is not coming..
@ There is no null pointer exception..
@ you have set the current displayable to the first application...
@ have you paint the canvas...


Thanks

R a j - The K e r n e l
Reply With Quote

#3 Old Re: white screen after launching push registery midlet - 2009-02-17, 11:48

Join Date: Apr 2008
Posts: 25
Location: Bangalore (INDIA)
Send a message via Skype™ to mutturajb
mutturajb
Offline
Registered User
Hi,

My problem solved,it was a thread issue.

We tried launching two differents midlets from same jar file.

Is it possible to invoke midlet from other jar???
I mean to say,first we run application1 then we download application2.jar and launch application2 midlet.
Is it possible using j2me???

thanks,
mutturaj
Reply With Quote

#4 Old Re: white screen after launching push registery midlet - 2009-02-17, 12:20

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Quote:
Originally Posted by mutturajb View Post
Hi,

My problem solved,it was a thread issue.

We tried launching two differents midlets from same jar file.

Is it possible to invoke midlet from other jar???
I mean to say,first we run application1 then we download application2.jar and launch application2 midlet.
Is it possible using j2me???

thanks,
mutturaj
Hi,
I had a bit idea of push registry,I guess you can do this with the same...


Thanks

R a j - The K e r n e l
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is my Push midlet responding to SMS only when it is closed? MobileVisuals Mobile Java Networking & Messaging & Security 1 2007-08-03 09:09
Java AppServer 'wakes up' a MIDlet using WMA, Push idrop Mobile Java Networking & Messaging & Security 9 2004-10-22 18:57
Pausing/resuming full screen midlet dubick Mobile Java General 0 2002-11-15 12:03
Launching another midlet with Class.forName rroic Mobile Java General 0 2002-06-28 10:36
Launching another midlet with Class.forName rroic Mobile Java General 0 2002-06-28 09:43

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia