J2ME 技術的學習與實踐者

          [導入]OpenBaseMovil Nokia s60, 6670,e71,e61問題?


          網站: JavaEye  作者: iwinyeah  鏈接:http://iwinyeah.javaeye.com/blog/168522  發表時間: 2008年03月06日

          聲明:本文系JavaEye網站發布的原創博客文章,未經作者書面許可,嚴禁任何網站轉載本文,否則必將追究法律責任!

             private void doShow()
              {
                  // This delays minimze the chance that a Nokia 6670 or Nokia S60 3rd
                  // edition device (might apply to other nokias) freez when showing a
                  // view. The total delay of 600ms, with this distribution seems to
                  // make it stable on E70 and E61. The delay is only applied to Nokia
                  // phones at this moment
                  if( displayable != null )
                  {
                      final Display display = Application.getManager().getDisplay();
                      delay();
                      delay();
                      display.setCurrent( displayable );
                      if( !DeviceInfo.isNokia() && focusedItem != null )
                      {
                          delay();
                          delay();
                          display.setCurrentItem( focusedItem );
                      }
                      setCurrent( this );
                      delay();
                      delay();
                  }
              }
          
              private void delay()
              {
                  if( delay )
                  {
                      // Under some strange circumstances the Nokia 6670 crashes whitout this delay
                      try
                      {
                          Thread.sleep( 100 );
                      }
                      catch( InterruptedException e )
                      {
                      }
                  }
              }
          
          


          是否的確是這樣?天啊,誰可以使用以上環境的設備給我測試一下我的手機理財JAccount呢?
          本文的討論也很精彩,瀏覽討論>>


          JavaEye推薦




          文章來源:http://iwinyeah.javaeye.com/blog/168522

          posted on 2008-03-06 07:54 iwinyeah 閱讀(113) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 杭州市| 沾化县| 从江县| 满城县| 桃园县| 宜城市| 香港 | 九台市| 陕西省| 丹东市| 沈丘县| 伊宁县| 济南市| 英德市| 咸丰县| 张掖市| 临夏县| 石嘴山市| 霸州市| 新竹县| 区。| 巩留县| 华蓥市| 延津县| 南昌市| 秦皇岛市| 宜兰县| 桐柏县| 马边| 永安市| 祥云县| 寻乌县| 八宿县| 浦县| 庄浪县| 扶绥县| 改则县| 信阳市| 古蔺县| 麟游县| 永靖县|