I have developed a complete video clientapp. Now. Share it. For those who have just started learning to study (the great God will not have to look, simpler, for beginners only), we communicate with each other to learn from each other.
There are some features of the project, and I don't have much time. Can only be updated occasionally.
It is only possible to explain how to achieve, step by step, the relevant knowledge points. Everyone to check the relevant documents, I am very many places will be used, I would like to say a detailed principle of what, it is not clear, but also I have limited ability to express. Everyone can just look at, do not like the spray, haha.
And for everyone, how to increase advertising platform advertising, publishing the market, to obtain income (honestly I app, plus ads. Basic no income), here is just a start, to the new friend said there is such a thing is.
Of course, let's say your app is creative. Well done. Large download volume, many users, with an app rich is very easy to do.
Interface casually get, art will not, will see it,:
1.png (533.08 KB, download number: 0)
Download Attachments Save to albums
Uploaded 15 minutes ago
2.png (1.44 MB, download number: 0)
Download Attachments Save to albums
Uploaded 14 minutes ago
3.png (834.21 KB, download number: 0)
Download Attachments Save to albums
Uploaded 14 minutes ago
Note: The video resource is an SDK provided by the open platform. According to the official API documentation. Can be very easy to obtain the corresponding data, more convenient. (56 video open platform).
1. Register 56 video Open platform account, create app, get app ID and app secret key, download SDK for Android version number. After downloading, unzip, can see the specific Help document and use instructions.
2. Open Eclipse Create project, my project name: Myvideoplayer,app Name: Tadpole video, Package name: Com.hck.videoplayer.
Libs the package inside the extracted file. Copy the Lib file to the project to go down.
3. Introduce the outsourced Lib library file. This, because the resource video format is much more. With Android native SDK, can't support so many formats, so, here I use an open source video library, can support the basic current all the video format.
Required to be able to download: http://pan.baidu.com/s/1hqkVgX2
After downloading, unzip, import into Eclipse, and then. Click on the project we created-right-click "Properties" "Android" add "click on our imported library file, then click Ok,ok
5.png (49.71 KB, download number: 0)
Download Attachments Save to albums
Uploaded half an hour ago
4. Create a new module package for each function.
I have built a few packages here, 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 package. Some sort of global data; interfaces package. placing interfaces; Util packages, some tool classes, Widge packages, some of their own defined view;
NET package. and network-related.
When it's built.
7.png (21.44 KB, download number: 0)
Download Attachments Save to albums
Uploaded 17 minutes ago
The preparation is basically finished, say so much today, we will continue in the back