1. Several termsVGA, HVGA, QVGA, WVGA, WQVGAThese terms refer to the screen resolution.VGA: Video Graphics Array: displays the drawing matrix, which is equivalent to 640x480 pixels;HVGA: Half-size VGA; that is, Half of VGA, resolution: 480 × 320;QVGA: Quarter VGA; that is, 1/4 of VGA, resolution: 320 × 240;WVGA: Wide Video Graphics Array; that is, expanded VGA wi
Android camera uses ISO values to record videoMy application is to use a custom camera to record a video on an LED light box, the frequency of the LED is 1000HZ, and I use a high ISO value recording, the final desired effect, such as the screen will appear in the visible black stripes .To achieve this effect, set the following settings for the camera's parameters
Transferred from: http://blog.csdn.net/oyzhizhong/article/details/8131799The screen is landscape, so it appears as portrait by default.Rotate the framebuffer in 1.kernel.Start parameters Add fbcon=rotate:1 (0: Normal screen; 1: clockwise to 90 degrees; 2: turn 180 degrees; 3: Shun clock to 270 degrees;)There are similar entries in the last generated autoconf.h:#define Config_cmdline "console=ttysac0,115200
, and 5-10fps without any optimization, which is sufficient for general streaming media applications. It will also be optimized by algorithms and Assembly later. After decoding, you also need to pass through yuv2rgb and scale. Note that the decode of FFMPEG has a deactivating zone, that is, the linesize of the qcif image is 176 instead of 192, if you find that the decoded image is green, you need to convert it with img_convert () (the destination format is pix_fmt_yuv420p ). In Symbian, use DSA
Android Network Live Bomb screen
recently optimistic about more than network TV, players and live play screen features, their own weekend tinkering and implementation, the following is online information, we can see.
Now the network broadcast more and more fire, network anchor has gradually become a new career, for the webcast, the function of the
(r.id.surface); Setting the horizontal screen display Setrequestedorientation (Activityinfo.screen_orientation_landscape); Set up full screen display GetWindow (). SetFlags (Windowmanager.layoutparams.flag_fullscreen,windowmanager.layoutparams.flag_fullscreen); Set Translucent GetWindow (). SetFormat (pixelformat.translucent); Setting the Surfaceview, resolution settings Surface.get
I. Server Side
Based on Feng Add an open-source Streaming Media Server Web server, Used to receive the video data uploaded by the client, and then RTSP/RTP Live broadcast to mobile terminals
Ii. Client Applications
1. Introduction Client Applications are mainly based on Android Platform, package the video data of mobile phone record
The basic process is that android sends each frame of image data collected as a socket client, and the PC receives and displays each frame of image as a server for remote monitoring. The image is as follows (a photo taking function is added on the PC end later )...
(PS. Soon after I learned about Android and Java, I still don't understand many things. If the experts know where they can continue opti
Original: Android Project Combat (41): Game and video type apply status bar immersive effect Demand:Mobile app, when playing a game or full screen watching video will find that this time the top of the mobile phone status bar is not displayed, when we swipe down from the top of the phone or the bottom of the phone to
Android Application Development generally separates the UI and data into the application side (focusing on the performance of the entire application) and the UI side (mainly interface display) data logic side (mainly the API encapsulation for interaction with the background). If it is a video application, the android player has obvious disadvantages and requires
According to authoritative computing news media reports, an android terminal host supporting Large Screen Display is gradually replacing a x86 computer, in the touch query industry and the multimedia advertising machine industry, a low-cost, high-performance, and cool industry revolution has been set up.
With the popularity of iPhone and Android smartphones, touc
In Android, we have three ways to play Video:
1), using its own player. Specifies that the action is action_view,data to Uri,type for its MIME type.
2), use Videoview to play. Use Videoview in the layout file to control it with Mediacontroller.
3, use MediaPlayer class and Surfaceview to realize, this way is very flexible.
1, call its own player:
Uriuri = Uri.parse (Environment.getexternalstorag
The example in this article describes how Android simply implements the tab menu at the bottom of the screen. Share to everyone for your reference, specific as follows:
See a lot of popular Android programs (such as: Sina Weibo, Tencent Weibo, Jingdong Mall, Taobao, when, etc.) using tabbed style as the main frame structure of the program interface, and the
Most of the time, the use of touch screen fling, scroll and other gesture (gesture) operations will greatly improve the user experience of the application, such as rolling the screen in the browser using scroll gestures, use fling to flip pages in the reader. In Android {Function onclick (){Function onclick (){Function onclick (){Function onclick (){Tagshow (Even
screen is
new Handler (). postdelayed (New Runnable () {
@Override public
void Run () {
Intent Intent = New Intent (Actsplashscreen.this,dialogtest.class);
Jump from the start animation UI to the main UI
startactivity (intent);
ActSplashScreen.this.finish (); End start Animation interface
}
, 3000); Start animation lasts 3 seconds
}
XML code:
For more information about Andro
1. Main ContentThis section briefly introduces the lifecycle of an activity, describes how to set the main activity, and finally describes how to create and destroy an activity.
2. Video description
Http://www.eyeandroid.com/thread-11253-1-1.html
3. Translation Reference
Start Activity
Unlike other functions that start with the main () function in an application, the startup code of the Android system is
The application of video chat can be shown in the following block diagram. So we need to get video data (YUV420SP) from camera, compress it into h264/mpeg4/h263 package, and then pass it to the other side. Receive the other party's compression package, extract it to display on the LCD.In Android, you can get YUV data for each Peview frame by setting the Previewca
Software PurposeWith the popularity of Android application development, mobile phone project presentation is very inconvenient. The Android screen Helper is designed to address this issueSoftware IntroductionThrough the Android screen assistant, the phone USB connection to t
Confirm that the app needs to keep the screen turned on like a game or video app. The best way to do this is to use flag_keep_screen_on in your activity. (and only in an activity, never in a service or other app component).For example:publicclassmainactivityextendsactivity{@OverrideProtectedvoid onCreate (Bundle savedinstancestate) {Super.oncreate (savedinstancestate);Setcontentview (R.layout.activity_main)
1. Preface
The analysis of this demo is based on the analysis of the API demos of mapdigit.ArticleI further analyzed related knowledge points based on him.
2. Demo Effect
3. Demo Analysis
Hello World layout definition:Android: Id = "@ + ID/text"Android: layout_width = "match_parent"Android: layout_height = "match_parent"Android: gravity = "center_verti
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.