Android development-Get mobile phone SIM card information, androidsim
TelephonyManager is a service class that manages the call status and network information of a mobile phone. It provides a large number of getXxx () methods to obtain information about the telephone network.
TelephonyManager class overview:
It can be used to access telephone service information
) access_coarse_location or access_fine_location.
public int getdataactivity () returns the status of the current data connection activity.
public int getdatastate () returns the condition of the current data connection state.
Public String Getdeviceid ()
Returns the device ID of the cell phone. For example, for GSM mobile phone is IMEI code, for CDMA mobile
Vysor allows you to fully control the android mobile phone screen image on your computer.
This article is from the blog http://jijiaxin89.com/2015/08/29/Mirror-android-phone-s-screen-and-gain-full-control-on-computer-with-Vysor/#more of weiliang seasonClick to jump to more articlesSeason 1
Are you struggling to fi
The screen size of Android mobile phones has always been a headache for developers. Because the screen sizes used by mobile phone manufacturers are different, the presentation and layout of user UI interfaces are naturally different. Therefore, when developing Android mobile appsProgramIn addition to understanding the underlying API, the most important thing is t
how the 1.android coordinate system defines the x, y Z axis
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 t
community service broadcast function. The Community Service Broadcast Centre (cell Broadcast Center) is responsible for broadcasting all kinds of messages, such as weather, stocks, real-time traffic information, etc. to the cell phone. 4. The original base station subsystem (BSS) of the GSM network is no longer used in the UMTS/WCDMA system, and is replaced
From: http://blog.csdn.net/moruite/article/details/6028547
1. terms and concepts
Terms
Description
Remarks
Screen Size)
It refers to the actual physical size of the mobile phone, such as commonly used 2.8 inch, 3.2 inch, 3.5 inch, 3.7 inch, diagonal
Motorola's milestone mobile phone is 3.7 inch
Aspect Ratio (width/height ratio)
Refers to the actual physical size wid
0. Foreword
Android's screen fit, even if an element has the same display effect on Android's different sizes and resolution phones, has been a problem that we Android developers have to face. This article refers to a lot of previous blogs, and to make a summary of this issue, and strive to streamline and understand.
Reprint please indicate the source: http://blog.csdn.net/seu_calvin/article/details/52690498
1. Basic Concepts
(1) screen size, that
Reprint Please specify source: http://blog.csdn.net/l1028386804/article/details/47374415Some Android phones will have a number of commonly used features, such as ordering telephone, public telephone, air tickets, and so on, and so on, click on the corresponding number will automatically pop up the phone call interface. Well, let's get down to it. A small example of a ce
1. We enter the mobile phone needs to screen the interface and then we also press the phone "volume-" + "shutdown button" to achieve screenshots of the action. Then the picture will be in the Pictures/screenshots folder.
2. We can use like 360 mobile phone assistants and then use the software to connect the phone af
Today, I took a photo on my cell phone for almost one day. Later, I thought about it, and now I don't know what I know, right? First, if I use this method to take a photo,ProgramIn the simulator, problems may occur when it is started. I don't know what the cause is. I guess it may be because of the simulator. At present, there is no mobile phone for testing, whic
system memory sizearrayofstring= Str2.split ("\\s+"); for(String num:arrayofstring) {log.i (str2, Num+ "\ T");} Initial_memory= Integer.valueof (Arrayofstring[1]). Intvalue () * 1024;//gets the total system memory, in kilobytes, multiplied by 1024 to bytelocalbufferedreader.close ();} Catch(IOException e) {}returnFormatter.formatfilesize (Getbasecontext (), initial_memory);//byte converted to KB or MB, memory size normalized}/**Called when the activity is first created.*/@Override Public voidon
1. Terminology and concepts
Terms
Description
Note
Screen size
Refers to the actual physical size of the phone, such as the usual 2.8-inch, 3.2-inch, 3.5-inch, 3.7-inch
Motorola milestone phone is 3.7 inches
Aspect Ratio (width/height ratio)
Refers to the actual physical dimensions of the width-to-height ratio, divided into long and nolong
the right bottom of the cell phone that is placed horizontally. The x direction is the horizontal direction of the phone, rightThe y direction is the horizontal vertical direction of the cell phone, the front is positiveThe y direction is the
The effect diagram looks like this:
First of all, let's say to realize Android jump to the Address Book realization idea:
1. Click to jump to the Address Book interface
2. Get Address Book name and cell phone number
3. Callback display name and cell phone number
1 fir
network type is EVDO0int network_type_evdo_a network type is EVDOAint NETWORK_TYPE_GPRS network type is GPRSint NETWORK_TYPE_HSDPA network type is HSDPAint NETWORK_TYPE_HSPA network type is HSPAint Network_type_hsupa network type is HSUPAint NETWORK_TYPE_UMTS network type is UMTSIn China, Unicom's 3G is UMTS or HSDPA, mobile and Unicom 2G for GPRS or EGDE, telecom 2G for CDMA, telecom 3G for EVDOThree, the type of mobile phone formatGet
", new Onclicklistener () {@Overridepublic void OnClick (Dialoginterface dialog, int which) {try {Different Android version network settings interface The Intent-filetr,action in activity is not the same.Different Android versions of the code are not the same.int androidversion=android.os.build.version.sdk_int;Get the phone manufacturer's name through the code,Di
Just learn Android soon, recently Micaela sent me a video, is how to make Android phone SMS transmitter, on the one hand I feel very interesting, the other side can accompany her together, today finished, special to summarize, although said relatively simple, but there is a summary of the necessary.SMS transmitter is mainly used for
If you are still using the original data line when uploading files to your mobile phone, or using Bluetooth for transmission, the data line transmission is not very convenient because it is affected by the line and interface. Data cable connection is used for a long time, which can easily damage the data port of the mobile phone. Bluetooth transmission is relatively troublesome. A computer must have a bluet
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.