Upload data (pictures, videos etc.)on Heroku - android

I want to upload pictures and videos captured to Heroku server using my android app. I have searched a lot but cant find solution. Can Anyone tell me how can I do that?At least give me a startup Please help I want it to get going. I am stuck cant find anything. Using buttons in my app i want to upload different things.
Thanks!

You'll need somewhere to store these photos (like amazon s3) and a library to deliver them there from heroku (carrier wave or paper clip Gems if using ruby on rails).
That's it for the server side.

Related

What is the way to store android app resources on a server?

I'm interested in creating an android app that needs a lot of video clips.
To make the app weight not too heavy, I thought about storing the videos on a server and whenever the user wants to watch the video the app connects to the server and gets access to the video and the user can watch it (of course all this happens inside the application).
so how can i do it in android?
Thanks in advance to everyone
I do not know if you are conversant with web services, but i think the best way is to create a web service and communicate with your application. You will send a request each time a person wants to view that video and fetch it, it sometimes takes a while to load, basing on the algorithm you use, or even internet connectivity, but it is easier, especially with languages like php.
However,Your videos should be compatible with android.
This tutorial will help you see how to call videos by url.
I also admire this Website. It shows you how to perform storage and live streaming on both android and the server.

Video streaming from server to Android app

I have a server builded with Spring where users can upload images and videos.
Now I am building an Android app where users should watch these videos throught streaming, but I am little bit lost about how to handle this.
I have looking for information about how to do this, and I am not sure if I could do with a Spring REST method.
What is the best way to do this? I would appreciate any help.
Thanks in advance.

IOS/Android app uploading videos to YouTube?

I am developing an IOS/Andriod app where I want my users to be able to upload videos - these videos will later be used by the app. Since I don't want to spend a lot of money on data storage I was thinking of using YouTube as the placeholder of the videos.
Is is scenario supported by YouTube?
Are there any limitations for me to consider regarding this scenario?
Is it OK if my app uses only one YouTube account - which my app users share and use when they upload a video? Or do my app users I have to use a personal YouTube account to upload the videos?
Anything else I should think of which I might be missing here?
Thanks
Thomas
I am going to answer you about android because I know about how you can achieve this in Android apps.
Here's a simple step by step to learn how you can integrate Youtube in your android application. for doing this You will need to download the client libraries written in java. Download the library here
This scenario is supported by Youtube
It will be OK to use only 1 youtube account to upload videos to Youtube. but all users have to share that account
One thing you can consider to make sure not to upload very large files (more than 100MB). although it will upload but it can take much time.
It is possible to upload capture/gallery videos on your own channels, not possible to use like all users data storage.

PhoneGap Upload data in Background

Requirement:
I have a PhoneGap application. I collect photos, text data and audio recordings through my app. Now I want to upload this data to the server.
How do I upload my data to servers even if the application is suspended or put to background.
If yes, any pointers would be really helpful. I am developing the app for Android and iOS.
Thanks a lot for all the pointers.
I found the following:
You can use following PhoneGap plugin to upload data in the background for iOS.
http://www.codefromjames.com/wordpress/?p=154
I start the upload process when the application is in use and continue upload in the background until 5 mins (you can choose the time, my upload should never take more than 5 minutes)
Now I am looking in how it can be done in Android and PhoneGap. I will update the post when I find anything for Android.
Thanks
Anup

Rails Backend For Streaming Android Videos

I am currently building an app that will allow users to upload videos and view other users videos in a stream. Sort of like Vine. I have been using rails for over a year now but I am not sure how to go about implementing the backend for the android application.
My understanding of the situation is that I must use a json call to my rails api that will upload the video file to Amazon s3 or CloudFront. I then need to make the Amazon video file or url be stored or linked to a URL that the Rails app creates for the user.
After that, I would need to play the video (and other people's videos) back to the android application.
It looks like there are a lot of pitfalls to this. If anyone knows the correct way to go about doing this, I would be really grateful. Thank you.
Probably want to use a REST API.
Should host your videos on a CDN.
Can use VideoView to stream some types of videos on Android.

Categories

Resources