J junaidahmed Well-Known Member Licensed User Longtime User Mar 15, 2012 #1 As I know the how to open file from sdcad using intent.but i would like to know how to open file from remote server ? Pls advise
As I know the how to open file from sdcad using intent.but i would like to know how to open file from remote server ? Pls advise
Erel B4X founder Staff member Licensed User Longtime User Mar 16, 2012 #2 If the third party app supports it then you can pass the Url of the file. Upvote 0
J junaidahmed Well-Known Member Licensed User Longtime User Mar 16, 2012 #3 Can I Pass url as Dim i As Intent i.Initialize(i.ACTION_VIEW,"file:///202.89.64.70/Myweb/DailyProd.pdf") i.SetType("application/pdf") StartActivity(i) the above ip is our server static ip. Upvote 0
Can I Pass url as Dim i As Intent i.Initialize(i.ACTION_VIEW,"file:///202.89.64.70/Myweb/DailyProd.pdf") i.SetType("application/pdf") StartActivity(i) the above ip is our server static ip.
J junaidahmed Well-Known Member Licensed User Longtime User Mar 17, 2012 #4 can anybody help for the above issue,it's very most important for me. Upvote 0
NJDude Expert Licensed User Longtime User Mar 17, 2012 #5 To do what you're asking you need to have something like SMB (SAMBA), Android doesn't natively support it, or, you save your files on a webserver, or FTP. Upvote 0
To do what you're asking you need to have something like SMB (SAMBA), Android doesn't natively support it, or, you save your files on a webserver, or FTP.
thedesolatesoul Expert Licensed User Longtime User Mar 17, 2012 #6 What protocol does the remote server operate on? If it is FTP or HTTP then you are better off downloading the file first, then kicking off the intent. If it is SAMBA then it will be harder, as we do not yet have a SAMBA library. Upvote 0
What protocol does the remote server operate on? If it is FTP or HTTP then you are better off downloading the file first, then kicking off the intent. If it is SAMBA then it will be harder, as we do not yet have a SAMBA library.
J junaidahmed Well-Known Member Licensed User Longtime User Mar 19, 2012 #7 Can I open file from Dropbox through code ? Upvote 0