how to compile I9250 rom based on android4.4.2 source and ANDROID-4.3.1_R1 driverRain 2014-05-04 Contact information: dennis.hu.cd at gmail.comDescription:After a lot of tossing and turning, I finally compiled the source code of Android4.4.2 successfully ran on my Samsung Galaxy Nexus I9250 phone. The period is inseparable from the help of a foreign friend, the author of reference [1] Sato Kensuke. The proc
of the target mobile phone you want to develop. It is best to check it all, and then click Install Package to follow the prompt next. accept allows installation to wait (this is a slow process)
Step 5: Configure Android AVD (Virtual simulator)
Open Eclipse (eclipse/eclipse.exe ), then open the AVD manager from Windows> Android Virtual Device Manger.
Click the New button to create your New AVD. For example
Modify common parameters of build. Prop files in Android Rom
Modify common parameters of build. Prop files in Android Rom
/System/build. Prop File
Build. Prop is an attribute file. In Android, The. Prop file is very important and records system settings and changes, similar
represents the corresponding source code line number, which is very important for debugging .. Metho and. End method indicate the beginning and end of a method definition. For the functions of these commands in the smali file, refer to commands.The source code of the. Line 39 code isTxtview. settext (R. String. hello_activity_text_text)Now we want to change this line of code to txtview. settext ("happy, cracker! "), Change the code from. Line 39 to. Line 40:. Line 39. Local v0, txtview:
Organized the use of methods and resources:Android developers are aware that the native simulator starts relatively slowly, does not operate smoothly, and there will be inexplicable problems. Of course many people will choose to use the Android phone directly to develop, but sometimes need to show the program on the projector when the phone is not very good to do it. Here we introduce a very good Android si
The Deep OS is an Android third-party ROM, based on Google's Android code two shendu.com, based on the bottom of the optimization and development, so even in the lower configuration of the thousands of smart machines, but also the smooth running of the latest version of the Android system, in the user to update quickly
RAM: Run-time memory. Equivalent to the memory storage of the PC, used to store various objects and variable constants when the application runs, the main role is to improve the speed of operation. Is the only memory that the data clears after a power outage.Body Memory: Equivalent to PC hard drive. It consists of three areas: ROM, internal memory and external memory.ROM: Read-only memory. This section of the file can only be read, non-erasable, such
Description of the scene:This article only validates the use of the JSON key as the parsing speed of the deserialization condition in an Android environment . The conclusion is that the fastest resolution is not Ali's Fastjson, not Google's Gson, but Json-smart.Android 4.4.2Fastjson-1.1.34.android.jarGson-2.2.4.jarJson-smart-2.0-rc3.jar* * Note the conditions of the scene * *Core code:Package Com.h3c.mytest
downloaded Adt-bundle-windows-xxx-xxx.zip directly to the location you need to install.Fourth step: Install the Android SDKOpen the extracted folder inside the SDK Manager.exe (You can also run Eclipse/eclipse.exe and then open via Windows--Android SDK Manager)Tick the Android version of the target phone you want to develop, preferably all on the hook, and then
First let's give you a installation Tutorial: From: http://my.oschina.net/ryanhoo/blog/141824
Still using the android native simulator?
We recommend you an all-round Android native simulator that turns into scum in seconds: genymotion!
Why?
Superior PerformanceAs the fastest Android simulator in history (none), the
Downloading cm source code is actually similar to downloading Google's pure Android source code. below is the official cm website. You need to download the ROM corresponding to your mobile phone and put it in the sdcard root directory, just in case.
Http://www.cyanogenmod.com/
Next I will introduce another website: http://forum.xda-developers.com/index.php
This is an xda developer forum, where experts like
Because cm2.3.7 has some problems, if you need to use a stable version of cyanogenmod 2.3.4 to compile and download the corresponding vendor file, you can download it to my online disk.
Vendor: http://115.com/file/dpi59mxv
Custom sdks are often added to the source code during development of custom Rom. For example, many added functions in Xiaomi miui use custom methods during coding, these all need to be compiled into the SDK. during development, the
!hahaTip of the day will recommend you some of the skills of using Android Studio, shortcut keys and so on, so I hope you can take a minute to see, a daily accumulation, six months after a year you are the king of the development of efficiency!You can select Help->tip of the day from the menu at any time to viewConclusionSpent a weekend to summarize the rapid development here to the end, because of time, there must be many aspects of insufficient or n
1. First create a new the3rdapk directory under the vendor directory, you will need to put the built-in apk, the directory name is arbitrary.2. On the last side of Build/target/product/common.mk, join your APK before $ (call Inherit-product, $ (src_target_dir)/product/core.mk)The first part is the path to the local apk, and/system/app/represents the directory that is copied to the system image.If there is no second part, the following compilation error occurs:build/core/product_config.mk:227: *
Scenario Description:
This articleOnly verifies the parsing speed of using Json Key as the deserialization condition in Android Environment. The conclusion is that the fastest resolution speed is not Alibaba's fastjson, nor Google's Gson, but json-smart.
Android 4.4.2
Fastjson-1.1.34.android.jar
Gson-2.2.4.jar
Json-smart-2.0-RC3.jar
** Note the limitations of the
downloaded Adt-bundle-windows-xxx-xxx.zip directly to the location you need to install.Fourth step: Install the Android SDKOpen the extracted folder inside the SDK Manager.exe (You can also run Eclipse/eclipse.exe and then open via Windows--Android SDK Manager)Tick the Android version of the target phone you want to develop, preferably all on the hook, and then
{ //defines a file byte output stream with the name sFileName fileoutputstream fos = openfileoutput (sfilename,0); The file bytes are input into the file character output stream outputstreamwriter outwriter = new OutputStreamWriter (FOS); Then convert the file character output stream to the cache character output flow bufferedwriter BufferedWriter = new BufferedWriter (outwriter); Use the Write method to write information to the file Buffer
Explanation of the annotation mechanism of the fastest development framework XUtils of Android, androidxutils
In the previous article, XUtils, the most popular development framework of Android, briefly introduced the basic usage of xUtils. This article describes the annotation principles in xUtils.
Let's take a look at the demo code in xUtils:
@ViewInject(R.id.t
Genymotion directory, or go to the window-preferences configuration:The General configuration directory is: C:\Users\Administrator\AppData\Local\Genymobile\GenymotionClick on the icon in the red circle when the configuration is completeAfter clicking:This indicates that the configuration was successful.NoteThe above two simulators were created in genymotion before me. However, when selected, clicking Start does not start directly as you would open the simulator in ANDROIDSDK. You need to manual
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.