I've searched everywhere for how to download the link a torrent file is pointing to but I can't seem to find anything. The closest package I thought could help me only supports the android platform and I'm targeting macos. Currently I'm using the webfeed package to get the rss of torrents but I only have access to the torrent file itself for download. I want to download what it's pointing to. I also have the infohash but I don't know how useful that is. Is there anything I can do to the torrent file such that I can get a direct download link or something?
Related
We are using the package receive_sharing_intent in our application, but with recent update of Flutter and the package not being updated for 15 months, the feature implemented does not work well now, especially on iOS, Android is still doing fine until now.
The feature: for every kind of document (PDF, txt, xls, ...) stored in the device or attached to a mail, when you share it with the application, it should open it, process it, and store it in our database.
So we use the package here to retrieve external data and open our application, and that both on Android and iOS.
We still have not found a workaround that lasts over time for this specific case. Let me know if you find a solution while I continue my research.
Thanks in advance.
I spent a few days on this error, finally I found the exact problem I was experiencing, and the solution.
I finally got the error for the .PDF file extension, the path is incorrect. There is a function in the SwiftReceiveSharingIntentPlugin.swift file inside the Flutter package receive_sharing_intent that is supposed to remove the substring "file://" at the beginning of the file path, but for some reason I still have it in my PDF file path, so it could never be found.
To solve this problem, I use the "replaceAll" method in my Flutter code:
file!.path.replaceAll("file://", "")
I updated the title of this post to match the problem I encountered.
For a native iOS application we are integrating a C++ library which is writing some logs to disk to json file.
During debugging, we would like to access to this logs, but currently we can only do it by downloading the whole app container to the macOS machine and searching for the file there.
Since this a very time consuming operation we were hoping that there would be some solution that would allows us to get this file quickly. I did take a look to the lldb commands, but none of them seem to let you extract a file from the phone.
Is there anyway to do this in a quick way?
Thank you
Couple options...
1 - Add debug-only code in your app to share the log file (via AirDrop would probably be a good option).
or
2 - During debug, set these two keys (in project settings / info) to Yes:
Application supports iTunes file sharing
Supports opening documents in place
Once you've done that, you can open / copy files from your app's Documents directory (assuming that's where the logs are being written) from Finder on your Mac.
Hi I have a problem I can not find template.pcp file that should be in windows SDK but It is not. I need it to make a patch .msp file I am following this tutorial: MSDN tutorial . Does anyone know where could I find it?
I can't see the template.pcp file anywhere in the SDK at this point, it might have gotten removed whereas it previously kept being moved.
The free MSI SDK tool called Orca can save a PCP file - and other types of MSI-relevant files. Search Windows SDK folder for Orca-x86_en-us.msi and install. Some more info here, current paths etc... (towards bottom).
WiX can also create a PCP file via markup, as explained in this thorough tutorial: Using Patch Creation Properties. This tutorial should contain all required information to succeed without the template.pcp file (though I never use patching).
Is there a plugin Cordova that allow users to browse files, pick a file and upload it on iOS? I found only 3 plugins: File Opener 2 plugin, Cordova plugin file and File Transfer plugin but they do not meet my need.
Did anyone do that ?
iOS
Quote from Mike Harrington (Ionic Developer Advocate)
For iOS, you sadly don't have a file browser/chooser.
Not going to be possible sadly.
source
But (same source) according to a user on the same forum
Apparently there's this one, haven't tried it and sadly it's only for
iOS8 (and higher?):
FilePicker-PhoneGap-iOS-Plugin
Anyway I suppose that if you understand the physical file system
structure of iOS and you have the time then you could always build a
UI yourself using the Cordova File plugin. Don't know about iCloud and
so on though.
By the way, I tried Cordova-filechooser and it worked perfectly.
The other one seems more
complicated to set up and gave me build errors on my initial attempt,
so I went with the other one.
Android
Using the cordova-filechooser plugin in combination with the File Transfer will probably resolve your issue.
Image taken from cordova-filechooser's git repo
Use this to select your files. Use File Transfer to transfer them.
I am a newbie to blackberry app development and want to add an external file(image, doc etc) in blackberry project and after generating output file, when i install it to device my file where extracted to any location. It is possible? n how?
plz somebody help me on it.
The following article describes how to add a file as a resource to your BB project;
http://supportforums.blackberry.com/t5/Java-Development/Add-plain-text-or-binary-files-to-an-application/ta-p/445098
Copying it from there once your application is installed, is just a matter of using the FileConnection API.
The supplied SQL demo does something very like this for the SQL database, so I would look at that sample for more.