Earlier, the "most popular Open source project" series on the GitHub platform launched by CSDN Mobile channel sparked a buzz among many readers, in the "Get it straight!" The hottest Android Open source project series (i),(ii) , we have also counted 40 of GitHub's most popular Android open source projects. For so many of the projects on GitHub, someone keeps mark
Cocos2d-x has not launched the mobile game "Magic blocks" source code "Open Source" win32 + Android + iOS three-in-one, Android cocos2d
Haomeng is devoted to his contribution and respects the author's Labor achievements. For details, refer to the source From haomeng.
If the article is helpful to you, you are welcome to donate to the author, support haomeng mas
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
This article describes how Android obtains information such as the version of a mobile phone system. Share to everyone for your reference. as follows:
String Phoneinfo = "Product:" + Android.os.Build.PRODUCT;
Phoneinfo + = ", Cpu_abi:" + Android.os.Build.CPU_ABI;
Phoneinfo + = ", TAGS:" + Android.os.Build.TAGS; Phoneinfo = ", Version_codes. BASE: "+ Android.os.Build.VERSION_CODES."
BASE;
Phoneinfo
This paper illustrates the method of Android to realize the vibration setting of mobile phone. Share to everyone for your reference. Specifically as follows:
Main.xml Layout file:
Manifest file:
Vibrateactivity class:
Package com.ljq.activity;
Import android.app.Activity;
Import Android.app.Service;
Import Android.os.Bundle;
Import Android.os.Vibrator;
Import Android.widget.Comp
Android mobile guard-home interface layout, android-home
This article implements a progressive fade-in animation effect when you enter the hone interface from the splash interface. The Code is as follows:
/*** Add a light animation effect */private void initAnimation () {AlphaAnimation alphaAnimation = new AlphaAnimation (0, 1); alphaAnimation. setDuration (3000)
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
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
Android solves the problem that the mobile phone cannot find the hotspot after the hotspot is opened through custom settings ., Android hotspot
During the development process, the mobile phone cannot find the hotspot after the hotspot is opened through custom settings.
Later, by viewing the hostapd. conf file in the/
Android mobile guard-md5 encryption process, android-md5
In the previous article, we stored the user's password using SharedPreferences, and opened/data/com. wuyudong. the config. import the xml file to the local device to view the content:
The password is in plain text, which is very insecure. Md5 encryption is used here
For more information, see http://www.cnb
The Neon City (Neon) released Neon City is a very classic racing mobile phone game, the game has a new racing, cool special effects and beautiful game lighting screen design. Interested in the small partners to download the Neon City hand tour Try it! This is a good game yo! Game Introduction "Neon City" is a beautiful light-screen racing mobile phone games. In this game, you will be a pilot flying a space
Android mobile phone vibration settings (vibrator) Steps:
A, through the system services to obtain mobile phone vibration services, vibrator vibrator = (Vibrator) getsystemservice (Vibrator_service);
b, after the vibration service to detect the existence of vibrator:
Vibrator.hasvibrator ();
Detects if the current hardware has vibrator and returns true if it ha
Method One, use 360 handset assistant to carry on the backup with the computer
1. First the computer online and then install 360 mobile phone Assistant in the computer, then the phone to be backed up using the data cable to connect the phone, and then click on the bottom right of the "Data Backup" button below.
2. In 360 we can choose to backup the SMS, address, etc., select the backup location, where the default desktop. Then continue to select "On
Android ignores screen unlock protection Interface1 PrincipleAndroid has three screen unlocking protections: Pattern unlocking, PIN password unlocking, and password unlocking. The interface is as follows: Chart 1: Unlock page; Chart 2: PIN password unlock page; Chart 3: Unlock pageWe can use java. lang. object. android. app. keyguardLock, a subclass of KeyguardManger, can control the Disable screen lock int
Android mobile guard-navigation interface 2, android guard
For more information, see http://www.cnblogs.com/wuyudong/p/5947504.html.
In the previous article, the layout of navigation interface 1 is implemented and related logic code is compiled, as shown in:
Click "Next page"
public class Setup1Activity extends Activity{ @Override protected void onCreate(B
Android mobile guard-layout of navigation interface 1, android guard
For more information, see http://www.cnblogs.com/wuyudong/p/5943005.html.
This article implements the layout of navigation interface 1, as shown in:
First, analyze the layout style used:
The content of the activity_setup1.xml layout file is as follows:
The layout in the lower right corner is
In Android, follow these steps:
A. Obtain the mobile phone vibration service through the system service. Vibrator vibrator = (Vibrator) getSystemService (VIBRATOR_SERVICE );
B. Check whether the vibrator exists after obtaining the vibration service:
Vibrator. hasVibrator ();
Checks whether the current hardware has a vibrator. If yes, true is returned. If no, false is returned.
C. Make appropriate calls
Optimization of mobile phone storage performance and android performance in the android systemI. How is the storage performance enhanced?Ii. Enhanced storage performance: emmc standard evolution optimizes storage performanceIii. Enhanced storage performance: wrapfs replaces fuse to optimize built-in sdcard Performance
Iv. Enhanced storage performance: f2fs repla
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.