Getting Started with Android Reverse Cracking

Preface A little bit of Android Reverse was done the year before, but it hasn't been done for a long time. Recently, a buddy asked me to help him do a subtitle about Android Reverse, so pick up the knowledge of Android Reverse and start over. This apk is a very simple, entry-level Android Reverse Analysis program, so this article is main ...

Posted by manyamile on Sat, 23 May 2020 06:55:43 +0200

Self made certificate of Android HTTPS realizes bidirectional authentication (OkHttp + Retrofit + Rxjava)

Due to a high security project to be done recently, it needs to use HTTPS for two-way authentication. When designing the project architecture, the client uses MVVM architecture, and realizes Android based on DataBinding + Retrofit + Rxjava. Looking up a lot of data, there are many examples of implementing two-way authentication based on native ...

Posted by okyejr on Thu, 21 May 2020 06:36:59 +0200

Android Serial 12 - Perfect news app content area

1. Write a class here to start an activity by first loading the news_we just created in the onCreateView() methodContent_The frag layout, which is unexplained, goes on to provide a refresh() method for displaying news titles and content on the interface.As you can see, here you get the title and content control of the news by the findViewById() ...

Posted by muthuraj_mr on Wed, 20 May 2020 19:19:36 +0200

How to correctly introduce so file into Android studio

How to introduce the third-party so file? However, the third-party official only gives the integration mode in ADT environment. Android studio uses gradle compiling mode by default, which is different from ADT editing mode, so how should so files be introduced? It's very simple. Here, take the integrated JPUSH as an example to see how the ...

Posted by jgh84 on Fri, 15 May 2020 18:09:41 +0200

Binder implementation of Camera

api call Get CameraManager object CameraManager mCameraManager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); openCamera mCameraManager.openCamera(cameraId, callback, handler); The openCameraDeviceUserAsync method in CameraManager is called private CameraDevice ...

Posted by kkobashi on Sat, 09 May 2020 17:05:58 +0200

Android can turn off and on the screen through broadcasting

method: PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE); /* PARTIAL_WAKE_LOCK:Keep the CPU running and the screen and keyboard lights may be off. SCREEN_DIM_WAKE_LOCK: Keep CPU running, allow to keep screen display but possibly gray, allow to turn off keyboard light SCREEN_BRIGHT_WAKE_LOCK: Kee ...

Posted by djetaine on Fri, 08 May 2020 17:59:12 +0200

Android Jetpack Architecture - Paging custom pull-up loading more

Jetpack series Android Jetpack architecture component - Lifecycle usage Android Jetpack architecture component - LiveData usage The use and principle of ViewModel, an architecture component of Android Jetpack Android Jetpack architecture component - Paging introduction and Practice Android Jetpack architecture component - Roo ...

Posted by ganlal on Wed, 06 May 2020 06:04:28 +0200

RxJava2 for andorid jar/library source parsing

Catalog: andorid jar/library source code parsing  RxJava2: Role: Optimize logical processes by providing an architecture that provides a model for observers and subscribers.Suitable for complex and multi-data conversion and long processes. Chestnuts: Define three object classes public class ResultInfo { public int code; public String ...

Posted by qteks200 on Wed, 06 May 2020 00:37:28 +0200

Android Project Actual Series - Based on the Learned Valley Exercise Module

Please be patient to read this module because of its large content and length. Exercise module is divided into two parts [x] Exercise List Interface [x] Exercise details interface 1. Exercise List Interface 1. Exercise Interface (1) Create exercise interface In the res/layout folder, create a new layout file named main_view_exercises. ...

Posted by sheraz on Tue, 05 May 2020 23:18:23 +0200

Android drawing mechanism and processing skills

1 unit conversion Due to the different screen density, the length of the same pixel size and the length displayed on the screen with different density are different. The following is the conversion formula of each density value, In mdpi, 1dp = 1px, In hdpi, 1dp = 1.5px, In xhdpi, 1dp = 2px, In the xxhdpi, 1dp = 3px ...

Posted by nite4000 on Mon, 04 May 2020 23:57:40 +0200