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)  編輯  收藏


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


          網站導航:
           
          主站蜘蛛池模板: 宿松县| 林周县| 廉江市| 阳信县| 乌鲁木齐市| 永康市| 西畴县| 科技| 农安县| 鲁山县| 云龙县| 屏东县| 溧水县| 介休市| 浑源县| 北宁市| 浦江县| 塔河县| 沙雅县| 腾冲县| 宁德市| 南汇区| 千阳县| 万盛区| 龙岩市| 华池县| 平阴县| 伊宁市| 黄石市| 沁水县| 宁阳县| 霍城县| 嘉善县| 罗平县| 社会| 兴和县| 周口市| 南岸区| 旬邑县| 策勒县| 金川县|