Access to a Windows shared file from android App

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Access to a Windows shared file from android App

Postby emaborsa » Wed Jan 09, 2013 4:25 pm

Hi,
i need to access to a shared Windows file
This is the path of the file (database):

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. \\192.168.1.xxx\hotelxp\db\2012xp.mdb
Parsed in 0.000 seconds, using GeSHi 1.0.8.4


I read on the web that android needs samba in order to be able to connect to windows shared files. When i use java.io.File i wasn't able to get the file; otherwise using jCISF library and SmbFile class i was.
Unfortunately the Jackcess library doesn't support SmbFiles...

A possible solution were to root the phone, but it woudln't be a acceptable solution.

Recently i tryied to edit the source code of Jackcess, in order to use the SmbFiles, but i wasn't able, since the library uses java.io.RandomAccessFile and i can't get it from the jCisf library

Any helps/hints?
emaborsa
Freshman
Freshman
 
Posts: 3
Joined: Thu Nov 24, 2011 2:11 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 7 guests