Developing Android apps on NetBeans requires installing an Android SDK and an Android development plug-in for NetBeans
Download and install the Android
Android sdk 8-10 Mbit/S download speed, as shown in the figure below1. Force use of http to replace the https Link
Tools, select Options, and select "Use Download Cache" and "Force https ://... Sources to be fetched using http ://..." And use download cache
2. Disable the xml Link Library for the dl-ssl.google.com
/repository/samples-2.1_r01-linux.zip
Http://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip
Http://dl-ssl.google.com/android/repository/samples-2.3_r01-linux.zip
Use the download tool to download the package to your local computer and decompress the package to the directory where the SDK is downloaded according to the following ing relationships
;%android_home%\tools" at the end of the variable value. (If there is no ";" at the end of the original path variable value, enter ";" before entering)Since then, the SDK environment configuration is complete, enter "adb" in cmd,Fourth step: Run Monkeyrunner, connect the simulator or mobile deviceEnter "Monkeyrunner" in Cmd, as shown, to prove that the environment has been built successfullyConnect your mobile device: Connect your phone to your comput
SDK Access (2) on Android Google play inside payment (In-app billing) Access
Next to the Android Facebook SDK access (1) after finishing the Facebook access process, you can then sort out the access process for Google Play in-app billing payments. Google Play is known
Chapter 1 to do a good job, you must first use the Android SDK (2) and androidsdk1.2 device management tools-Introduction to debugging bridge (ADB) 1.2.1ADB
ADB, short for Android Debug Bridge, is a tool that comes with the Android SDK
1.2 Device management Tools-Debug Bridge (ADB) 1.2.1ADB IntroductionThe full name of the ADB is Android Debug Bridge, a tool that comes with the Android SDK, which can be used to manage the Android emulator (Emulator) or the real Android device directly.ADB has a lot of func
elements, it also has the main element attribute.You will also encounter another self-closing element where the start and end tags do not exist independently:
"12345" customerid= "a4d45s" />
The "/" symbol at the end of the element represents the end.All of the resource files we use on the Android platform are XML tags, including layout files, drawing elements, data values, and manifest.2.
Continue to complete the SDK notepad example. Previously, the functions of the entire example are roughly divided:1. display the note list;
2. Edit, view, and delete the tabs;
3. Edit the tab title;
4. Real-time folder of the tab Program (desktop shortcut creation)
[Update] free source code: detailed source code for notepad examples under Android
.
II:What are the main functions of ADB?
1: view the status of the current simulator or Android device instance
The adb devices command is usually used to view the status of the simulator before use. The ADB response information is obtained through this command, and the ADB response information is displayed.
1.1: emulator-5554 is the Instance name
1.2: device indicates the instance connection status. device indicates that the instance is connected t
Android Baidu map SDK v3.0.0 (2) Positioning and integration with direction sensors, androidv3.0.0
Reprinted please indicate the source: http://blog.csdn.net/lmj623565791/article/details/37730469
In the previous blog, we successfully imported the map into our project. In this article, we are going to add a map: first, the positioning function; second, combined wi
Question: Execute failed:java.io.IOException:Cannot Run Program "/USR/LOCAL/ANDROID-SDK-LINUX/BUILD-TOOLS/23.0.2/AAPT": error=2, No such file or directory
Cause: The x86 C + + language library is missing when packaged into APK under 64-bit Linux.Solution: Reference: HTTPS://STACKOVERFLOW.COM/QUESTIONS/17474401/ Cannot-run-program-xx-
modify the source generation
Notation method of Javadoc in code to get new Android.jar with WiFi native interface
(Replace the @hide this notation in the source file with something else, and make the Update-api;make SDK). and the
To the newly added code, you need to modify the makefile as above.
The following is a summary of the knowledge involved in the investigation process:
1 Javadoc and Doclet, a simple look at the use of tools an
Android custom controls Series 8: onMeasure () (2) -- use onMeasure measurement to achieve image stretching without deformation and solve the screen adaptation problem,
The previous article details the principles and functions of the onMeasure/measure method in Android custom controls. For more information, see blog:
Piglet's Android starter Road Day 8 Part 2An analysis of Android network programming--android access to network resources--Reprint Please specify Source: Coder-pigIntroduction to this section:In Part 1, we learned about the concepts of XML files that are used more in network interactions, and what is commonly used in A
Day 8 part 2, the road to getting started with Piggy's Android
This section introduces:
In part 1, we learned the concepts related to xml files used in network interaction and
Parse XML in three different forms: SAX, DOM, and Pull. In part 2, we will
Explains how our applications can obtain resources on the network,
Android: Daily Learning Notes (8) ——— Explore UI Development (2) dialog boxDescription:A dialog box is a small window that prompts the user to make a decision or enter additional information. The dialog box does not populate the screen and is typically used for modal events that require the user to take action to continue execution.
Tips:
DialogA
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.