The shared screen is stepping into our lives, from the most primitive mobile phone-TV screen sharing to the current phone-computer screen sharing, this scale is gradually spread to all corners of the globe, with the different phone models, from Symbian-windows Phone-firefox Os-andr
Below I from the perspective of Android development, simply write how to get mobile device information and mobile phone numberPreparation conditions: An Android phone, mobile SIM card to ensure plug-in phone, Eclipse ADT and ANDROID
Using the Millet number attribution database, there are two tables Data1 and DATA2
First inquires the Data1 table, the cell phone number intercepts the first 7 digits
Select Outkey from data1 where id= "top seven cell phone numbers"
And then query the Data2 table,
Select location from data2 where
Note: You must use this feature to support NFC capabilities for both devices.
1. Under the Standby page, click "Application".
2. Click "Set".
3. Slide up the screen and choose NFC and pay.
4. Click "NFC".
5. Click on the slider on the right side of "off" to show that the "on" representative is open. (The mobile phone also needs to turn on this feature)
6. Click on "
Layout
Five layout, similar to the title bar of the windos window), layout-small (layout with a screen size less than 3 inch), layout-normal (screen size less than 4.5 inch ), layout-large (between 4 inch and 7 inch), layout-xlarge (between 7 and 10 inch)
2) image resources
You need to prepare 5 sets of image resources, including drawable, drawalbe-ldpi, drawable-mdpi, drawable-hdpi, and drawable-xhdpi Based on the dpi value.
Android has an automatic
the application for the original measurement, WP patch form of the interface more intuitive, and easy to operate. Although the structure is fixed, it has a custom feature in the areas of wallpaper, theme matching, and placement adjustment. Moreover, not only the software can ping directly to the main interface, part of the software can be, such as QQ can be a friend to the main interface, which is also a kind of innovation.
In the final analysis, th
The Android phone's graphics lock (nine Sudoku) is a 3x3 lattice that connects several dots in order to achieve lock/unlock functions. You need to connect at least 4 points to connect up to 9 points. Online also has the violence deletes the mobile phone graphics lock method, namely directly kills the graphics lock function. This article we look at another way to crack.
Prerequisite:
achieve, not only need the serial port, but also usually need a universal input and output control line (General Purpose INPUT/OUTPU, GPIO), to coordinate the power management between AP and BP and so on. When the phone is idle, both the AP and the BP part are asleep in order to save power. When making a call, the AP wakes up BP via a gpio and sends the AT command through the serial port to BP. When there is an incoming call, BP also wakes the AP via
Android development is simple, whether it's on a real-computer debug or a final release to a real machine, as follows:1. Install USB driveMobile phone to be able to connect with the computer, of course, to drive. The effect is that you plug in the phone and the computer shows that the driver is recognized. Official tutorial for driver installation: http://develop
can not be obtained
OnServiceStateChanged provides the following status changes:
[Java]/*ServiceState. STATE_EMERGENCY_ONLY only for emergency callsServiceState. STATE_IN_SERVICE signal normalServiceState. STATE_OUT_OF_SERVICE is not in the service areaServiceState. STATE_POWER_OFF Power Failure*/
The following are examples:
1. Add a 3G icon and text (activity_g3_example.xml) to the layout file)
[Html]Xmlns: tools = "http://schemas.android.com/tools"Android
because you are using a computer connected to the USB interface wiring or chassis front USB interface, try to test the rear of the chassis USB interface.
7. Mobile phone connection to the computer, the choice of "data storage" phone will prompt "another program is in use."Reason: This is because your phone uses the memory card's theme or ringtone, the solution
Principle Overview:
The acquisition of cell phone battery power is also frequently used in application development. In Android systems, messages that change cell phone battery power are broadcast using Intent, and commonly used Intent actions include Intent. ACTION_BATTERY_C
1. Terminology and concepts
Android Phone UI Design resolution Basics
Screen size (on-screen dimensions)
Refers to the actual physical size of the phone, such as 2.8-inch, 3.2-inch, 3.5-inch, 3.7-inch
Motorola Milestone mobile phone is 3.7 inches
Aspect Ratio (Wide-high ratio)
Refers to the actual phy
technology in Android mobile phones and other mobile applications are less likely to be mainly in the following points:1) Tariff: The mobile end of the previous years, is a large number of 3G, 4G of the Internet mode, this mode of user tariffs are relatively high, you let users through peer-to upload to others, users will scold Si people. And many of these years are unlimited traffic, and WiFi network is also more up, so in recent years, peer in the
The 1.android coordinate system defines the x, y z axes.
The direction of the x-axis is the horizontal direction of the screen from left to right, if the cell phone is not a square, the shorter side needs to be placed horizontally, the longer side needs to be placed vertically.
The y-axis is directed from the bottom left corner of the screen to the top of the s
Android development is simple, whether it's on a real-computer debug or a final release to a real machine, as follows:1. Install USB driveMobile phone to be able to connect with the computer, of course, to drive. The effect is that you plug in the phone and the computer shows that the driver is recognized. Official tutorial for driver installation: http://develop
OS Updates and large applications
The apps on your phone are almost entirely changed, compared to a year ago. If there is an Android update, or the update may not be optimized for your device, the result is that your device slows down, or the operator or manufacturer bundles more software in the update, which runs in the background and slows down the device.
Even if you don't have a newer
This article describes the Android programming implementation of the application force installed to the phone memory method. Share to everyone for your reference, specific as follows:
Android:installlocation is introduced in Froyo (Android 2.2,api level:8). By setting this property, developers and users can determine where the program is installed.
Android:inst
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.