Chapter Two APK package anti-compilationCode and resources that have been processed by the compiler have been packaged as APK, and some have even been converted into binary files. But we also have some ways to change the compiled content back to the original, the process called-decompile.Anti-compilation is divided into two parts: one is a resource file and one is a Java file. So files are the result of C + + compilation, which can be thought of as non-decompile (decompile The assembly instructi
The mobile app that you encounter or are using
1. Mount paragon NTFS HFS + v1.9 in NTFS format. The SD card mounting and unloading Tool
2. usb otg Cable
Why is there a four-wire USB cable? You guessed it. It is used to tell the device that supports OTG to be configured as the master device or from the device, such as the ID line. When the connection is established, the mobile phone connected to this end is configured as the master device, a USB fl
See at other sites, Mark. 1. Recently opened apps are not displayed in the recent task listAndroid:excludefromrecents= "true"Set to true to exclude from the recent task list and not appear in the recent Tasks list2. Infer whether a string str is null or is an empty stringTextutils.isempty (str)3. How to use android:imeoptions= "Actionsearch|flagnofullscreen"When you do a function that puts edittext into Actionbar as the search box, setting the EditText property to Android:imeoptions= "Actionsear
1.Create a new project1. Package Name: cannot be a Chinese--------------package name on the phone2. Minimum Required SDK: The smallest SDK, typically 2.33. Target SDK: The largest SDK, running version4. Compile with: Compiled version, general and run consistent5. Theme: Theme6. Configure Launcher icon: Custom icons, various properties2.ADB:ADB (Control Simulator)---------------virtual Machine connection to Eclipse-----------------------------practical
Google's official documents are:Https://developer.android.com/training/system-ui/navigation.html#behindSample code1 View decorview = GetWindow (). Getdecorview (); 2//Hide both the navigation bar and the status Bar.3//system_ui_flag_ful Lscreen is only available on Android 4.1 and higher, but AS4//a general rule, you should design your app to hide the STA Tus bar whenever you5//hide the navigation bar.6 int
The so-called app-Dayton Cause is the drop-frame at run time, and possibly the UI thread being blocked. First of all, the drop frame phenomenon, Android every 16ms will be a rendering of the interface, if the app's drawing, calculation and so on more than 16ms so can only wait for the next 16ms to render, this has dropped frame phenomenon.Causes of the phone lag:1, the layout is too complex: The XML layout
First, the source of the situationOpen the Androidmanifest.xml file directly and find the activity that contains the Android.intent.action.MAIN and Android.intent.category.LAUNCHER. If the third line of the package is Com.cola.ui, the seventh row of the main activity is Com.cola.ui.ColaBox (. Colabox is the activity shorthand method). Two, only the situation of the APK(1) AAPTUsing the command line AAPT dump Xmltree colabox.apk androidmanifest.xml(2) using ApktoolUse the Anti-compilation too
Command-line tools, Eclipse plug-ins, multiple operating systems
1Easy to install, easy to run over 10 virtual devices are you in a hurry?Do you want to test the main equipment in the market?Use our virtual appliances!
2Control of powerful sensorsTo test your application to customize your test configuration test your product on a TV or a large monitor?Through Genymotion will be possible soon
There are a number of solutions available on the Internet, mainly in the following ways:1 shut down Windows Firewall;2 Turn off IPv6 or set IPv4 preferences, specifically: In Device Manager, Show hidden devices, disable a network device beginning with "Teredo", Increase in Eclipse.ini file (last line parameter)
OpenFile-vmargs-djava.net.preferipv4stack=true
3 Turn off the virtual NIC (virtual networ
right, get ready to finish the job.4. Mount ImageA) mount the image system.img to the/boot/system directory# mount-t Ext4-o Loop System.img/boot/systemb) Mount the image newsystem.img to the/boot/newsystem directory# mount-t Ext4-o Loop Newsystem.img/boot/newsystemOnce mounted, we'll just open the/boot/system and/boot/newsystem directories, and we'll see the corresponding class capacity in system.img and newsystem.img.As you can see, there is a lot of content in system, and only lost+found in N
Android App Memory Leak tool (1) Use Memory Monitor tool ddms–> HeapOperation Steps
After you start eclipse, switch to the DDMS perspective and make sure that the devices view, the heap view, are open, and that you do not open the direct window>showview>
Link your phone to your computer via USB and confirm that your phone is in "USB Debug" mode
After the link is successful, the serial number of the
I used to be system.exit (0);Today I saw someone say that this method is not very good. This is the method in J2se, he mainly by terminating the Java virtual machine being executed. Causes the program to terminate.The following methods are recommended:1. Kill this process:Android.os.Process.killProcess (Android.os.Process.myPid ());2. Force closure of all activities related to the package (killing other processes):Activitymanager manager = (Activityma
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.