摘要:        
一,使用FileWriter和FileReader读写文件import java.io.*; public class JavaApplication2 { /** * @param args the command line arguments */ public static void main(String[] args) throws FileNotFoundException, IOException { FileWriter fw = new FileWriter("test.txt"); fw.write(...    阅读全文
        
            posted @ 2012-03-26 17:17
MXi4oyu
阅读(232)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
错误一:the application has stopped unexpectedly解释:应用程序意外停止解决方案:1)首先检查java文件逻辑问题,比如强制类型转化出错 privateImageButton button; button =(Button)findViewById(R.id.button); 还有其他类型错误,此处不一一举证 2)我第一反应是xml文件配置错误 检查layout文件夹和values文件下的xml文件看是否有语法错误 这里有一个...    阅读全文
        
            posted @ 2012-03-26 14:46
MXi4oyu
阅读(133)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
前提:使用可以联网的模拟器或者手机调试一,更改xml文件<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_pa    阅读全文
        
            posted @ 2012-03-26 14:43
MXi4oyu
阅读(376)
评论(0)
推荐(0)
        
        
 
                    
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号