How do I enable BPG decoding in ownCloud? - owncloud

ownCloud does not display BPG images by default, offering to download them instead.
How do I add BPG support to ownCloud using the decoding JavaScript?

The slideshow component of the Files app is actually contained in a 3rd party app and it needs to support the format for you to be able to view those files.
Gallery has an issue to track the implementation of the format
https://github.com/owncloud/galleryplus/issues/185
You won't be able to see thumbnails in the Files app, but you'll be able to view those files when clicking on them.

Related

What is the difference between image_picker plugin and the file_picker plugin

can someone please explain the difference in these plugins and what are the advantages of using each and whether they do the same work or maybe they each do a completely different task
Short Answer: Always use image picker if you want to get images from the user. Otherwise, use file_picker.
Long Answer:
Both image picker and file picker open another app that returns an image/file that the user picked.
The advantage of image_picker over file picker is that the user gets to use their installed gallery app to pick images. This is a familiar environment to the user and is generally a lot easier to use than the generally more unfamiliar file explorer on android.
The disadvantage on the other hand is that it only works for images.
So, always use image picker if you want to get images from the user. Otherwise, use file_picker.
There is a main difference on iOS devices, file picker will redirect you to the files app, while image picker will redirect you to the gallery.
In iOS, and unlike android, Images and files exist in two completely different places, so depending on what you want to fetch you need to use the right package

[Flutter]How to download video to app, and make it accessible only through the app (Similarly to Youtube/Netflix)

i'm fairly new to Flutter and is currently working on a course app that requires downloading the videos to the app.
The downloaded video will only be accessible through the app just like Youtube and Netflix, and will be hidden/encrypted from gallery. Would greatly appreciate if someone if someone could point me in the right direction in building this feature.
On iOS and Android your app has it's own isolated folder for storing documents. Items stored there are not intended to be accessible to the user outside of your app. This folder isn't scanned by the Gallery or accessible to other apps on the device. (However, with a little effort a user can access the files so this is not a complete solution where security is an concern. You would need to add encryption if you didn't, say, want a motivated user to copy the video file to a PC and be able to play it.)
the path_provider plugin gives your Flutter app common file locations on a device. The private app folder location is retrieved with getApplicationDocumentsDirectory()
"Download video" is a vague requirement. Most video on the internet (Netflix, Youtube) is provided via HLS or DASH for streaming, which you do download but the video is split up into many files- sometimes thousands of files for a single video. The dart:http package is likely what you're going to want to use to get/download the files (unless the video files aren't available via HTTP/HTTPS, then you'll need a different transport-specific library, like FTP, RTSP, etc.)

How to send images using "flutter_open_whatsapp" package?

I am building an app that has to be able to send text and images directly to a specific WhatsApp number using this package https://pub.dev/packages/flutter_open_whatsapp. But the plugin has not implemented for the multimedia data. What exactly am I supposed to do?

Get an image from photo library and upload it to web service by name and path

I am creating a web service based iphone application in which a certain place i need to post an image on to the web for which i want to select image from photo gallery of phone and then i need to get the name and the path of the image on textfield and then uploading of the image.
or when pressing the browse button image picker will show all the image of the iphone and by selecting image it will return its path and name by which we can upload it.
Please check the similar question first.
To fully understand the answer you should also need to read UIImagePickerController Class Reference and ASIHTTPRequest documentation
As ASIHTTPRequest library is not supported more by its author, you may use another open source solution - AFNetworking or even the Cocoa classes, described in the URL Loading System Programming Guide

iphone: coding a data compression or zipping agent?

I'm creating a simple service for uploading photographs from an iphone to a web server.
However, before the requests is sent, I want the app to compress the pictures (custom format or otherwise) in the background before sending it.
Any pointers on how I could go about doing this?
Check out the NSDataCategory posted to CocoaDev. It does exactly what you're looking to do.
http://www.cocoadev.com/index.pl?NSDataCategory
I use ziparchive to unzip content downloaded from a server. It also has functionality to create zip files on an iOS device and might be what you are looking for.
http://code.google.com/p/ziparchive/