[导入]OpenBaseMovil Nokia s60, 6670,e71,e61问题?

[导入]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推荐
  • 中科院软件、计算机工程硕士;中港软件硕士、管理类硕士博士招生
  • WebSphere 产品家族新特性系列经典推荐




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

你可能感兴趣的:([导入]OpenBaseMovil Nokia s60, 6670,e71,e61问题?)