J2ME multi-threaded development issues

2010-04-12  来源:本站原创  分类:Mobile  人气:173 

I request the page in the development of a data function, encountered a problem.

Reference to the main thread main (
Sub-thread (). Requesting a page;

Main thread. Wait ()


Sub thread (

Construct () (


Analysis of page run () (
/ / Here, if, after the main thread wait, can not run down here. Just remove the phrase
/ / Process can continue.
http = (HttpConnection) Connector.open (url);


I request when the page is a thread to deal with. However, when the main thread with wait. connctor.open on the sub-thread execution will block what is the reason?

  • JavaScript development issues (1) 2010-06-01

    JavaScript development issues (1) Scope Var is not used in the method statement variables such as the use of global variables function testScope( ) { var testVar = " Test ";// A local variable } function test( ){ testScope( ); alert( testVar );

  • JavaScript development issues (2) 2010-06-02

    JavaScript development issues (2) JavaScript, if wrap will be automatically added; No. <script language="JavaScript" type="text/javascript"> var test = "xxxx yyy"; alert( test );// An error has occurred </script>

  • J2ME multi-threaded development issues 2010-04-12

    I request the page in the development of a data function, encountered a problem. Reference to the main thread main ( .... .... Sub-thread (). Requesting a page; Main thread. Wait () ) Sub thread ( Construct () ( ) Analysis of page run () ( / / Here,

  • MoSync: across multiple platforms android, j2me, Symbian, wm development tools. 2010-03-29

    MoSync is an open source C / C + + integrated development environment. Can simplify the development of mobile development process more difficult, and can greatly enhance the mobile application developer productivity. Its main advantages: open source,

  • PHP multi threaded web crawler 2010-07-19

    PHP using Curl Functions can transfer files to complete the various operations, such as simulation of the browser to send GET, POST request, etc., subject to php language itself does not support multi-threaded, so the development crawler efficiency i

  • J2ME using C # development KSoap call Web Service 2010-07-23

    J2ME using KSoap call C # development Web Service (1) 1. Overview For J2ME access the remote Web Service, in addition to the official standard JSR 172, we can also use kSOAP. kSOAP is an open source works Enhydra.org is EnhydraME part of the project.

  • J2me mobile game development process efficient secret tips tutorial 2010-11-27

    J2me program running due to its unique constraints, so the optimization becomes more important, the following is my collected in the study of some j2me programming skills and their own experiences. This article is j2me platform that special optimizat

  • In development issues 2011-09-29

    Summary of issues in development: On the production library, test library, developed the concept of the library. Production libraries: for software to run after the actual production data, can not be easily modified, because the modifications could h

  • DWR push technology in the development issues require attention ScriptSession 2009-07-08

    1 on ScriptSession At the same time ScriptSession not create HttpSession When we visit a page, if this is the first time to visit, it will create a new HttpSession, after the time of the visit will be to maintain the current Session, even if it is se

  • eclipse + tomcat development issues 2010-03-29

    On the eclipse in tomcat to do clean Times: resource is out of sync with the file system Reasons, the solution: This is the file system does not sync problem is because the eclipse project outside of the resource caused by modifications; however, som

  • Eclipse plugin development issues in ClassNotFoundException 2010-04-30

    1. With regard to classloader some of the tragedies Load order :parent-first With child -first Speaking of classloader, such an article would have mentioned that the "Taxonomy of class loader problems encountered when using Jakarta Commons Logging&qu

  • Struts2 + Spring + Hibernate + Json integration and development issues 2010-05-02

    Have a period of time, no update blog, because recent work is a busy time now to write about some of the problems recently encountered it. Extjs to do with a recent OA (http://www.liuhx.cn) Why use extjs to develop it? Because extjs give the user a n

  • EXT struts interceptor project development issues 2010-08-20

    Application configure the project on the development of interceptor ExtJs for session expires, click on any operations are to jump to the login page. What a write blocker, press the routine configured (the configuration details of the interceptor wou

  • WEB development issues, SVN + MyEclipse when encoding problem! 2010-09-07

    Open blog for a long time, and we have no time to write anything, really tight because of the recent comparative duration of the project, there is no time to be a project before the end of it, today concluded a number of things were used in the proje

  • J2me mobile game development in the handling of touch screen input 2010-12-23

    In the mobile game development, many models do fit, but more and more machines began to support the touch screen operation. So we have to achieve a good input of its touch-screen to allow players to have similar or even more than the keyboard-control

  • Project development issues encountered in the point 2011-03-25

    1, the first step is to develop the estimates of the development cycle. Teams uneven, different levels of staffing, "3 / Week", I grass him 3. 2, has just finished developing a project in which a few people and then to develop another project, a

  • web development issues 2010-03-22

    1. Filter priority in the application will be used a lot of filters, like the following characters in filters. <filter> <filter-name>Set Character Encoding</filter-name> <filter-class> org.springframework.web.filter.CharacterEncodi

  • C + + development issues list 2010-03-29

    1, cout ": undeclared identifier" is how is it? VS 2005 which is no iostream.h in this document, input and output streams can be used: #include<iostream> using namespace std; // I put this little ! 2, warning C4018: "<": signe

  • Virtual VPN development issues 2010-09-21

    Virtual VPN has been released for quite some time, nearly half of it. The current user is still very small; so the idea of upgrading also become weak gradually. Almost did not receive any feedback, so I do not know in the end because of bad use of, o

  • Summary Android development issues 2010-10-22

    First, the directory 1. Re-installation failed due to different application signatures. 2. Emulator: ERROR: unknown virtual device name: 'My_Android' 3. Ddms - Failed to initialize Monitor Thread: Unable to establish loopback connection 4. Installati