Virtual Device Manager:
In eclipse, click Android Virtual Device Manager from the toolbar.
From the command line, change directoriesAnd execute:android avd
InAndroid Virtual Device ManagerPanel, clickNew.
Fill in the details for the AVD. give it a name, a platform target, an SD card size, and a skin (hvga is default ).
ClickCreate AVD.
Select the new AVD fromAndroid Virtual Device ManagerAn
Hello everyone, This section describes how Android gets the screen size of a mobile phone. This section mainly uses three objects.
Textview ,
Button , And
Displaymetrics , Where
Displaymetrics Is the Key class for getting the phone screen size. This example is very simple. When we click the button to trigger the event
Textview Display the width and resolutio
480x800px/480x854px/540x960px
72x72 px
48x48 px
24x24 px
36x36 px
No less than 3 px
720x1280 px
48x48 DP
32x32 DP
16x16 DP
24x24 DP
No less than 2 DP
1080x1920 px
144x144 px
96x96 px
48x48 px
72x72 px
No less than 6 px
Ps:android Design specification, the unit used is DP, DP on the Android machine on the different density
, you need to create another set of larger icons when the DPI icon does not meet the design requirements.
In Android 1.5 and earlier versions, only the hvga (3.2x320) Resolution on the 480 "screen is supported, and developers do not need to consider the adaptability of the interface. Since Android 1.6, the platform supports devices of various sizes and resolutions, which means developers should consider the
You can test Android, Apple APP, and H5 apps locally without having to change the hosts of the ROOT user on your mobile phone. Android h5
Mobile APP development and H5 apps often need to be tested separately in the local and online environments. Generally, the operation is to modify hosts, and I have been doing this al
This article is from Google Android's official Web App development guide, divided into five articles: 1. Overview, 2. screen size, 3. Web View creation, 4. debugging and 5. Best practices.
Figure 1. you can use either of the following methods to allow users to access your Web content: Add a WebView to the layout in a traditional way, that is, through a browser or in an
, which enables child view to better control touch events and gestures, and to declare dependencies between them, and receive callbacks through Ondependentviewchanged ().You can use Coordinatorlayout.defaultbehavior (your View.Behavior.class) annotation or use app:layout_behavior= in the layout " Com.example.app. Your View$behavior property to define the default behavior of the view. The framework makes it possible for arbitrary view and coordinatorlayout to be combined.Note item:Note The above
more perfectly.One thing to be aware of is that Coordinatorlayout does not know the internal workings of Floatingactionbutton or appbarlayout, It simply provides an additional API in the form of Coordinator.behavior, which enables child view to better control touch events and gestures, and to declare dependencies between them, and receive callbacks through Ondependentviewchanged ().You can use Coordinatorlayout.defaultbehavior (your View.Behavior.class) annotation or use app:layout_behavior= in
is more obvious.DipExactly the same as DP, except the name is different. The dip was used in earlier versions of Android, and the DP name was later recommended for unification with SP.Sp:Abstract pixels independent of scale (Scale-independent Pixel). The SP and DP are similar but the only difference is that the Android system allows users to customize text size
Android native fonts may not let the UI sister paper favor, it is too ugly, so the UI sister paper used third-party fonts as the font style of the app, this blog is to summarize in the development of Android app how to use third-party fonts.first, there must be a third-party
Document directory
Prepare the development environment
Create a Mono for Android Application
Summary
My first Mono for Android app
Mono for Android: Learn how to use Mono for Anrdoid to create an android app, how to use Inten
the apk file. When the app is installed, it performs precompilation, scanning classes (. N). dex files are then compiled into a single. oat file for execution. Learn more about art.While Google solves the problem of applying the total number of methods, it does not mean that developers can scale their projects arbitrarily. Multidex still have some limitations:Dex files are very complex to install to a device, and if the second Dex file is too large,
" in various XX butlers is generally used to describe the Apk extraction function.
Software Name:
Lucky cracker
Software Version:
2.8.8.2
Software size:
1.97 MB
Software authorization:
Free
Applicable platform:
Android
:
Http://dl.pconline.com.cn/download/91633.html
The famous System Tool lucky cracking tool also has the backup
configuration information as the user uses it, such as the EQ setting at the last play, the volume setting, the cookies information on the Internet, etc., which can be maintained by Sharedpreferences. Data persisted through Sharedpreferences as an XML file, located in the application's private folder2.4.2 FilesIn Android, you can create a file that holds data in the device's own storage device or from a storage device that is connected outside it. By
Google's Open Development Kit (Android virtual device, Android Android)First download the Android Development Kit (currently 4.2 is the mainstream):Development Kit with Android 4.2 system Image: Adt-bundle-windows-x86-20130219.zipDevelopment Kit with
the actual font size that is displayed, and the actual font size should be multiplied by this value by Textscalex. By default, the unit is PX, other cases can use another method of GetTextSize overload, return the corresponding value according to the unit;4, Get EditText Textscalex (this value is used to calculate the
How to add ads to your Android appIn the forum before the "Android Learning and how to make money using android " Post, received a lot of Android developers reply, Add to the blog in the reply, many people asked how to add ads in the application, today there is just a new small application to add ads, together to write
Because the memory resources of the phone are limited, the memory that each app can use is restricted. Now, high-resolution shots are often very large. If you do not pay attention to the method when loading, it is likely to cause the java.lang.OutofMemoryError: bitmap size exceeds VM budget . Exception that caused the app to run out of the way.In addition, ImageV
Code portal written in frontIn a previous article, we simply know the advantages of the new language Kotlin, but also contact some common grammar and its simple use, I believe you will have a strong interest in it, for the moment to understand that it is interested in it, ha haha. So, how do we apply this new language to Android? Today's article takes you through the development of Android apps using Kotlin
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.