Find Jobs
Hire Freelancers

Android Custom VideoView

$10-400 USD

Completed
Posted over 10 years ago

$10-400 USD

Paid on delivery
Custom VideoView Purpose Video streams shall be decoded and displayed using the Android VideoView class. It is necessary to display additional graphical and textual information. Therefore the VideoView class shall be extended. Overview The new class - PanView - shall consist of three main building blocks: The main area to display the video stream. The functionality is identical to the underlying class. A rectangular drawing area, limited by a line with attributes ovOuterColor and ovOuterStroke, which is defined by top, left, bottom and right coordinates. This area lies within the bounds of the VideoView and serves to draw rectangles, lines.. as it is possible on a Canvas. Specifically the methods drawRect, drawCircle and drawColor using a Paint shall be available. A layout with widgets (read from a XML-layout), that can be positioned freely (in one of the four corners) as a group inside the boundaries of the VideoView, based on custom attributes. Central video dispaly and the two variable areas for drawing and additional widgets. Details The following functional requirements shall be fulfilled: The PanView shall extend the VideoView class. A drawing area shall be available inside the boundaries of the video display. The area shall be defined by "top", "right", "bottom", "left". The area shall be set by reading custom attributes from the layout XML. A border shall be drawn around the area, taking into account the stroke of the line (i.e. the inner area needs to be used for drawing operations). The PanView class shall offer methods to draw rectangles, circles, lines and bitmaps. The drawing area shall be normalized to the interval [0 ... 1], all drawing commands shall only accept this value range. A method shall be available to inflate a RelativeLayout and to display it in one of the four corners, defined by the attributes "bnXPos" and "btnYPos" For the buttons an "OnClickListener" and "OnLongClickListener" shall be implemented inside the PanView class (NOT in the activity). For the drawing area an "OnTouchlistener" shall be implemented, delivering touch events only for the drawing area and calculating touch coordinates in the interval [0 ... 1]. Hint: it may be necessary to work with a SurfaceTexture, as trying to lock the canvas leads to an exception because of SURFACE_TYPE_PUSH_BUFFERS in VideoView class). Styleables The extended VideoView shall be configurable by using styleables , described in "". The follwoing properties shall be editable, using the listed tags:
Project ID: 4841344

About the project

9 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi sir, I have years of experience in Android development. I can do your project
$299 USD in 14 days
5.0 (27 reviews)
5.9
5.9
9 freelancers are bidding on average $549 USD for this job
User Avatar
We can do this work for sure 100%
$1,546 USD in 10 days
5.0 (11 reviews)
4.2
4.2
User Avatar
I don't think videoview can be extended...I would suggest instead of extending...why not draw the required feature on top of video class
$722 USD in 30 days
0.0 (0 reviews)
3.8
3.8
User Avatar
Hello , I can complete this work withing 2 weeks . Thanks Krishnendra
$227 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Thanks for your project. I am ready to start. I will make you 100% satisfy.
$200 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
It's so easy with me, let's start!
$450 USD in 12 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of GERMANY
Da Nang, Germany
5.0
18
Payment method verified
Member since Nov 21, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.