AOSP on MAKO (swipe Android 4.4 source bundle on Nexus 4-download/configure/compile/Brush)Special thanks to Google official documents and AOSP Open sourceReference Links:https://source.android.com/source/building-devices.html (official source brush device)Https://developers.google.com/android/nexus/drivers#makokrt16s (Hardware driver package, such as just run the
install zip curl libc6-dev libncurses5-dev: i386 x11proto-core-devsudo apt-Get install libx11-dev: i386 libreadline6-dev: i386 libgl1-mesa-dev: i386sudo apt-Get install g ++-multilib mingw32 openjdk-6-jdk tofrodos Python-markdownsudo apt-Get install libxml2-utils unzip tproc zlib1g-dev: i386
There should be no problems.
6. Install Repo
Cdmkdir bincurl https://dl-ssl.google.com/dl/googlesource/git-repo/repo> ~ /Bin/repochmod A + x ~ /Bin/repoalias repo = "~ /Bin/repo"
If we need to run th
This article is a summary of this chapter in Deep Exploration for Android-HAL and driver development, recording your own learning.
The Android Source Code contains many things, such as applications embedded in the Android system.(Photos, calculators, calendars, Dialers, etc.) source code, Android SDK with various tool
Compile the android-2.3.3_r1 instead of the latest version to fl the system to the Development Board. An error occurred while extracting the system source code provided by the Development edition, which caused me to download the source code and compile it.
1. The source code can finally be downloaded at last night. Google's source code downloading documentation
Today we have compiled 16 of the most popular Android Apps, mainly based on the download volume of 2013 of users, which is sufficient to prove their popularity. If you haven't installed them yet, try it now!
Address: http://thetop16.com/top-android-apps-169.html
1. Facebook (Social)
Keeping up with friends is faster t
Android custom control development (1), android Control
As a creative developer or software with high requirements for uidesign, you will often encounter situations where the control provided by Android cannot meet your needs, we can only implement controls suitable for projects on our own. In addition,
skipped, you need to change "repo" in the above command to "../bin/repo" so that the terminal can recognize the repo command.6. the user name and email address are required. You can enter them randomly. If you want to submit a bug to google in the future, you need to enter a valid google account. If "repo initialized in/home/taskiller/android" is displayed, the initialization is complete and the source code can be downloaded.
Android/java http multi-thread breakpoint download (with source code)
First look at the project structure:
The multi‑thread http breakpoint download involves several modules, such as databases, multithreading, and http requests. It is not difficult to find out many things. Next, I will share my practices with you.
I. first look at MainActivity. java
Member varia
, this is the right effect. Our view is full screen, and the component itself will block the content in our view, there will be no more useless strips to block ....
At that time, although I wanted to solve the xml layout problem, I first wanted to add buttons directly in the surfaceview defined in our xml, but the view cannot be added! So there is no way, just think about whether it is a layout problem. After several attempts, we finally succeeded.
Android
problems.
6. Install repo
Copy codeThe Code is as follows: cd
Mkdir bin
Curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo> ~ /Bin/repo
Chmod a + x ~ /Bin/repo
Alias repo = "~ /Bin/repo"
If we need to run the repo at any time, we 'd better configure the repo in the environment:Copy codeThe Code is as follows: vim ~ /. Bashrc# After opening the file, add alias repo = "~ /Bin/repo ", save and exitSource ~ /. Bashrc
In this user environment, you can repo wherever you are.
}
Void OnGUI (){
// Call hello world
If (GUI. Button (new Rect (50,50, 200,40), "Open Activity download ")){
M_activity.Call ("StartActivity1", "the android method is called up in Unity ");
}
// Call hello world
If (GUI. Button (new Rect (50,250,200, 40), "Open Activity N2 ")){
M_activity.Call ("StartActivity2", "the android method in Unity is called 222 ");
}
the/data/data/package name/files, the directory is the application private directory, the application and read and write permissions.
Then we get the output stream of the file, write the data we read from the network to the stream, and finally close the stream.
Note: In order to use the Context.getfilesdir () function, a context parameter is added to the function, so the previous Dodownloadfile method also requires
Add this parameter declaration. Do not forget to add this parameter where you
Starting with Android 2.3 (API level 9), Android uses system Services (service) to provide download Manager to optimize the processing of long-time download operations. Download Manager handles HTTP connections and monitors status changes in connections and system restarts t
already registered as an apple developer, you will have to create an Apple id in order to download.2. Install macports from http://www.macports.org /.3. Make sure that/opt/local/bin appears in your path before/usr/bin. If not, addExport Path =/opt/local/bin: $ pathTo your ~ /. Bash_profile.4. Get make, git, and GPG packages from Port:$ Posixly_correct = 1 sudo port install gmake libsdl Git-core GnuPGIf usi
When you use AVD manager to upgrade the SDK, it will be online and slow. During the upgrade, you will find that a temp folder is generated under the SDK Directory, which downloads the file to this temp folder, then we upgraded it. Unfortunately, it was too slow. We have thunder. Download these files in thunder and copy them to the directory. Then we can use AVD manager to upgrade it. A little bit of experience, share with the brothers.When you see tha
1. Install ubuntu12.04
I personally prefer to develop in windows, so I chose virtual box4.1.16 for Ubuntu installation. The specific methods for installing Ubuntu on a virtual machine are not described here, the only note is that the hard disk storage image is larger, and I open 60 Gb. It is best to select "Dynamic Storage Allocation ", this is because a large amount of space will be used to compile the android
Download Android 4.0.1 source code, compile and run the simulatorHttp://blog.csdn.net/rambo2188/article/details/6943382Http://www.linuxidc.com/Linux/2011-11/47808.htmNote: This article was first launched by rambo2188 on csdn. It seems that this article is reprinted on linuxidc.
----------------------------------------------------------------[1]
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.