Configure android in Ubuntu
First of all, I am using jdk1.6, eclipse3.5, ubuntu10.04
1. Install JDK, JRE
Sudo apt-Get install sun-java6-jdk sun-java6-jre
Then set the environment variable
2. Install eclipse
1. sudo apt-Get install
Last week, I came to an android intern. Although I was half a year younger than me, I looked very good at people like a big brother. I have never been engaged in writing since I graduatedProgramBut the so-called data and so on. Maybe he is born to
Method: Create (context, Uri URI)Explanation: The static method creates a multimedia player through Uri.
Method: Create (context, int resid)Explanation: The static method creates a multimedia player using the resource ID.
Method: Create (context,
Recently, I made a title similar to the sliding menu bar. The grildview is used to bind the data source. To achieve horizontal sliding, The grildview displays only one row. Finally, the layout is dynamically added to the activity in the form of code.
Recently, an input box pops up on the filter list to allow the user to choose to place an order. That is to say, after the order button is triggered, the input box is automatically displayed again, And editext gets the focus.
Specific
I recently learned about WebService. I feel that it is convenient to use this excuse to develop the android client of my website. I will use a tool class. Remember it here.
Public static final string webservicenamespace = "" // address public static
If an android earlier version Project (such as Android 1.5) is placed in a later version environment (such as Android 2.2), the preceding error may occur. The solution is as follows:1. If you do not modify the android SDK version, use the Project
prerequisites: Use a networked simulator or mobile phone for debugging
1. Change the XML file
2. Change the androidmanifest. xml file
package = "tianshuai. webview " Android: versioncode =" 1 " Android: versionname =" 1.0 "> Android:
Add the add-on attribute to solve the problem that Android phones do not support the add-on attribute, the mobile PC assistant will display "your machine does not support the add-on Attribute". If you directly use your mobile phone, it will show:
Android is based on Java, and Java decompilation tools are powerful. Therefore, android can achieve 100% decompilation and restoration for normal APK applications.
Therefore, if developers do not prepare their own open-source projects, they need to
Using the old key access will pop up a prompt asking you to: http://code.google.com/apis/maps/documentation/javascript/v2/introduction.html#0btaining_Key to apply again. Google does not apply for API keys in this way, but instead manages all APIs
Android uses a timer to update the UI in onreciver. In the timer thread, the UI cannot be directly updated. Handle must be used to register a broadcast, send a broadcast handler at the scheduled time and when the conditions are met. After receiving
Recently, we need to sort out Android-related knowledge points. 1. asynchronous processing reduces oncreate execution time 2. service Usage 3. startactivityforresult onactivityresult asynchronous mode 4. obtain the local IP address. bluetooth
Android timer and time counter implementation
Requirement: The default value is "00:00:00". The timer starts after you click the start button, as shown in 10:28:34. Click Stop to stop timing.Problem: the calendar dateformat method is used. If the
Let's talk about how Android Bluetooth 4.0 ble low-power applications have been developed over the past few months. The time for this blog is, and the time for later updates is also indicated. I began to look forward to the various features of
This week, I learned gallery again by taking advantage of the rest time, and then I wrote a picture browsing stuff.
First, let's take a look at the interface:
Click the image below to display it.
The Code is as follows:View code
I. linux root directory structure
Directory Name
Description
Bin
User-level binary Tool
Boot
LinuxKernel image files and boot-related files, which are read and loaded by the bootloader program
Dev
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