Recently, we have studied Bluetooth Serial Communication in Android and successfully tested the serial communication between mobile phones and single-chip microcomputer.
You can search for [Bluetooth spp] or serial port communication assistant in
Let's briefly describe how to import apidemos. It is very simple to use Juno and later versions of eclipse. Click new -- Other and select the android sample project under android.
Reprinted please specify reference address:
The specific usage is as follows:
1. Download
Download the http://code.google.com/p/microlog4android/downloads/list and microlog. properties files to the microlog4android-1.0.0.jar
2. Create a logger object
Private Static final logger =
1. How to obtain the MAC address of a local machine from Android:
You need to add permissions to the androidmanifest. xml file:
Public String getlocalmacaddress () {wifimanager WiFi = (wifimanager) getsystemservice (context.
1. viewgroup Overview
Before studying viewgroup, let's take a look at the introduction of viewgroup:
/*** A viewgroup is a special view that can contain in other views* (Called children.) The view group is the base class for layouts and
Android provides great convenience and flexibility for application developers in the UI part. I will not list them here. This article will show you through a small example.
Many shoes that have used Sina Weibo mobile client android must have an
Android 4.1, abbreviated as JB. In Chinese eyes, the word JB is also related to animals. Google modified android so frequently, and finally launched a version that can be put on the mouth of JB all day long. In the future, my articles can also use
Four main components of Android development are:
Activity: Used to present functions.
Service: the service runs in the background and does not provide interface rendering.
Broadcastreceiver: used to receive broadcasts.
Content Provider: supports
The first application running after Linux kernel is init,Init is the next application in Linux. Its source code is in system/CORE/init. Main is the entry of the application. From the main () function, you can know the main functions of
1. download the ndk-r7b, because R7 and later versions inherit cygwin, (make GCC), so after downloading and unzipping, even if the environment is configured, it is best to restart the installation of the next CDT, to facilitate the compilation of C
1.Free Android developer ebook: andbook!
This is a free ebook. It provides Android Developers with an entry-level programming guide.
2.Free Android developer ebook: Professional Android Application DevelopmentThis is a user manual that provides
Write down and share it. It is too easy to decompile androidapk. If your SDK is old enough, you can bypass it. If the SDK is new, okay. Obfuscation of APK. It does not mean that ndk should at least encrypt Java, if it is not an open-source project.
The method for calling the system image browser is as follows:
Java code
Intent intent = new intent (intent. action_pick, Android. provider. mediastore. Images. Media. external_content_uri );
Startactivityforresult (intent, image_select
You cannot call oncreate when converting an android screen.
When the screen of the Android device is automatically rotated horizontally and vertically, the oncreate function will be called again each time for initialization. If the loading data
When developing with androidndk, it is annoying to create a local code folder, generate a local code file, and create a compilation file for the local code. Especially when implementing local methods, it is also annoying because the local method
Data is the core of Shenma platform, Shenma development environment, Shenma software program. For the development platform, if you have good support for data storage, it will greatly promote application development.
Generally, there are three Data
Reprinted: Android China Forum
Http: // 211.151.248.110/bbs/thread-22-1-2.html.
Bytes -----------------------------------------------------------------------------------
I,Official website, including androidBranch version and mobile phone
I. Summary of technologies involved in development:
Tabhost tab component, pagerAdapter Implementation of Sliding Screen between left and right, json data parsing, xml data parsing, ListActivity and BaseAdapter combined to display the list of data
If you want to ensure that your programs are more secure, you can use the following measures to improve program security:
1. Do not store sensitive data on external storage devices, such as memory cards. Store the user name and password in the
When designing applications, we hope to be able to adapt to various devices as much as possible, including 4-inch screens, 7-inch screens, and 10-inch screens. The Android Development Documentation provides us with reference, in addition, Google Io
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.