Android Step-by-step implementation of video client app (i)

Source: Internet
Author: User

I developed a complete video client app, now, share it for beginners to learn the reference (God will not have to look, relatively simple, for beginners only), we communicate with each other to learn from each other. Project some features, I do not have a lot of time, only occasionally updated. Can only explain how step by step implementation, the relevant knowledge points, we look at the relevant information, I have a lot of places will be used, I would like to say a specific principle of what, it is really unclear, but also my limited ability to express, we can only see, do not like the spray, haha.
also for everyone, how to join the advertising platform advertising, release the market, to obtain income (honestly I app, add ads, basic no income), here is just a point, to just the friends said there is such a thing. Of course, if your app is creative, do well, download a large number of users, with an app to make money is very easy thing.

interface casually get, art will not, will see it,:

1.png (533.08 KB, download number: 0)

Download Attachments Save to album

Uploaded 15 minutes ago

2.png (1.44 MB, download number: 0)

Download Attachments Save to album

Uploaded 14 minutes ago

3.png (834.21 KB, download number: 0)

Download Attachments Save to album

Uploaded 14 minutes ago




Note: Video resources are provided by the Open Platform SDK, according to the official API documentation, can easily get the corresponding data, more convenient. (56 video open platform).
1. Register for 56 video open platform account, create app, get app ID and app key, download Android version of SDK, download, unzip, see detailed help documentation and instructions to use.


2. Open Eclipse Create project, my project name: Myvideoplayer,app Name: Tadpole video, Package name: Com.hck.videoplayer.
Libs the inside of the decompression file inside the package, copied to the project Lib file.


3. Introduce the outsourced Lib library file. This, because the resource video format is more, with the Android native SDK, cannot support so many formats, so, here I used an open source video library, can support the basic current all the video format.


What you need can be downloaded: http://pan.baidu.com/s/1hqkVgX2


After downloading, unzip, import into Eclipse, then, click on the project we created-right button "Properties" "Android" Add "click on the library file we imported, then click Ok,ok

5.png (49.71 KB, download number: 0)

Download Attachments Save to album

Uploaded half an hour ago






4. Create a new module package for each function.
I built here several packages, you can build your own package according to your own needs. UI package, place Activity;adpter package, place Adpter;bean package, place our entity object;
Data packet, some global data, such as interfaces package, place interface, util package, some tool class, Widge package, some custom view;
NET packages, and network-related. When it's built.


7.png (21.44 KB, download number: 0)

Download Attachments Save to album

Uploaded 17 minutes ago



the preparation is basically done, so much for today, and we'll go back to that.



Android Step-by-step implementation of video client app (i)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.