There are a lot of tutorials on using WiFi to connect Android devices to debug apps, but you need to use Bluetooth to communicate in your project. So it involves using Bluetooth to call ADB.1. Pairing your computer's Bluetooth with your phone (Control Panel, devices and printers, adding devices)2. Set on the phone (set à many other wireless connections à network share à bluetooth shared network)3. PC-side,
1. Androidstudio or eclipse is already installed2. Download and configure the Android SDK3. Connect your Android phone to your Mac via the USB cable and open the terminal input System_profiler Spusbdatatype4. Locate the product ID of the corresponding device and copy it5. Terminal Input VI ~/.android/adb_usb.ini, enter
The most comfortable tool for debugging the WebView-based hybrid app is of course Chrome's own developer tools, including our familiar DOM tree debugging, JS debugging, network monitoring and more.Google offers the steps to debug WebView on Android:
Turn on the USB debugging feature on your phone
Open Chrome Browser, address bar input: Chrome://inspect, enter
Chrome automatically detects th
There are a lot of tutorials on using WiFi to connect Android devices to debug apps, but you need Bluetooth to communicate with your project, so it involves using Bluetooth to call ADB.1. Pairing your computer's Bluetooth with your phone (Control Panel, device and printer, add device)2. Set on the phone (set à more wireless connection à network share à bluetooth shared network)3. PC-side, device and printer
By default, no tcpdump is available for Android, And the next version of other people's port on the internet is enough. This is easy to Google and I will not go into details. You can also download the source code from the http://www.tcpdump.org. After ndk R5, compile it with toolchain.
If we use tcpdump to debug HTTPProgram, Which can be written as follows:
1. In Android Studio, change the app's default boot target to USB device, click "App" → "app Configuration" and select "USB Device" in "Target device".2, connect the phone with the computer, open the phone on the "settings" → "Developer Options" → "USB debugging", the computer will automatically find and install debugging driver, if not automatically installed can download handset WindRiver or 360 mobile ph
, the/data/data/[package name]/files. But open the DDMS, found the data directory point, no display content. This means that there is no permission to access this directory.2, find the terminal under as, enter the ADB shell, and then assign permissions to the data directory. Using the command chmod 777/data, the result shows that the command is terminated, which means that no permissions are executed.3. Use Su root to try to change root account without root account.4,
Android provides a downloadprovider, which is a complete download tool. It provides good external interfaces that can be called by other applications to complete the download. It also provides download, notification, and storage mechanisms.This downloadprovider is used in Android
The previous articles have introduced how to download and compile the Android or CM source code, but they are always in the extended series.With the deepening of learning, the android source code is of great reference and learning value. We strongly recommend that you download, compile, and learn it. Therefore, we will
speed> 1 MB/S. All SDK versions are completed in minutes. Is the SDK and Tool I installed and various APIs and documentation: (Figure 1 shows the SDK and Tool that comes with the integrated Tool before download)
[3]What is permanent
1. After downloading these installation packages and tools, you can view the api and sample offline. You do not need to go to the android official website to view the Re
there is the choice of the API. We can see that there are many versions of the API available from Android 2.2 to Android 5.x, so how to choose. Here I suggest, novice words, choose a latest version just fine, because Android is backwards compatible. Other later you have to use the download on the line (because the spe
Official Website
Android-1.5_r04-macosx.zip
50.0 m
Official Website
Android-1.5_r04-linux.zip
50.8 m
Official Website
Android-1.1_r1-windows.zip
44.6 m
API Level 2
Official Website
Android-1.1_r1-macosx.zip
43.4 m
Official Websi
phone model information
Get the model name
Android.os.Build.MODEL
//Get SDK information
Android.os.Build.VERSION.SDK/
/Get version number
Android.os.Build.VERSION.RELEASE
So it can be written in code
if (Android.os.Build.MODEL.equals ("Meizu_m9")) {
System.out.println ("I am M9 cell phone");
}
2.Logcat description
Android development in a total of 5 log information filters are VERBOSE,
The complete handout for Android/OPhone development has been published.
Purchase: China-pub)
Sample chapter download
The source code of this book is now fully open
Android-OPhone-src.zipAndroid/OPhone development handout source code
Downloads: 82 hours ago
DirectoryPrefaceChapter 2 Android Entry 11.1 Basic conce
Customize the Android System (configuration and image files of the relevant system), for reference: driver_all_in_one_v1.0--mt6735_6753.pdf documentation, specifically the download section.The corresponding software is: Smart Phone Flash Tool, usually in the download section of the menu bar to select the operation.Download-agent (
Document directory
1. Install JDK
2. Install the compilation tool
3. Create a working directory
4. Install the repo version management tool (based on Git-based development to facilitate git Resource Management)
5. Prepare to download the android source code.
6. configure a repo account
7. Download the source code of
1 Android Studio 1.02 Eclipse+adtA download an ADT bundle version and install it directly.B Download and install Eclipse, SDK Tools, ADT plug-ins separately. (because of the network cause the process is too troublesome):http://www.android-studio.org/http://www.androiddevtools.cn/Http://developer.android.com/sdk/index.html (official)Note: Realize the difference be
This article describes how to download and compile the Android source code in Ubuntu. What is the Android source code? Android source Code refers to the Android platform and software source code, not just the Linux Kernel. We often say that Linux Kernel is only an integral p
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.