1. Download the Extract SDK
Download the Weibo Android SDK Pack first:
Open URL: https://github.com/sinaweibosdk/weibo_android_sdk
Download the SDK to the local, unpacked directory structure:
Click to enter the "DEMO-SRC" directory, the structure is as follows:
Import all two of the above items into eclipse!!
2. Lead Demo to eclipse
The file encoding for two items was modified
As for the benefits of Android Studio I don't have to say the following two is enough for you to switch to Android Studio:
1, Android Studio is officially designated by Google, the current official website has been removed from the ADT, you can be in the Android Web site to view, currently only
[Android performance optimization series] memory basics-how to manage memory for Android, android-android
If you like my blog, please pay attention to my Weibo, please click here (http://weibo.com/kifile), thank you
Reprinted please indicate the source (http://blog.csdn.net/kifile), thank you again
Address: http://de
Android: Gravity/Android: layout_gravityDifferences: Android: gravity is used to set the position of the content in the view relative to the view. For example, set the text in the button to the left and center of the view. Android: layout_gravity is used to set the relative position of the view and its parent view. For
At the end of May this year, Google was completely blocked by the wall, all Google's website can not visit, this time including the android.org,googlesource.com,code.google.com. Android's official resources are inaccessible, and it's certainly difficult to download the Android code.
This article is to solve this problem--to explain how to make download from Github.com/andorid andorid the latest source code. As the saying goes, "to give the
, leaving only the two pointed to by '1' (Note: delete all here for convenience. If. jar is used, you can add their paths.
For example: 5.0.1 ContactsCommon uses geocoder-2.9.jar and libphonenumber-6.2.jar)
Click '+' to which '2' points, select 'jars or directories 'to which '3' points, and add the frameworks and external folders in sequence. For example:
Code of other versions may be displayed as follows when frameworks is added:
It does not matter
A brief introduction of Android studioThe Android Studio IDE (Android Platform integrated development Environment) was first released by the GOOGLEI/O conference in 2013. It is based on the IntelliJ idea development environment and is designed to replace Eclipse and ADT (the Android Developer Tool) to provide developer
Android Android-android Application Structure Analysis (4), android Application Development
Description of the automatically generated R. java File
1 public final class R { 2 public static final class attr { 3 } 4 public static final class dimen { 5 /** Default screen margins, per the
Environment: Ubuntu 14.10,openjdk 1.7,android Studio 3.0.0,android-5.1.1_r1 SourceBuild Android Project Engineering:Compile the source code firstMmm development/tools/idegen/development/tools/idegen/idegen.shAfter executing the above command sequentially, the following file is generated at the root of the system. Classpath (Eclipse)ANDROID.IPR (intellij/
For the development platform, if the data storage has good support, then the development of the application will have a great role in promoting.
In general, there are three ways to store data: One is a file, one is a database, and the other is a network. Where files and databases may be used a little more, the file is easy to use, the program can define its own format; The database used a bit annoying lock some, but it has its advantages, such as in the massive data performance is superior, the
Frame Android Studio Downloads installation and configuration development environment tutorialHttp://www.111cn.net/sj/android/74261.htm
Win7x64 Android Stuido installation and building development environment problem solvingHttp://www.111cn.net/sj/android/74265.htm
Mac Download install
); }//until the last location information is obtained, if the last location information is not obtained, the default latitude/longitude is displayed//Gets the location information once every 10 seconds while (true) {currentlocation = L Ocationmanager.getlastknownlocation (Currentprovider); if (currentlocation! = null) {LOG.D ("location", "Latitude:" + currentlocation.getlatitude ()); LOG.D ("Location"," Location: "+ currentlocation.getlongitude ()); Break
Android Baidu map v3.2.0 obtains the actual address
After Baidu map is upgraded to v3.2.0, the api changes a lot, but the downloaded Demo is not the latest version.
Obtain the detailed address before v3.2.0 as long as: option. setIsNeedAddress (true );
However, after the upgrade, the api changes a lot and the attribute cannot be found. So can only study the use of new APIs, but it is a pity that I haven't found the latest usage for getting the deta
Objective:
Today it's still a hot topic around the recent interview. Android 6.0 right fit to sum up learning, in fact, Android 6.0 rights matching our company is only started this May, is relatively late, but now Android more than 6.0 devices more and more, So the Android 6.0 privilege is essential, and here's how ou
Android SDK Android NDK android Studio officialIf the download speed is too slow, please use thunder, Baidu cloud offline and other methods to download.For Linux systems, if you cannot upgrade online, see belowsudo vi/etc/hostsAdd to74.125.206.93 dl-ssl.google.comHere are the various.
2014.7ADT BundleHttp://dl.google.com/
Objective:
File storage is pretty familiar to us in the process of doing app development, but since the Android 6.0 release, access to external sdcard based on runtime permissions is required to dynamically request permissions, So the previous direct SDcard root directory directly created a xxx/cache/directory to do file storage is not so easy to control, so it is necessary to rethink the knowledge of the Android
QR code synthesis, Apple and android (ios and android) are combined into a QR code, allowing users to scan a QR code to download apple and android apps separately. android QR code scanning
Because of the company's promotion, there is no suitable tool to synthesize a QR code from Apple and
After the Apple WWDC conference, the famous Android forum Droid-life released an article comparing iOS 7 with the Android4.2 operating system, and the author, an Android fan, said Google had been too lazy to mock rivals at the press conference, and Apple was still "like a child" The irony of Google, still, the article commented that, in general, with iOS 7, Apple is finally starting to catch up with the lat
What is the function of Android beam?
The Android beam is a new feature based on near-field communications that can share the functionality you're using for other phones. After Android upgrades to 4.1, Android Beam can now share photos and videos between two NFC-enabled Android
Android performance optimization is mainly divided into two points
1, layout optimization
2, memory optimization
Layout optimization
First look at the layout optimization, the system in the rendering UI will consume a lot of resources, so, the layout of the optimization is particularly important
Avoid overdraw
Which is to avoid excessive rendering, excessive rendering will waste more resources, for example, the
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.