openlayer4 calls the tms service of geoserver

Based on openlayer4, the service published by geoserver is called, which mainly uses wms service. Recently, because a project released terrain data service, the leader disliked that the sld rendering result was not delicate, and required to achieve the global mapper rendering effect. After two days of struggling, it was finally ...

Posted by anurag2003 on Sun, 29 Mar 2020 17:42:23 +0200

Flutter 81: illustration of Android Native integrated fluterboost small attempt

In a historical project, Xiaocai has connected to the Flutter Module and used fluterboost as the Platform Channel bridge. However, there are many problems in the actual development, only two impressive small problems are recorded; Problem 1:. so file confusion problem analysis The NDK used in the history project of the small dish is armeabi, bu ...

Posted by Velausanakha on Sun, 29 Mar 2020 15:55:23 +0200

Tencent Open Platform for QQ Login

Now third-party logins are very common, such as QQ, Weibo and WeChat. Today we are going to implement how to access QQ to login into our project.To use QQ login, we need to register an account with Tencent Open Platform to get the developer qualification address: http://open.qq ...

Posted by jaydeesmalls on Fri, 27 Mar 2020 17:01:28 +0100

[Android studio] tabhost solution for multiple controls in a single tab

Preface: Received the teacher's task a few days ago, need to do an android APP, mainly with the temperature and humidity sensor for tcp communication. TabHost is used in the design process. If TabHost holds multiple controls in a tab, these controls will be displayed on each tab. The author uses this article t ...

Posted by eruna on Fri, 27 Mar 2020 16:54:17 +0100

Android 9.0 Launcher launch details

As an independent APP, Launcer runs from the beginning to the end of loading. The startup core code is as follows: /packages/apps/Launcher3/src/com/android/launcher3/Launcher.java @Override protected void onCreate(Bundle savedInstanceState) { Log.d(TAG,"onCreate ======="); .... mModel = app.setLaunch ...

Posted by darkknightgaury on Sun, 22 Mar 2020 15:17:34 +0100

Android development course of molet technology - Li Xinghua - 02ContentProvider

1. Introduction to ContentProvider The client operation contentResolver and ContentProvider are the same Auxiliary operation class ContentUris of Uri 2.ContentProvider database operation Project class structure 1. Create MetaData 2. Define a subclass of SQLiteOpenHelper class to create and delete me ...

Posted by erme on Sat, 14 Mar 2020 18:26:02 +0100

Three ways to customize attributes for Android DataBindings

1. Overview Currently, DataBindings have three ways of customizing attributes.Namely: 1. xml introduces custom attribute labels.The code completes the binding with the @BindingAdapter annotation 2. Use directly in your code: @BindingMethods comment to introduce custom attributes and @BindingAdapter c ...

Posted by bluejay002 on Tue, 10 Mar 2020 04:06:51 +0100

Smart pointer in Android

There are three smart pointers available in Android: ① sp + LightRefBase: simple reference count, only strong reference count. ② Strong reference pointer (sp + RefBase): use strong reference count. ③ Weak reference pointer (wp + RefBase): use weak reference count. 1, Lightweight pointer The simplest way to count references is to use a counter t ...

Posted by Angerslave on Fri, 06 Mar 2020 08:22:11 +0100

Implementation principle of Android DeepLink

Preface Before that, we looked at the source code and studied animation. Today, we share a relatively simple technical point: DeepLink. DeepLink, deep link technology, the main application scenario is to call Android native app directly through Web page, and pass the required parameters to app dire ...

Posted by capbiker on Sun, 01 Mar 2020 09:30:20 +0100

Getting exception 'IllegalStateException: cannot perform this operation after onSaveInstanceState'

I have a Live Android application. I have received the following stack trace information from the market. I don't know why it happened in the application code instead of happening, but caused by some or other events in the application (assumed) I don't use Fragments, but I still have a reference to the fragment manager. If someone can under ...

Posted by weemee500 on Sun, 01 Mar 2020 05:05:55 +0100