android sample projects with source code free download
android sample projects with source code free download
Learn about android sample projects with source code free download, we have the largest and most updated android sample projects with source code free download information on alibabacloud.com
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
As mentioned earlier, Android porting is primarily a Linux kernel migration, and Linux kernel porting is primarily a Linux-powered migration, so in order to develop and test Linux drivers, it is necessary to learn in Ubuntu How to build two sets of development environments under Linux: Android Application development environment and Linux kernel development environment. The construction of the Linux kernel
Common Intent usage in Android-Part 1 (source code download)
Send SMS
When sending a text message, the action we want to use isIntent.ACTION_SENDTOAnd the URI issmsto:Protocol to ensure that the SMS application receives and processes our intent objects, rather than other applications, so as to accurately send SMS mess
protocols, including FTP, ftps, HTTP, https, and Telent, we need to install it to obtain the repo script file from the network.
2. Create a bin folder in the home directory and add it to path.
$ Mkdir ~ /Bin $ Path = ~ /Bin: $ path
3. InstallRepo
DownloadRepoScriptHomeOfBinFolder
$ Curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo> ~ /Bin/Repo
ModifyRepoSo that it can be executed
$ Chmod A + x ~ /Bin/Repo
RepoIsGitVersion library management tool, which can be s
[Update] http://source.android.com/source/downloading.html
The address of the new version has been modified:$ repo init -u https://android.googlesource.com/platform/manifest.git
Download and configure git and repo according to official documents,
$ Repoinit -u git://android.git.kernel.org/platform/manifest.git
After seeing init finished, run the following command. Otherwise, run the command again until the
As mentioned in the previous article, the latest Android source code downloaded from the source code tree does not contain kernel code, that is, the android
For a layman like me who doesn't know much about Unix systems, the source code of Android must be suffering. After a whole day of failure, I finally successfully downloaded it after finding someone else's most recent tutorial. First, provide the original text:
In the past two days, we have started to prepare the source
-jdk
By the way, in the above third step sudo apt-get install sun-java6-jre sun-java6-plugin, a dialog box will pop up, then press the Tab key to switch the focus, then press Enter on the line.
3. other dependent packages. Run the following command on Ubuntu:
USER-NAME @ MACHINE-NAME :~ $ Sudo apt-get install flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl
A lot of software is installed here. copy and paste the command directly.
4. debugging tools. Run the f
.
(This method is used in this article)Generate ppk method (there are also a lot of methods for searching online)
3. Clone the Child Project platform/frameworks/base
A. Command Line clone Project
git clone android@android.kvmpool.com:mirror/platform/frameworks/base
B. Clone the TortoiseGit Client
Click OK to start code cloning.
4. Switch to the code
Google official download source used by the system Ubuntu system, but now we need to download the Android source code files in the Windows system.The address of the website is: https://android.googlesource.com/It includes all the
, dalivk, bionic, prebuild, and build. The purpose of Repo is to manage these projects in a unified manner and simplify the use of git.
3. Curl
Curl is a File Transfer tool that uses the URL syntax in command line mode. Here we use it to obtain the repo script.
Ii. Steps for downloading source code
1. Environment Introduction:
First, introduce my enviro
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.
-----------------------------------------
Android audio and video goes deep into 18 FFmpeg to play videos with sound (source code download) and androidffmpeg
Project addressHttps://github.com/979451341/AudioVideoStudyCodeTwo/tree/master/FFmpegv%E6%92%AD%E6%94%BE%E8%A7%86%E9%A2%91%E6%9C%89%E5%A3%B0%E9%9F%B3%EF%BC%8C%E6%9A%82%E5%81%9C%EF%BC%8C%E9%87%8A%E6%94%BE%
Csdn posts
1. The source code of android can be downloaded synchronously. How can I obtain the source code of Android Linux? Linux website? What version should I get?
Http://topic.csdn.net/u/20110328/16/ab03326f-9309-428e-b52c-0c
wallpaper, a live wallpaper example featuring selectable backgrounds and a fingerprint.
Current Android applications:
Skylight1 TDC-A Test Data Capture Application for Android phones-Available here for download
Skylight1 game the initial app, a game for Android phones called "BalanceThe beer "-available on the
Download msysgit and install
Download: http://code.google.com/p/msysgit/downloads/list,
Open git bash and execute the command
cd D:git clone https://android.googlesource.com/platform/manifest.git
Enter the command to switch to the manifest directory.
cd manifest
Git tag lists the branches of Android
git tag
Download
user directory, create a directory for storing Andorid and a bin directory.1. Install Git and Repo tools for version management and Code SynchronizationSudo apt-get install git-core curlMkdir sourcecode
Cd sourcecodeMkdir binCd binCurlHttp://android.git.kernel.org/repo> RepoSudo chmod a + x repo (get repo permission)
You can modify the environment variables for the repo command and add the following to the. bashrc file:Export Path = $ Ptah :~ /Bin/(n
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.