1: Download sdl2.0
2: compiled in R8. Fortunately, this version can be used directly in windows.
3: Change sdl_config.h In the SDL directory to Android.
4: StartNdk-build, promptThe egl/EGL. h file cannot be found. You must specify a version
It seems that I have been studying Android development for more than half a year. Along the way, I gradually feel that the foundation is so important. some low-level errors will occur when I am doing it during the development process, after summing
In the Android system, only three fonts are provided: "sans", "serif", and "monospace ".
Android: Typeface
Android: Typeface attributes use them:
Xmlns: Android = "http://schemas.android.com/apk/res/android"Android: layout_width =
The following software is required to install the Ubuntu Android Application Development Environment:
Java Development Kit: JDK 1.5/1.6
Development and Integration Environment (IDE): Eclipse 3.5.2
Android Development Environment: ADT
Android SDK1.
To set the default textview font, follow these steps:Java code
Textview. settypeface (typeface. Default, typeface. Normal );
Set Font to default bold and boldJava code
Textview. settypeface (typeface. default_bold, typeface. Bold );
1. Android event generation
This part is difficult and involves the basic knowledge of the entire android architecture, including the handling of events in the Linux system.
This part of content comes from the android window mechanism analysis ------
I. Android APK SignatureThe APK signature must first contain a keystore signature file.The keystore is generated by the built-in JDK tool keytool.For more information, see:Start-> Run-> cmd-> Cd to the JDK directory you installed. My files are
Today, when I read the SDK documentation, I found a very strange layout file, which contains XML files related to the shape layout. I don't know what the layout time is, so I started the SDK Development Guide and found a large circle from the
The drop-down list is "Spinner.
The use of the spinner can greatly improve the user experience. When you need to select an option, you can provide a drop-down list to list all optional items. For users.
The demo is as follows for your reference.1.
To use the android command, first add the path of the tools file in your androidsdk Development Kit to the PATH variable of the system so that you can use the android command
Open the start running window and Enter cmd to enter the black dos form.
Today I will share with you the tabs in Android.
To use the tab, you must first understand two classes:
Tabhost: it can be obtained by gettabhost of the tabactivity class.
Tabspec: The tabspec of each tab on the tab. It can be obtained by tabhost.
1. Overview. Sharepreferences is a mechanism used to store some simple configuration information. It uses the map data structure to store data, stores data in key-value pairs, and stores data to devices in XML format. For example, save the
Currently, when using video applications, the more advanced technology is RTSP Streaming Media. What if we use the android playback control videoview to play the RTSP stream?RTSP Streaming Media Link:Http: // 218.204.223.237: 8081/WAP/This link
In project development, we may have encountered nested listview in listview, but Google suggests that we do not do this, so they have written an expandablelistview class, which inherits listview, you can implement the nested listview effect in the
We all know that many applications will have a new feature display when they are used for the first time after installation. A good new feature display will bring a better user experience to the customer. Therefore, when we make an application, we
This article briefly introduces the composition and structure of the videophone subsystem and briefly introduces the Android-based videophone. Each manufacturer's Videophone Implementation Scheme is slightly different from each other, and cannot be
This article shares some experience on how to use API documentation for Android development.
1. Why do I need to know how to use APIs.
If you need to complete a function, you may need to Google it on the internet many times, because it is very
Android launcher Overview
1. Preface
For Android phones, the importance of launcher is needless to say. There are various types of Android phones on the market, and launcher is also varied. I only want to interpret it with interested friends. For
We all know that android can load web pages, but some examples provided on the Internet are HTML, so it has recently been misled and I will share my experiences again.
When loading webpages on your own website or space, do not directly load the HTML
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