jalandar wrote:
> Hello
> 
> I am trying to create object of FileTransferManager manager = new
> FileTransferManager(this.connection);
> 
> it is giving error, the same error gives for , OutgoingFileTransfer
> otransfer = manager.createOutgoingFileTransfer("ni...@pc3/Smack");
> 
> 
> I am testing demo app IM for android, smack library and openfire server
> (FileTransfer settings are enabled in open fire).
> 
> When I launch an application and when click on sendFile button the
> appl requires to force close, activity dead.
> 
> is there any permissions requires for transferring the file, if what
> is the error.
> 
> What is solution for this.

Look at your error log, via adb logcat, DDMS, or Eclipse, and see what
the error is.

If you see something akin to "Socket Exception -1", be sure to add the
INTERNET permission to your AndroidManifest.xml file.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

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

Reply via email to