of the size of the chalk and the corresponding relationship, for the development of Android games can take into account the future of 3.0 and a lot of tablet needs.Conventional we may only consider QVGA,HVGA,WVGA,FWVGA and DVGA, but left the phone to talk about, may use the tablet like WSVGA 1024x576 and WXGA 1280x768 and so on.QVGA = 320 * 240;WQVGA = 320 * 480;WQVGA2 = 400 * 240;WQVGA3 = 432 * 240;HVGA = 480 * 320;VGA = 640 * 480;WVGA = 800 * 480;WVGA2 = 768 * 480;FWVGA = 854 * 480;DVGA = 960
execution closed, the activity can be recycled.4. The object scope of the memory class is beyond the scope of the activity: for example, a memory class is defined to store the data, and the object of the memory class is passed to other activity or service. Because an object in an inner class holds a reference to the current class, it also holds a reference to the context. The workaround is if you do not need the current reference to write the inner class as static or to extract the inner class
-touch Web program is born.Device SupportUnfortunately, the implementation of touch events varies greatly in terms of completeness and quality. I have written a diagnostic script to show some basic information about the touch API implementation, including which events are supported, and the Touchmove event-triggered solution. I tested Android 2.3.3 on Nexus One and Nexus S hardware, tested Android 3.0.1 on the Xoom, and tested iOS 4.2 on ipad and ipho
-touch Web program is born.Device SupportUnfortunately, the implementation of touch events varies greatly in terms of completeness and quality. I have written a diagnostic script to show some basic information about the touch API implementation, including which events are supported, and the Touchmove event-triggered solution. I tested Android 2.3.3 on Nexus One and Nexus S hardware, tested Android 3.0.1 on the Xoom, and tested iOS 4.2 on ipad and ipho
This article mainly introduces AngularJS getting started tutorial (1): static templates. This is the second article in the series. This series will use a project to explain how to use AngularJS, for more information about how angularJS has enhanced the standard HTML, see create a static HTML page template and convert the static HTML page template to an AngularJS template that can be dynamically displayed.
In this step, we add the basic information of the two mobile phones to the HTML page and u
Last week, UbuntuTouch launched the Developer Preview version for GalaxyNexus, Nexus4, Nexus7, and Nexus10, allowing users and developers to quickly preview the core and applications of the system, for example, camera and Wi-Fi. Of course, there are many bugs in the Developer Preview version, so it is not recommended for daily use. Canonical also stressed that "changing from a flash to a brick will cause you to be at your own risk ". In addition to the four above devices, UbuntuTouch will soon s
appear on as many devices as possible.
Ubuntu Touch Open Port
Devices that will support the Ubuntu Touch Developer Preview include:
Motorola XOOM, Samsung GALAXY Nexus (toro, toroplus), Sony Xperia S, Sony Xperia T, Samsung GALAXY S3 (International, Verizon and ATT) huawei Ascend G300, Motorola DROID 3, Motorola DROID 4, Motorola DROID Bionic, Samsung GALAXY Note, Samsung GALAXY Note II, Samsung GALAXY Note II (International Edition) HTC One X, HTC
/534.50 (khtml, like Gecko) version/5.1 safari/534.50" ,"mozilla/5.0 (Macintosh, Intel Mac OS X 10_7_0) applewebkit/535.11 (khtml, like Gecko) chrome/17.0.963.56 safari/535.1 1 ","mozilla/5.0 (Macintosh, U, Intel Mac OS X 10_6_8, en-us) applewebkit/534.50 (khtml, like Gecko) version/5.1 safari/53 4.50 ","mozilla/5.0 (Linux, U, Android 3.0, en-us, Xoom build/hri39) applewebkit/534.13 (khtml, like Gecko) version/4.0 Safar i/534.13 ","mozilla/5.0 (IPad,
referencestatic or, extract the inner class into a separate class, or avoid the scope of the inner object scope beyond the activity. out of memery error The amount of memory that is divided by each program in Android is limited, and if it exceeds this number, it will be reported out of the error. The amount of memory that Android assigns to programs is related to the phone's hardware, and here are some of the phone's data:g1:16m droid:24 Nexus one:32m xoom
Requestanimationframe function, which is a better choice based on performance and battery working time reasons. Once the browser provides support for the function, it will be the preferred way to handle things.Using Targettouches and ChangedtouchesOne thing to keep in mind is that event.touches is an array of all the fingers that touch the screen, not just those located on the target DOM element. You may find it more useful to use event.targettouches and event.changedtouches instead of event.to
do not need the current reference to write the inner class as static or to extract the inner class into a separate class, or to avoid the scope of the inner object beyond the scope of the activity. Out of Memery error The amount of memory that is divided by each program in Android is limited, and if it exceeds this number, it will be reported out of the error. The amount of memory that Android assigns to programs is related to the phone's hardware, and the following are some of the phone's data
Nexus One: 32 m xoom: 48 Ms
So try to cache some big data in the program to a local file. To avoid excessive memory usage.1. Transfer Data between two activities through application
Remember to remove the data stored in the hashmap of the application after the data is transferred to avoid Memory leakage.
do not reference an activity context for a long life cycle (a reference to the activity should be the same as the life cycle of the activity i
error The amount of memory that is divided by each program in Android is limited, and if it exceeds this number, it will be reported out of the error. The amount of memory that Android assigns to programs is related to the phone's hardware, and here are some of the phone's data:g1:16m droid:24 Nexus one:32m xoom:48msSo try to cache some of the big data in the program to a local file. Avoid exceeding the amount of memory used. Snippets1, passing data
definition of the tablet are as follows: 3.5, 4.8, and 10 tablets of different sizes.
Dimensions
Operating System
Description
3.5/4.8/7 inch
Wince5.0Andriod2.3
Previously, most of the devices were based on WinCE, but currently the new tablet is dominated by andriod.
10 inch
IPad (IOS)Andriod3.0Windows 7
Apple's iPad accounts for 99% of the market share, and andriod3.0 is also a recently released operating system suitable for large screens. Currently,
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.