Android Tutorial Android SMB / CIFS tutorial

peternmb

Well-Known Member
Licensed User
Longtime User
If you are using Windows 7 you may want to allow access without an existing Windows account:

Go to Advanced Sharing Settings and choose Turn off password protection.

Know anybody a way to do this with registry-settings or a script?
 

walterf25

Expert
Licensed User
Longtime User
File Size Limit

Hello Erel, do you know if there's a limit as far as a file size to Upload or Download, the reason i ask is because i tried to upload a video file around 46mB from my sd card to my pc and i can see the file icon in my computer directory but it doesn't seem to upload it fully.

Thanks any hints will be greatly appreciated!
 

jake

Member
Licensed User
Longtime User
Should I be able to use an AVD device and SMB to get to files on my laptop? I'm having some troubles connecting. Am getting an unknown host exception.
 

entolium

Member
Licensed User
Longtime User
I'm using this library (is great). For my application, the raise event when list files "is a problem". I would like to change "raise event" with the entries to "return" entries, but the creating libraries tutorial is another world for me. Any idea?

Thank you and sorry for my very bad english.
 

entolium

Member
Licensed User
Longtime User
Thank you Erel,

I can wait to network communication. I will try to change the SMB.jar code, it's my only way out. Any help will be appreciated .
 

entolium

Member
Licensed User
Longtime User
I compiled de SMB source with eclipse without change the code, but when I use it in B4A, the application is stopped in the device .
My computer (and java 7) is 64 bit. Is this a problem?
If I use the original SMB.jar, the application works fine.
 

entolium

Member
Licensed User
Longtime User
Good news!! Its working!!!
I checked "Add directory entries" in export menu in eclipse and now works fine.

- ListFiles return a SMBFile array
- Delete, Copy, Rename and MakeDir returns true or false
- FreeDiskSpace return the size

Now, I can continue with my application. I'm happy!!!!!
 

FBernard

New Member
Hi, I'm new here. I registered because I wanted to try this library. Do I have to buy a license to be able to actually download it ?
 

gudino jose luis

Active Member
Licensed User
Longtime User
hi Erel
I have a problem with the SMB function, I have an application that uses this function you first use it with XP without problems, then with W7 and it worked perfect, but now does not work correctly with W8, the network is properly configured to share files, and have all the privileges of the user.
any suggestions?
regards
 

gudino jose luis

Active Member
Licensed User
Longtime User
I am showing the contents of a folder with a jpg file. in xp and w7 shown correctly.
simply does not display the contents of the folder but not gives an error

one question; I should do with jcifs.jar library, and where should I include
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…