I want put big video on android app [closed] - android

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want put video on my application that I wrote it , the problem the size video is big , so what can I do?!
I can't upload the video on YouTube because I don't want anyone see the video except who download app.
any way or solution for how could I do that ?!!

The apk file has a size limit of 50 MB. I think you have a couple of options.
Put the video on your server and on launch of the app, download the video from the internet and store on the device. Some games work like that by downloading content from private servers or clouds once installed.
I am not sure if this can be used, but try creating an expansion file and upload that to the play store and let your app download from there. Expansion Files
Since you don't want non app users to see the video, consider using some DRM so that once the video is downloaded, it is not shared by the users.

Upload video to your server and display it in your application. Play your video using video url. See this answer here.

Use APK Expansions files for external files-
http://developer.android.com/google/play/expansion-files.html

Related

Downloading a video from Firebase Storage - chunk by chunk [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I'm building an app with java (for android) that one of it main goals is to show a video to the client.
Right now I'm storing all my videos in firebase storage, At the beginning I wanted to stream the video (youtube style) but unfortunately firebase storage does not support it.
I read that there is an alternative way of "faking" to stream the video by downloading the video chunk by chunk and playing it one by one, that way you don’t need to wait until the whole video is downloaded locally to the phone and only after that start playing it.
You can see what I'm talking about here -
Speeding up firebase storage download
So my question is which API/library/thing can I use to do it, and if somebody has an example code that he can show me ?
Thank you very much !
The Firebase SDK for Cloud Storage does not have any methods to stream the results.
The options I can quickly think of:
Store the video in smaller chunks, each chunk in a separate file. That way you can retrieve the files one by one, and start playing when you have the minimum number of chunks.
Set up your own server which reads from Cloud Storage (typically at a much higher bandwidth), and then sends a response to the client in smaller chunks. For more on this, also see this answer: Video Streaming from Google Cloud Storage
Neither of these is going to be trivial to implement, so you might want to consider if maybe a dedicated video streaming service isn't a better fit for your needs.
You may use Mux or Cloud Flare to stream videos
https://blog.codemagic.io/build-video-streaming-with-flutter-and-mux/
https://developers.cloudflare.com/stream/

how to upload video to Firebase on android? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I want to build an app that it can upload video from SD card to storage, but I only can upload image. Did anyone do that before or have a better approach.
You can find a pretty good answer/explanation here (and this may help as well). Note that the answer given in the first link actually sets the content type as "audio/mpeg"; if you want to upload a video file, you can refer to this list and change the MIME type accordingly.

My Android App is uploaded in another market without my permission [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 6 years ago.
Improve this question
I have uploaded an Android App on Google Play Store and with a search today i can see this: http://www.androidappsgame.com/library-quiz/el
How come that my android app is uploaded to androidappsgame.com without my permission?
Any ideas?
This may or may not help, but make sure to check that first box in your console
The app is NOT on that store. That store is an aggregate site that grabs info from Google Play and makes it searchable. And it's not a very good one at that.
For the record, all of my apps are there too. I just looked. Even my newest ones are there.
You don't need to worry about anyone taking your app from Play and making it available elsewhere. It's just not gonna happen. And even if it did, 99% of devices out there have the system secured so you can't install stuff like that anyway.

Store application data in sd card manually in encrypted form [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have 2-300 MBs of application data that is images/videos and audio files, i want to save all these data in encrypted form, and can not be seen/deleted by user while exploring sd card. Can anyone help me for doing this.
and can not be seen/deleted by user while exploring sd card
This is not possible. Users have the right to get to whatever they want on external storage, including deleting it.
Rooted device users can further get to everything on the device, including internal storage. Since there are relatively few rooted device users, you could put your files on internal storage on Android 3.0+.
You can use APK expansion file.
so it will not seen by user. user can delete that file so you have to check on application start up that this file is available or not?
More info regarding apk expansion and example

How can I play pdf, Bulider and mp3 on android [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
i would create a programm, it reads pdf, bulider and mp3 on Android.
for Examples:
it´s in paris so it shows me the important places in Paris. it´s read from pdf file and show me builder as well as hear mp3, what i save in pdf file.
it´s possible or not?
could someone helpe me please?
thanks
To save something to pdf or to read from pdf you need to use pdf libraries. iText is one such option. Do check the licencing terms.Check this sample code : http://itextpdf.com/examples/iia.php?id=12
Incase you want to read out pdf loudly(You mentioned read from pdf) you need to use TTS engine.Android provides a TTS engine.
What you mean by bulider?.. I do not have any knowledge.
To play audio, you can use synthesizeToFile()and create an audio file that contains the TTS(Text to speech) output. Then, you would use a MediaPlayer object to play, pause, and stop playing the file.Here is the link to follow:http://android-developers.blogspot.in/2009/09/introduction-to-text-to-speech-in.html

Categories

Resources