Android IOS like PopupWindow and general base PopupWindow

screenshot pw.png Realization 1,BasePopupWindow.java 1.1. Realize dynamic loading of different layout s 1.2. Whether the background is translucent after the dynamic configuration is popped up and restored when it is closed (monitor ondismiss and use the window class to change color) 1.3. Some basic method abstraction methods ...

Added by nullified on Wed, 11 Dec 2019 18:47:30 +0200

H5 wake up APP client

When developing WeChat public number project, share page users sign up to participate in the activity. The activity flow is to be completed on app, and the activity page is clicked to sign up. It needs to check whether the user's mobile phone is installed app, and does not install the guide user to download. If app is installed, the app will be ...

Added by Ree on Wed, 11 Dec 2019 17:21:26 +0200

Data binding library errors caused by obfuscation

Summary of questions AbstractMethodError: abstract method "androidx.databinding.ViewDataBinding androidx.databinding.DataBinderMapper.getDataBinder(androidx.databinding.DataBindingComponent, android.view.View, int)" The stack is as follows: java.lang.AbstractMethodError: abstract method "androidx.databinding.ViewDataBinding androidx.databinding ...

Added by Kodak07 on Wed, 11 Dec 2019 16:05:30 +0200

Function operation of Frida usage

Frida interface function introduction Frida is a so level hook framework, which can help developers and security personnel analyze the so module of the specified process. It mainly provides a Python interface with simple functions and a JS interface with rich functions, which makes hook functions and modified so programmable. The interface incl ...

Added by russ8 on Tue, 10 Dec 2019 19:27:37 +0200

Android copy assets file to SD card

Android copies the files in assets to SD card Preface Recently, we received a js file caching task, that is, by intercepting the url of our webView, first load the js file from the file, and then Copy it from the assets if it is not in the file. I think this tool class is very useful, so I'll send it first for your reference ...

Added by www.phphub.com on Tue, 10 Dec 2019 10:44:47 +0200

Upload a simple example of pictures using the image interface of wechat JS-SDK

1. Fully implement ios and Android wechat environment, select wechat album pictures, upload and save them locally2. Note that js version is compatible, use this version <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js" type="text/javascript"></script> Official explanation3. This example process will call the wx.chooseImag ...

Added by Alexhoward on Tue, 10 Dec 2019 04:35:46 +0200

Android Intent for page Jump

What is Intent Intent can be understood as a messenger (intention) Intent cooperates to complete the communication between Android components, or to realize the jump between pages Intent to jump between pages startActivity(intent) / / the first way to start startActivityForResult(intent, requestCode); / / the second way to start onActivity ...

Added by uniflare on Fri, 06 Dec 2019 04:35:48 +0200

Android Development Notes Material Design animation -- water ripple and exposure effect

Today we will introduce some animations of the Material Design button: water ripple and exposure effect. Source download address: 1. Water ripple effect   1.1 layout file <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http: ...

Added by dawho9 on Thu, 05 Dec 2019 17:32:57 +0200

Basic usage of listview and litepal version 2.0

LitePal has written a previous article. It uses the version 1.6 of LitePal. I saw version 2.0 these days. In fact, there is no big change in version 2.0. Its basic usage is similar to that of 1.6. If you want to know the usage of version 1.6, you can visit: https://blog.csdn.net/qq_40205116/article/details/88741724 . After tha ...

Added by fitzbean on Thu, 05 Dec 2019 14:05:12 +0200

How to keep Android service alive

Supporting the original: http://tryenough.com/android-... Two aspects can be taken into consideration for the life guarantee Service: I. ways to change the Service itself 1. Improve Service priority In the Android manifest.xml file, for the intent filter, you can set the highest priority through the android:priority = "1000" property ...

Added by tommynanda on Thu, 05 Dec 2019 07:53:46 +0200