run linux on android phone

Read about run linux on android phone, The latest news, videos, and discussion topics about run linux on android phone from alibabacloud.com

Android Running Linux executable program

31intMain (intargcChar**argv) { inti =0; intRun_status =1; intBuzz_status =0; intBuzz_file = open ("/dev/buzz", O_RDWR); if(Buzz_file = =-1) {printf ("Open/dev/buzz failed...\n"); return-1; } while(run_status) {Usleep ( +*2 ); I++; if( the==i) {run_status=0; } ifI2==0) IOCTL (Buzz_file, buzz_on); ElseIOCTL (Buzz_file, Buzz_off); } close (Buzz_file); } three. Android.mk:LOCAL_PATH:= $ (Call my-dir) include $ (clear_vars) Local_module:=buzz_test local_src_files:=buzz_

Compile the Android source code in Linux and modify the debugging system.

to compile the source code, cd to the root directory of the source code, and press "make". Then you can check the movie ..In this step, three files with the suffix img will be produced under android/out/target/product/generic/. We recommend that you copy the files,I have encountered a situation where the files are inexplicably lost and the results need to be re-made. If you just need to modify and compile and test the system app, you do not need to m

Install Debian Linux and R on Android

Debian Package for R Software, add the following Warehouse Information/etc/apt/sources.listFile end: deb http:// For the next network, it is both the following address: deb http://mirrors.ustc.edu.cn/CRAN/bin/linux/debian wheezy-cran3/ PassechoYou can easily add the content to the end of the file. Then add the encryption public key: apt-key adv --keyserver keys.gnupg.net --recv-key 381BA480 The installation is as follows: apt-get update apt-get insta

How to download the Android SDK source code based on Linux and Windows platform detailed _android

starts with the shell command tool, operating instructions and rules and Linux. mkdir ANDROID_SDK_SRC set up a directory to store the Android SDK source files CD ANDROID_SDK_SRC into the newly created directory git clone git://android.git.kernel.org/platform/frameworks/base.git download Android SDK source Attached Androi

How to download Android source code (Windows and Linux)

Article Reference Source: http://source.android.com/source/downloading.htmlFirst, window platform on the window platform to download Android source code, the Internet is generally used directly with git to download. For example: http://wenku.baidu.com/view/a4f5f922482fb4daa58d4bb5.htmlhttp://hendyyou.iteye.com/blog/1147738 The most serious problem in this way is that The source code can only be divided into blocks (git blocks) to download, and a lot o

Linux Install Android Studio detailed tutorial

Download the latest version of Android studio2.0, if your Internet is not on this site,Unzip the android-studio-ide-141.2456560-linux.zip to/opt;#chmod +x-r Android-studio//Give full permission #./opt/android-studio/bin/studio.sh//You can run the program; The next insta

Quickly build Android development environment under Linux (Ubuntu) and Windows

Linux and Windows below, download just online search ADT Bundle to download the corresponding file.After unpacking under Linux, note the Change permission, via the sudo chmod command. Then you can run it.3, the Chinese only need to download the Chinese package decompression and then replace the Eclipse directory below.Summary: in fact, Adt-bundle-

Linux orthodox competition in mobile development: MeeGo Or Android?

on RPM, but at least it will be much better than a simple "market place. The software that can be installed through this software management system is the same as the software that is compiled and compiled on other versions of Linux, any programming language supported by the operating system can be used for programming. It is much better than Java layer on Android. Finally, because MeeGo is supported by th

The optimal sequence for building an Android development environment in Linux

Let's take a look at how to configure the Android4.0.3 development environment in Linux (Ubuntu 11.10 ). If you install AndroidSDK first, go to the decompressed path and run the android api version of./android upgrade under the tools directory. After eclipse is installed and adt is installed, the path will not be ident

How to install the Android ADB driver in Linux

1d6b:0001 Linux Foundation 1.1 root hubBus 004 Device 004: ID 093a:2510 Pixart Imaging, Inc.Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Here I am: Bus 007 Device 009: ID 18d1:4e12 Create a configuration file 51-android.rules under/etc/udev/rules. d /. sudo vim /etc/udev/rules.d/50-android.rules Add the following configuration parameters to the file: SUBSYSTEM=="usb", SYSFS{"High Tech Com

The establishment of Android development environment in Linux environment, linuxandroid

The establishment of Android development environment in Linux environment, linuxandroid This article describes how to build an Android development environment in Ubuntu. The IDE is Eclipse (similar to Android Studio, and you can skip the steps of configuring the SDK and installing the adt plug-in ). 1. Install JDK (1)

Build an android development environment in Linux

-sdk_r16-linux.tgz, (2) decompress the tar-xzvf android-sdk_r16-linux.tgz and find the tool directory of the decompressed File (3) execute the android file and run it on the terminal. Note that the SDK must be installed and configured. Select All sdks of version 1.6 and later, and download and install them (connect to the Internet) (4) and so on ......, It may ta

Linux/android Performance Optimization Tool perf

record) and display the Profiles sched Tool to trace/Measure Scheduler Properties (latencies) script Read Perf.data (created by perf record) and display tra CE output stat Run a command and gather performance counter statistics Test Runs Sanity Tests. Timechart tool to visualize total system behavior during a workload top system profiling Tool. See'perf Help COMMAND' forMore information on a specific command. [Email protected]:/# Perf--ver

Error:32-bit Linux Android emulator binaries is DEPRECATED

If your Linux machine is 32-bit, you will get an error when running the Android emulator as follows:Error:32-bit Linux Android Emulator binaries is DEPRECATED, to use themYou'll have the least one of the following:-Use the '-force-32bit ' option when invoking ' Emulator '.-Set android_emulator_force_32bit to ' true ' i

Common communication mechanisms in Android and communication mechanisms in Linux

communication between each application, namely interprocess communication, the most IPC mechanism used in Android is the binder mechanism. First we introduce the principle of IPC mechanism, 2 shows the IPC mechanism from the perspective of process. As you can see, each Android process can only run in its own virtual address space. For a 4G virtual address space,

Download and compile Android source code under Arch Linux

code can be compiled smoothly, but due to the rolling upgrade feature of Arch Linux, the high version of the GNU make has been able to correctly use the wrong rule. Causes a compile break. You need chipram/Makefile to change the method, such as the followingDiff--git A/makefile B/makefileindex3017572..A32df100644---a/makefile+++ b/makefile@@- the,7+ the,7 @@ $(Splobjdir)%.O:$(Srctree)/nand_spl/%.C$(CC)$(CFLAGS)-mlittle-endian-dconfig_nand_spl-c-O[ema

Cordova3.6.3 download and install and create a consolidated Android project for Linux (Fedora 20)

Note: The Crodova2.9 version will not be able to download the zip directly after installation, you need to install Nodejs first. The following is an example of Linux (Feoda 20)First, install Nodejs $ sudo yum install NodejsSecond, put the Cordova installed in the application/directory (Installation location arbitrary)$ cd application/into the directory$ NPM Install Cordova installationThird, go back to the root directory configuration environment vari

Android Kernel Analysis Reading Notes Chapter 2 Linux Basics

The underlying task management and driver of Android are based on the Linux system; The file system used in Linux is very different from that used in Windows (storage file system). It uses the root file system (rootfs) and has the following features: All resources in Linux are files, such as disks, USB flash dri

Common android tools and skills in Linux

After more than a year of work, I have summarized common android tools and skills in the Linux environment. On the one hand, we will consolidate our previous knowledge and share it with you. The tools and skills here may be useful to you. I. Terminal1. Create a terminal Ctrl-alt-T2. Create a new terminal window Ctrl-shift-T 2. Install/Update Software$ Sudo apt-cache search XXX search for Software containin

Build Linux Android Development environment

Because Android itself is Linux, in order to avoid all kinds of unnecessary pits, so the development of Android under Linux. Of course not familiar with Linux, choose Windows Development is the same, no problem, personal habits. Say something about my development environment

Total Pages: 9 1 .... 5 6 7 8 9 Go to: Go

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.