According to a latest report from mobile phone retailers in the UK, Android sales andWindows Phone 7The ratio is 15:1. This result indicates that Windows Phone 7 may be in trouble. Microsoft launched Windows Phone 7 in the North American market in November 8 and is considere
What to do without a USB camera.
It's okay to have an Android phone, we can turn it into a webcam.
1. Install a mobile phone called [IP Camera] app, get IP address, account password
2. Install Python and OpenCV
3. Execute the Python script below, and notice that you want to change the IP address to the one displayed on your p
Android mobile phone positioning case code and android positioning case
The Code is as follows:
Package com. xuliugen. gpsdemo; import com. itheima. gpsdemo. r; import android. app. activity; import android. location. criteria; import a
Hello everyone, today brings us a copy of the 360 Mobile phone guard Suspension window effect of the tutorial, before beginning please allow me to say a few irrelevant nonsense.
Unconsciously, I found myself in touch with Android for nearly three years, the period of all kinds of growth without the help of the master, there are always many experts like to write their own experience on the Internet for ever
This article mainly introduces Android to get the phone screen size implementation code, Android development often need to get the screen width, this article directly packaged into a tool class, the need for friends can refer to the
Android in the custom control, often need to get the width of the screen, each time to
The following is an example of a number, a telephone to tell EditText how to set the input type, other types can refer to the InputType class.
1) can only enter the number
The code is as follows
Copy Code
EditText et = (edittext) Findviewbyid (r.id.ettest);Et.setinputtype (Inputtype.type_class_number);
2) can only enter the phone number
The code is as follows
Copy Code
EditText et =
Android 2.0 System Operation steps
Tip: Restore the factory settings will empty the phone's built-in data, so please back up your personal data in advance.
1. In the "main interface" click the "Application Menu" below to enter the "application list" as shown in Figure 1-1;
Figure 1-1
2. Locate and click "System Settings" in the "Application List", as shown in Figure 1-2;
Figure 1-2
3.
1. Open Installation Permissions
Android Phone has a function is to prevent the installation of unofficial applications caused by mobile phone security problems, so the phone will have an unknown source, if we open it can be installed or only the official software installed.
Workaround: Allow an "unknown source" ap
Hello everyone, let's talk about some methods for Android to obtain IP addresses. In our development, we have determined whether the mobile phone is connected to the Internet or whether we want to obtain the IP address of the current mobile phone, of course, the sum of Wi-Fi connections
The IP addresses of our 3g cards are certainly different.
First, I tried the
This article is from http://blog.csdn.net/hellogv/, the citation must be noted!The last time we talked about the communication between the Android phone and the BLE terminal, the most common ble terminal should be the ibeacon base station advocated by Apple. Ibeacon technology is based on BLE, which is characterized by the broadcast of external messages, mobile phones do not need to connect to the Ibeacon b
How to get android mobile phone contacts and display them by letter (3): android contacts
If you get the contact Profile and display it:
How to obtain bitmap Based on photoId:
public static Bitmap getContactPhoto(Context context, long photoId, BitmapFactory.Options options) { if (photoId
Add the following to bindView:
protected void setContactPhoto(C
This article is from http://blog.csdn.net/hellogv/ , the citation must be noted! The last time we talked about the communication between the Android phone and the BLE terminal, the most common ble terminal should be the ibeacon base station advocated by Apple. Ibeacon technology is based on BLE, which is characterized by the broadcast of external messages, mobile phones do not need to connect to the Ibeacon
Generalized mobile phone system memory is divided into "mobile phone running Memory" and "mobile phone non-running memory." The "Running memory" of the phone is the ram of the phone, which is equivalent to the memory of the computer (or the memory bar), the "non-running memo
The RE file manager must be installed we need to install a re file manager on the Android phone before we can view the WiFi password.
1. Mobile phone installation re File manager
2. Then we open the phone in the "RE File Manager" below
3. Find/data/misc/wifi in the RE manager as shown in the following figure
4. The
similar to the PC industry in the early 90 competition. The PC industry's "arms race" to the end with the emergence of XP system to WINDOWS7 system, the system and the application of hardware demand decline so that the entire industry into an inability to save the status quo, the PC will eventually return to provide more valuable applications and use of innovative scenarios.At the consumer level, the big screen is already a popular trend, even if the upcoming iphone 6 is likely to be difficult
Android system transplantation and debugging -------) how to modify the NFC module of the Android mobile phone so that NFC can be used in the black screen
We all know that, without modifying the source code, NFC can only be used after unlocking. However, NFC cannot be used in two statuses: screen lock and black screen. However, a customer recently asked the mobil
1. The most common is that the unknown software installation failed.
Unknown source, if not open we can only install the Android Market download software, if we download from the Internet can not be installed, the unknown source open method is selected in the mobile phone security settings.
Workaround: Set installation permissions (figure)
2, the installation software prompts insufficient memory
This
1, the picture into a thumbnail and then load:
The code is as follows1 bitmapfactory.options Options = new Bitmapfactory.options ();2 options.insamplesize = 2;3 Bitmap img = bitmapfactory.decodefile ("/sdcard/1.png", options);
This code is read 1.png thumbnail, length, width is only 1/2 of the original picture. The size of the picture is reduced and the memory footprint is naturally smaller. The disadvantage of this is that the picture quality is bad, the larger the value of the insamplesize,
This article examples for you to explain how to easily realize the Android phone camera function, share for everyone to reference. Specifically as follows:
I. Layout file Main.xml
Two, Mainactivity.java
Import Java.io.File;
Import Java.io.FileOutputStream;
Import android.app.Activity;
Import Android.hardware.Camera;
Import Android.hardware.Camera.PictureCallback;
Import Android.os.Bundl
The example in this article describes how Android is programmed to get a mobile phone back-office service. Share to everyone for your reference, specific as follows:
public static String Getrunningservicesinfo {StringBuffer serviceinfo = new StringBuffer ();
Final Activitymanager Activitymanager = (activitymanager) context. Getsystemservice (Context.activity_service);
List
I hope this article
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.