[android-developers] Re: TextView Under Growing ListView

2008-12-28 Thread tonyant
try this one http://schemas.android.com/apk/res/android"; android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#00"> On Dec 29, 12:12 pm, Moto wrote: > Hi, I'm currently trying to display a TextView on

[android-developers] Re: question of apache commons ftp

2008-12-25 Thread tonyant
)); ftpClient.enterLocalPassiveMode(); ftpClient.storeFile("test.txt", buffIn); buffIn.close(); ftpClient.logout(); ftpClient.disconnect(); On Dec 24, 2:07 p

[android-developers] Re: nsftools

2008-12-23 Thread tonyant
Hi, I also work on the ftp uploading, and Use Jakarta commons FTP. but I always meet exception the code is: FTPClient ftpClient = new FTPClient(); ftpClient.connect(InetAddress.getByName(server)); ftpClient.login(user, password); Log.d("FTP",ftpClient.getReplyString()); ftpClient.changeWorkingDir

[android-developers] question of apache commons ftp

2008-12-23 Thread tonyant
Hi ,all when I run those code, FTPClient ftpClient = new FTPClient(); ftpClient.connect(InetAddress.getByName(server)); ftpClient.login(username, password); Log.d("FTP",ftpClient.getReplyString()); ftpClient.changeWorkingDirectory(serverRoad); ftpClien

[android-developers] Re: nsftools

2008-12-23 Thread tonyant
Hi, when I use Jakarta CommonsFTP, In the code ftpClient.listFiles("files") or ftpClient.storeFile(); get the error: org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication. Did you meet such thing? On Nov 3, 9:01 am, petunio wrote: > Hi Ever

[android-developers] execute ping from RunTime exec

2008-12-17 Thread tonyant
In those code, StringBuffer echo = new StringBuffer(); Process process = runtime.exec("ping -c 4 127.0.0.1"); InputStreamReader reader = new InputStreamReader(process.getInputStream ()); BufferedReader bufferedReader = new BufferedReader(reader); String line = ""; while ((line = bufferedReader.rea