[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-09-24 Thread Manuel Lara Caro
Yes i've this permission

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-09-11 Thread manu

I'm having a problem with common-net 2.0 in android, when i invoke the
listFiles() method i ever get nothing, if i run the same code with SUN
JRE in get a big list of FTPFiles. Anyone can help me?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-09-11 Thread Mark Murphy

manu wrote:
 I'm having a problem with common-net 2.0 in android, when i invoke the
 listFiles() method i ever get nothing, if i run the same code with SUN
 JRE in get a big list of FTPFiles. Anyone can help me?

Do you have the INTERNET permission in your application?

Have you checked logcat for a Java exception that might have been
handled by commons-net?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android 1.5 Programming Books: http://commonsware.com/books.html

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-09-11 Thread manu

i've the INTERNET permission, i can to list directories using ssh
protocol but i can open a ftp connection, but i cannot list nothing i
ever get a empty array
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-08-05 Thread tstanly

I finally solved,
it's a eclipse problem.

On 8月5日, 下午1時55分, tstanly tsai.sta...@gmail.com wrote:
 thanks for your reply,
 but even I push the lib in the /system/framework,
 but still can't work,

 when import org.apache.commons.net.ftp.FTP;
 it still have errors?

 how can I solve

 thank you

 On 8月5日, 下午1時21分, zhao lifeng zhaolifeng...@gmail.com wrote:



  Hi tsai:
   adb remount
   best wishes

  On Wed, Aug 5, 2009 at 11:43 AM, tstanlytsai.sta...@gmail.com wrote:

   hi all,

   I want to import the org.apache.commons.net.ftp.FTP,
   but there is no libs for it,
   so I download the commons-net-2.0 lib from apache website,

   I try to push this lib into /system/framework/
   but I can't because the directory is a read-only filesystem,
   and I try to chang mode for directory, but can't work!

   is other methods can use the lib??

   thanks!- 隱藏被引用文字 -

  - 顯示被引用文字 -- 隱藏被引用文字 -

 - 顯示被引用文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-08-05 Thread Kevin Moore

I'm kind of new but I think you need to add the libs to your project and have 
it packaged into your program.
Kevin
- Original Message -
From: tstanly tsai.sta...@gmail.com
To: Android Developers android-developers@googlegroups.com
Sent: Tuesday, August 4, 2009 8:43:43 PM GMT -08:00 US/Canada Pacific
Subject: [android-developers] how to use commons-net-2.0 lib in the emulator


hi all,

I want to import the org.apache.commons.net.ftp.FTP,
but there is no libs for it,
so I download the commons-net-2.0 lib from apache website,

I try to push this lib into /system/framework/
but I can't because the directory is a read-only filesystem,
and I try to chang mode for directory, but can't work!


is other methods can use the lib??

thanks!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-08-04 Thread zhao lifeng

Hi tsai:
 adb remount
 best wishes


On Wed, Aug 5, 2009 at 11:43 AM, tstanlytsai.sta...@gmail.com wrote:

 hi all,

 I want to import the org.apache.commons.net.ftp.FTP,
 but there is no libs for it,
 so I download the commons-net-2.0 lib from apache website,

 I try to push this lib into /system/framework/
 but I can't because the directory is a read-only filesystem,
 and I try to chang mode for directory, but can't work!


 is other methods can use the lib??

 thanks!
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-08-04 Thread tstanly

thanks for your reply,
but even I push the lib in the /system/framework,
but still can't work,


when import org.apache.commons.net.ftp.FTP;
it still have errors?


how can I solve

thank you

On 8月5日, 下午1時21分, zhao lifeng zhaolifeng...@gmail.com wrote:
 Hi tsai:
  adb remount
  best wishes



 On Wed, Aug 5, 2009 at 11:43 AM, tstanlytsai.sta...@gmail.com wrote:

  hi all,

  I want to import the org.apache.commons.net.ftp.FTP,
  but there is no libs for it,
  so I download the commons-net-2.0 lib from apache website,

  I try to push this lib into /system/framework/
  but I can't because the directory is a read-only filesystem,
  and I try to chang mode for directory, but can't work!

  is other methods can use the lib??

  thanks!- 隱藏被引用文字 -

 - 顯示被引用文字 -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---