bjfhs Active Member Licensed User Longtime User Jun 11, 2019 #1 How can I use absolute path with B4J? For example: B4X: m.Initialize("m","D:/t.mp4") I get error:java.lang.UnsupportedOperationException: Unsupported protocol "d" Last edited: Jun 12, 2019
How can I use absolute path with B4J? For example: B4X: m.Initialize("m","D:/t.mp4") I get error:java.lang.UnsupportedOperationException: Unsupported protocol "d"
bjfhs Active Member Licensed User Longtime User Jun 12, 2019 #5 OliverA said: Try file:///d:/t.mp4 Click to expand... Yes,you are right. Thank you very much. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 12, 2019 #6 You should use File.GetUri. You can leave one of the parameters (dir or filename) empty. Upvote 0
bjfhs Active Member Licensed User Longtime User Jun 12, 2019 #7 Erel said: You should use File.GetUri. You can leave one of the parameters (dir or filename) empty. Click to expand... Now I can use not only "file:///" but also File.GetUri. Upvote 0
Erel said: You should use File.GetUri. You can leave one of the parameters (dir or filename) empty. Click to expand... Now I can use not only "file:///" but also File.GetUri.