long it took, noon at the beginning of the Night 6 o'clock back).7.Category Bar Find Devel Click on the right to make default the install, other packages default. Installation can be done.8. Test. Desktop Point Open the program, enter the make-v,gcc-v instruction test.(II) Installing the NDK1. Download the NDK (window.zip version), e.g. Android-ndk-r8-windows.zip2. Unzip to a directory, such as D:\
Original: Android Project Combat (33): As under get get dependent on the three-party jar file, AAR to jarUsing the Android Studio development project, there are several ways to reference the three-party code: Jar package, class library, Gradle.build compile dependency.You'll find that many of the projects on GitHub offer only compile dependencies, but what happen
This article provides 2 pieces of Android code, the implementation of the download from the Android client zip file and implementation of the ZIP file decompression function, very practical, the need for Android developers can try.
Download:
Downloadertask.java
Cop
Machine. Do not disable it after startup, open a cd in the cmd window to the directory where you put the apk. Enter adb install xxx.apk. if you put the qq.apk on disk d, enter d: enter in the cmd window, enter adbinstall qq.apk and press Enter. After that, success will be installed. Now you can see if QQ has appeared in the virtual machine. Enjoy!
If you have already installed it, an error occurs.
There is also a way: after starting the virtual machine, download
(the sample document it provides uses errors), it may not be possible to prevent the zip file directory traversal, and there is a domestic repair program reference this scenario.2. Vulnerability principle and risk Example 2.1 vulnerability principleIn the Linux/unix system ".. /"represents the jump to the parent directory, some programs in the current working directory are processed to such as". /.. /.. /.. /.. /.. /.. /.. /.. /.. /.. /etc/hosts "rep
Classes.dex in the apk into a jar file.Jd-gui: The Anti-compilation tool allows you to view the source code of the jar package directly.Apktool: The anti-compilation tool can be viewed directly by deserializing the APK in the XML file.Apktool-install-windows-r05-ibot: Secondary Windows Batch processing tool.:Dex2jar:http://code.google.com/p/dex2jar/downloads/listJd-gui:http://code.google.com/p/innlab/downloads/lisApktool:http://code.google.com/p/android
. In particular, Mmin18 proposed the Githut address as follows:https://github.com/mmin18/Dex65536The principle of this solution is almost like this:1. Create the Custom_rules.xml file in the project directory and modify the compilation policy. Package The third-party plug-in jar packages contained in the files of the project Lib into libs.apk, and then use them as the second Dex file to compile the runtime.
Download and decompress the Zip file based on Android, and update the simple help class of the UI
Download file:
/*** Download File ** @ param down_url * @ param output * @ param tmpDir */private void download (String down_url, File output,
If you are a beginner in Android, how can you test existing Android applications:
1. First get the android SDK (http://code.google.com/android/download.html) and unzip it to your hard disk somewhere
2. added the system variable sdk_root to point her to the/Tools Folder und
/tt5267621/article/details/7173972After associating the program, you also need to handle the parameter passing problem! You need to add the following sample code (not tested) in oncreate ):
Intent intent = getintent (); string action = intent. getaction (); If (intent. action_view.equals (Action) {textview TV = (textview) findviewbyid (R. id. tvtext); TV. settext (intent. getdatastring ());}
"Intent. getdatastring ()" returns the path of the clicked file
Information chat, file transmission, voice call, used for LAN mobile communication tools, similar to the Flying Pigeon book. I found it online. After downloading it, I modified it.Code, Can be compiled, run! Complete comments are provided!Note: The mobile phone is connected to the LAN through WiFi (it fails to be uploaded many times, so you have to use the network disk)After a network engineer, the following knowledge points of the software design are
Android-File compression and decompressionI am working on a project. There is a function in the project file that requires a lot of pictures. If the pictures are packaged with the app, there will be 30 + M. Then we will consider downloading the compressed package, we took out the image, and the project was only 4 + M. Hahaha, haha, It's really horrible. This invo
First, use Apktool apk to decompile the source code of the generator and pictures, XML configuration, language resources and other filesSpecific steps:(1) Download the Anti-compilation toolkit: Apktool official can't openThere is a download in http://apktool.shoujifans.com/2014/12/21.htmlNeed to download two files below
apktool1.5.2.tar.bz2
apktool-install-linux-r05-ibot.tar.bz2
(2) Unzip the downloaded two packages into the "Same" f
. weird, but I didn't find a way to attach it properly. and this is pity, because IDA is a great tool and it wocould make debugging a pleasure, but I had to use GDB instead.
Second, Android has problems with debugging multi-threaded native code. mt support was added in ndk R5 and because of some bugs it's not possible on a system older than gingerbread.
Third, you cocould attach GDB manually, but ndk-GDB script does great work for you. You will have t
to the user's directory generated this folder, open basic can see all the XML files, absolute leverage.The above is the use of Apktool tools, no in-depth study, it will be this if there is a deep study together.Now do the APK source code research, it will need to use ourDex2jar Tools, official website:Https://code.google.com/p/dex2jar/downloads/list currently the latest version is; dex2jar-0.0.9.15, after the download to unzip, after the CD into the
Tools:Compression software: For unzip APK packageDex2jar:*.dex anti-compilation as a jar packageJd-gui: viewing jar files(PS: Do not know how blog Park upload attachments, can only hang tools to Baidu Network disk: Http://pan.baidu.com/s/1jIwb3MY)0x01: Unzip apk with compression software 0x02:dex2jar to compile the *.dex jar package(1) Copy the *.dex files that need to be recompiled to the Dex2jar root d
-------------------- Reprint Please specify:http://blog.csdn.net/feiduclear_up/article/details/42499409ProfileHow to quickly develop an Android app with JSON. It is a chore to define JSON-specific Java beans and parse JSON with the JSON library that comes with Android. So here I introduce a tool and a library.
Jsonschema2pojo: Can be more JSON automatically generated corresponding javaclasses (http
I want to see the APK source code how to do? Then you need to use the APK Anti-compilation tool.First, the idea of anti-compilation:1) apk file is actually a compressed package. Change the file suffix. apk to. zip to open with the unzip software. You can see several files by opening a compressed package:To see the source code, only need to pay attention to classe
In the Android JB version, the System/usr/share/zoneinfo directory Zoneinfo related 3 files are data files that are used to store time zone information for each country and region city. Since the time zone information in each country will change, for example, June 13, 2014, Russia announced that the national time zone after October 26, 2014 after one hour, such as Moscow before is gmt+4, modified is gmt+3, but the
1. Compile the Souce code of the entire android system. After compilation, three image files ramdisk. IMG, system. IMG, and userdata. IMG will be generated.
2. Unzip ramdisk. IMG:
MV ramdisk. IMG ramdisk.gz
Mkdir out
CD out cpio-I-f ../ramdisk.gz
3. Cross-compile busybox. You only need to compile tar. Can it be from http://blog.chinaunix.net/u/20947/showart.php? Id = 1913228 download.
4.
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.