BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
arun160411 Offline
New Member
 
Posts: 5
Join Date: May 2008
Model: 7100t
PIN: N/A
Carrier: airtel
Default j2me application problem on blackberry - 05-09-2008, 01:23 AM

Hi, we developed a j2me application and is running fine on normal java enabled mobiles. and now we want to port that application to blackberry.. but when we installed this application in blackberry.. the application behaves very inconsistently.. the major problem we are facing is that when we try to run that app. in blackberry, the emulator shows that "too many threads exception" and exits. we are creating about 30 threads in application,and we wonder how blackberry is not able to handle that many threads, while the normal mobiles are able to handle them...So please do help us in this issue.
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
hithayath_sait Offline
Knows Where the Search Button Is
 
Posts: 49
Join Date: Mar 2008
Model: 8820
PIN: N/A
Carrier: Airtel
Default 05-09-2008, 01:36 AM

Hi,

How did u port the application..??

Please giv info about thread Handling in your application.

So that i can make a move.

Regards,
Hithayath.
   
Reply With Quote
  (#3 (permalink)) Old
arun160411 Offline
New Member
 
Posts: 5
Join Date: May 2008
Model: 7100t
PIN: N/A
Carrier: airtel
Default 05-09-2008, 01:44 AM

Quote:
Originally Posted by hithayath_sait View Post
Hi,

How did u port the application..??

Please giv info about thread Handling in your application.

So that i can make a move.

Regards,
Hithayath.
we are creating http connections for getting images and xml files from our server and and each http connection runs in one separate thread. after fetching the data that thread dies.this is how we are creating threads and we are using jde version 4.0.2 to build the application.. as of now our code does not use any blackberry api , we thought we could just see how it goes on blackberry before changing to the blackberry event handling mechanism.
   
Reply With Quote
  (#4 (permalink)) Old
hithayath_sait Offline
Knows Where the Search Button Is
 
Posts: 49
Join Date: Mar 2008
Model: 8820
PIN: N/A
Carrier: Airtel
Default 05-09-2008, 06:19 AM

Did u start MDS along with the simulator while running the application.?

What kind of exceptions are u getting..??
   
Reply With Quote
  (#5 (permalink)) Old
koedur Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: May 2007
Model: 8800
PIN: N/A
Carrier: Rogers
Default 05-09-2008, 12:08 PM

Quote:
Originally Posted by arun160411 View Post
Hi, we developed a j2me application and is running fine on normal java enabled mobiles. and now we want to port that application to blackberry.. but when we installed this application in blackberry.. the application behaves very inconsistently.. the major problem we are facing is that when we try to run that app. in blackberry, the emulator shows that "too many threads exception" and exits. we are creating about 30 threads in application,and we wonder how blackberry is not able to handle that many threads, while the normal mobiles are able to handle them...So please do help us in this issue.
RIM's JVM implementation only allows up to 16 threads per process. This is from DB-00474 (Livelink - Redirection)
   
Reply With Quote
  (#6 (permalink)) Old
arun160411 Offline
New Member
 
Posts: 5
Join Date: May 2008
Model: 7100t
PIN: N/A
Carrier: airtel
Default 05-10-2008, 12:09 AM

hi, now we tried with simple application also like fetching one image from website and pasting it in mobile screen.. this also producing uncaught exceptions.. im running the MDS also.running it on 4.1.0 JDE . this we tested on device with blackberry 8700 on airtel network also..but its not working.can u tell me apart from providing the blackberry services, Do airtel has to provide some more setting to access the data from net... from blackbeery browser im able to connect to any website..
   
Reply With Quote
Reply


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 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1