http://blog.csdn.net/nieweiking/article/details/37047533——————————————————————————————————————————————————————————————————————————————————————This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 12.0.0.v201106281929-138431.Please update ADT to the latest version 22.0.0In general this is because the SDK has been mistakenl
Cause: After updating ADT and its supporting libraries in Sdksdk Manager, eclipse error: This Android SDK requires Android Developer Toolkit version 23.1 errors. But SDKSDK manager clearly shows that 23.1 of ADT is already installed, which is strange.。Workaround: Help,Install New software, ADD->http://dl-ssl.google.com/androi
Problem Description:The previous article about solving the APPCOMPAT_V7 problem to reduce the ADT version, so the old version 22.3.0 Ah, reopen Eclipse, immediately pop up:This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 12.0.0.v201106281929-138431.In general this is because the SDK has been mistakenly updated, causi
Android Studio 2.1 Preview contains the updated contentAndroid Studio 2.1 Preview contains the updated content
The title of the new version of Android Studio on the official website of Android Studio is Android Studio 2.1
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/79/D4/wKiom1acQiDSKV0lAACGe0yk0LE487.png "title=" Qq20160118093424.png "alt=" Wkiom1acqidskv0laacge0yk0le487.png "/>After updating the SDK with SDK Manager, launch Eclipse prompt this Android SDK requires Android Developer Toolkit version 23.0.0 or above. ADT needs to be updated.go to file ... \sdk\tools\
, and SurfaceTexture as the rendering carrier.
3. the following code is provided to solve the problem:
@Overridepublic void onDrawFrame(GL10 gl){ float[] mtx = new float[16]; mSurface.updateTexImage(); mSurface.getTransformMatrix(mtx); mDirectVideo.draw(mtx);}
private float[] transformTextureCoordinates( float[] coords, float[] matrix) { float[] result = new float[ coords.length ]; float[] vt = new float[4]; for ( int i = 0 ; i
textureVerticesB
In many cases, the android camera module not only previews, but also takes photos easily. Instead, it needs to be able to detect videos, such as the most common face detection. Before you press the photo button, you can detect the face, mark it in a rectangle, and then press the photo button. So how to get a preview frame video?
You only need to inherit the previewcallback interface in the activity. Example
caveats:1, Textureview is the increase after Android 4.0, the lower version number of this class. Textureview must work in an environment where hardware acceleration is enabled. This is also the setting of the activity in the configuration file: Android:hardwareaccelerated= "True" the default property is True, so no more writing. But if you write false, you can see Onsurfacetextureavailable () This callback will not come in. Textureview don't have su
Original works can be reprinted. During reprinting, you must mark the original source, author information, and this statement in hyperlink form. Otherwise, legal liability will be held. Http://blog.csdn.net/love254443233/article/details/7559644
Install the android Virtual Machine under Windows 7/xp. After updating the SDK, point to Android-SDK-windows in eclipse preference.
Appears:
This
23.0. 0 is12.0. 0. v201106281929-13843122.0. 0In general this is because the SDK has been mistakenly updated, causing the SDK version to be too high and Eclipse prompts to update ADT.The solution is as follows:Locate the plugin.prop file under Android-sdk-windows\tools\lib to modify the version number,Change to the same version number as the installed ATD,I will change 23.0.0 here: 22.0.0, 21.0.0, ...This Android
The miscellaneous has previously written a demo about only taking images in a specific area, but it is relatively simple. It is not very rigorous in the conversion of the subject, and the effect of the dark center around the preview interface is not completed, I am sorry, but I have completed this today.
Before proceeding to the code, we should first explain that there are two conversion modes. First, it is converted based on the rectangular area on t
, Picturesize.height); Size previewsize = Camparautil.getinstance (). Getproppreviewsize (Mparams.getsupportedpreviewsizes (), PreviewRate, Mparams.setpreviewsize (Previewsize.width, previewsize.height);to see the simple interception is not to change the image resolution. Note that the concept of true resolution is not equal to XXX * xxx, the larger the picture, the less clear. The rectangular area can be moved and stretched later. Take a picture of a specific area anywhere in the demo. -------
Preface
This chapter contains the developer Guide/Developing/Tools/adb. This is an excellent translation from "Mobile cloud _ Wenbin". Welcome to its blog: "http://blog.csdn.net/caowenbin", thanks again "Mobile cloud _ Wen bin "! We look forward to your participation in translation of Android related information, contact me over140@gmail.com.
Body
Android Debug
virtualization technology.
So today I decided to write an article about the Genymotion simulator. I think it is very good. Since the launch of this project, I have been sharing it with you and everyone enjoys it. So I think we should share it with readers on this site.Genymotion Simulator-faster Android Simulator
Q: Do you want to run an App without using a real machine or tablet?Q: If you are a developer,
caveats:1, Textureview is the Android 4.0 after the addition of the lower version of this class. Textureview must work in an environment where hardware acceleration is enabled, in the settings of the activity in the configuration file: Android:hardwareaccelerated= "True" is the default property, so no more writing is required. But if you write false, you can see Onsurfacetextureavailable () This callback will not come in, Textureview no surfacetextur
As described in the title, learn how to open the camera and preview images on the screen. Steps for using camera:(1) Call the open () method of camera to open the camera;(2) Call the getparameters () method of camera to obtain the camera parameters. This method returns a camera. Parameters object;(3) Call the setparameters () method of camera // this step is not required after android2.3.3;(4) Call the startpreview () method of camera to start preview
Original address: http://blog.csdn.net/yanzi1225627/article/details/8605061#Many times, the Android camera module not only previews, take pictures so simple, but need to preview the video, can make some detection, such as the most common face detection. Before the camera button is pressed, the face is detected and the rectangle is marked, followed by the photo. So how do I get a
for the beginning of row y for the Y plane and row c for the U and V planes: yStride = (int) ceil (width/16.0) * 16; uvStride = (int) ceil (yStride/2)/16.0) * 16; ySize = yStride * height; uvSize = uvStride * height/2; yRowIndex = yStride * y; uRowIndex = ySize + uvSize + uvStride * c; vRowIndex = ySize + uvStride * c; size = ySize + uvSize * 2; www. 2ct O.com strongly recommends NV21 and YV21 formats, which are NV21 by default, that is, YUV420SP. Therefore, BitmapFactory resolution cannot be s
(view. visible); mdraw. drawline (); }}, 2000);} public void surfacechanged (surfaceholder holder, int format, int width, int height) {} public void surfacedestroyed (surfaceholder holder) {If (camera! = NULL) {Camera. Release (); camera = NULL ;}}}
The cross function is very simple. There are only two sentences.
Mdraw. setvisibility (view. Visible );Mdraw. drawline ();
But these two statements are put in public void surfacecreated (surfaceholder holder ){...} The camera. startpreview () in thi
Android Studio features a preview window that lets you view the layout (layout) style;
Location: App->src->main->res (Resource)->layout (layout), where the files, including design and text, select text, you can observe the preview window;
Back to the column page: http://www.bianceng.cnhttp://www.bianceng.cn/OS/extra/
You can also set it up by Tool Windows ;
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.