直接在UI线程中开启子线程来更新TextView显示的内容,运行程序我们会发现,如下错 误:android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hiera...
                            
                            
                                分类:
移动开发   时间:
2014-11-16 10:30:15   
                                阅读次数:
291
                             
                    
                        
                            
                            
                                一、通过ID查找控件1 Activity act=solo.getCurrentActivity();2 3 int id=act.getResources().getIdentifier("id名称","id", act.getPackageName());//id名称通过界面查看器hiera.....
                            
                            
                                分类:
其他好文   时间:
2014-11-05 18:47:14   
                                阅读次数:
388
                             
                    
                        
                            
                            
                                主页: http://asuite.sourceforge.net下载: http://sourceforge.net/projects/asuite/ASuite is a lightweight program launcher that allows you to define a hiera...
                            
                            
                         
                    
                        
                            
                            
                                直接在UI线程中开启子线程来更新TextView显示的内容,运行程序我们会发现,如下错 误:android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hiera...
                            
                            
                                分类:
移动开发   时间:
2014-06-18 15:04:26   
                                阅读次数:
226