1. What is Android?
Android is an open-source mobile operating system developed by Google based on the Linux platform. It includes the operating system, user interface, and ApplicationProgram-- All software required for mobile phone work, and
Download the androidlua library from here
Complete sample project
As an embedded scripting language, Lua can be embedded into various environments. Next we will demonstrate how to embed Lua into Android.
Lua: the latest version 5.2.1
Http:/
As more and more functions are being developed for Android applications, the startup speed is getting slower and slower. Is there a way to make your application start faster?
Methods are developed by humans. Let's talk about my implementation
Two days ago, I was asked if I knew about ndk development in Android. At that time, I was told that I had heard of such a toolset. But I knew nothing about what to do, how to use it, and why to use it. So I decided to study hard. Ndk is the latest
Customize a view and deploy it in the layout file. The execution program reports the following error:
E/AndroidRuntime( 1292): FATAL EXCEPTION: mainE/AndroidRuntime( 1292): java.lang.RuntimeException: Unable to start activity
In Android development, you often need to know the screen height, width, Status Bar, and Title Bar Height.
Width and height
WindowManager windowManager = (WindowManager) getSystemService(Context.WINDOW_SERVICE);Display display =
[17:46:14-emulator] failed to allocate memory: 8[17:46:14-emulator][17:46:14-emulator] This application has requested the runtime to terminate it in an unusual way.[17:46:14-emulator] Please contact the application's Support Team for more
For applications, data storage is very important. In [Android evolution 13], sharedpreferences is stored in simple key-value format and stored in mobile phones in XML format. This is simple and convenient, A good data storage tool can only store
The general idea of multi-thread download is to implement file segmentation through the range attribute, and then use randomaccessfile to read and write the file, and finally merge it into a file.
First, let's take a look.
Create a project
Configchanges attribute usage in Activity
By setting this attribute, activity can capture device status changes. The following content can be recognized:
Config_font_scale
Config_mcc
Config_mnc
Config_locale
Config_touchscreen
Config_keyboard
Config_
The mobile app that you encounter or are using
1. Mount paragon NTFS & HFS + v1.9 in NTFS format. The SD card mounting and unloading Tool
2. usb otg Cable
Why is there a four-wire USB cable? You guessed it. It is used to tell the device that
Proud apple, selling cute android.
From the perspective of personal psychology, Android's little robot is fascinating,
A bite of Apple pays more attention to design and is simple and exquisite.
If there are two systems, I think it's better to buy
Android pull-down refresh, which is currently used by many applications.
For example, pull down Weibo to refresh more data.
In general, the listview we are using implements a drop-down to obtain more data. It is only the listener that pulls the end
Android development: Audio Playback
/*
* Android development: Audio Playback
* Beijing Android Club group: 167839253
* Created on: 2011-8-23
* Author: blueeagle
* Email: liujiaxiang@gmail.com
*/
Audio Playback
There are two ways to play audio on
This problem occurs recently when an android application is used. The customer requires that the function be registered before it can be used, and the program itself is not used online. Therefore, the machine code registration mechanism should be
First, we read the file from the SD card to play the file !!
1 ,:
Work in advance and put music files into the SD card,
2. layout file main. xml
3. Activity
Package CN. csdn. activity; import Java. io. file; import Java. io. ioexception;
When writing an APK program, it usually causes program crash exceptions. In general, these exceptions cannot be caught. Use thread. uncaughtexceptionhandlerThese exceptions can be captured. It can be seen from the name that
With the popularity of mobile phones, we have changed from non-smart phones to smart phones, from custom machines without operating systems to smart phones, but the only thing that hasn't changed is the SIM in mobile phones, today we will talk about
Android provides the "Contact" application, which is easy to use. It includes some common data type fields, such: contact name, phone number, Im address, email address, and so on. However, Android does not store the contact information as we think:
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service