What I would need is help with a specific aspect that has to do with uploading a photo and video to a server (using PHP for API and MYSQL for db) and also loading the video from the server.
1) User is presented with AlertDialog with 4 options (take photo, upload photo from gallery, record video, upload video from gallery). This is completed so far.
2) On click of any of the option, the relevant camera/gallery opens. This is completed
3) When action finishes, the result is show on a new Activity on an Imageview/VideoView. This is also completed
What needs implementation is:
- When taking photo with camera, quality is low because I guess it is stored as thumbnail. Have not managed to work with the full size photo, so that is what I need to be shown on the ImageView.
- Images can be shown in the ImageView as rotated. Need to fix that obviously
- Video is shown somewhat stretched in the videoview. I need a way to maintain aspect ratio
- Implementation of upload to the server taking into account any possible "hacker" cases e.g. trying to upload a file that is not a picture or video. So far I am using Volley for the basic network operations but I am open to hear about better and faster methods for uploading an image/video with the justification
- Then we need a recyclerview to show the uploaded images and videos. 1)If possible use a specific size ImageView to show the images with maintaining aspect ratio. If not, then they can be shown in their natural aspect ratio. 2) When I tried to stream the videos in videoview, they showed as rotated. Not sure if there is a fix but ideally they should not be rotated. Also ideally they should start playing in the way Facebook does it i.e. when scrolling over it. If not possible, then a preview image with a play button on it should be shown and when user clicks then videoview starts playing on another activity.
This project will be used to enhance my current one, so you can implement as a standalone project and I should be able to change accordingly the variable parts e.g. server address etc to make it work on mine.
I would like to understand the feasibility of the above but also the hours required and total compensation.
97 威客就此工作平均出价 $650
Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks