How to use HMS Nearby Service to develop a business card exchange function for your APP?

                         . As a result, there are many apps and small programs for exchanging business cards in the market. So, how to develop a business card exchange function fo ...

Posted by Japher on Fri, 19 Jun 2020 04:07:33 +0200

ContentService simple analysis

ContentService uses the observer mode, and APP registers Uri messages of interest to ContentService through ContentResolver.When the corresponding data changes, ContentResolver calls the notifyChange function to notify ContentService of the corresponding Uri data changes, ContentService queries the corr ...

Posted by anoesis on Thu, 18 Jun 2020 18:22:30 +0200

Glide(1) Lifecycle Binding

Glide decouples in a unique way. Related articles: How Fragment s Bind to Activity's Life Cycle 1.1 Glide.with() Glide.with(FragmentActivity activity) // RequestManager with(FragmentActivity activity) public static RequestManager with(Activity activity) { return getRetriever(activity).get(activity); } publi ...

Posted by luke_barnes on Thu, 18 Jun 2020 18:09:43 +0200

How to listen for Auto Save events after Prefab modification in Editor

1) How to listen for Auto Save events after Prefab modification in Editor 2) On the advantages of turning on the Optimal option of animation files 3) Is it helpful for performance to split a large terrain into multiple mesh Colliders 4) Camera.SetReplacementShader And Projector display problems 5) FMOD can't switch sound when plugging in and ou ...

Posted by felixtgomezjr on Thu, 18 Jun 2020 09:06:01 +0200

Flutter learning notes (32) -- PointerEvent event processing

For reprint, please indicate the source: Flutter learning notes (32) -- PointerEvent event processing In Android's native development, we all know that events can be divided into down, move, and up events. For ViewGroup, events can be distributed, intercepted, and consumed. For View, events can be distributed and consumed. For Flutter, events c ...

Posted by anto91 on Thu, 18 Jun 2020 06:41:01 +0200

Android Binder-framework->native(transact->onTransact)

Previous Binder mRemote's Past and Present PowerManger.isScreenOnThe calling process for () has already been called BinderProxy.transact(); /frameworks/base/core/java/android/os/Binder.java ------> Binder.java->BinderProxy public boolean transact(int code, Parcel data, Parcel reply, int flags) throws Remote ...

Posted by Ajita on Thu, 18 Jun 2020 03:26:45 +0200

Map positioning of Tencent developed by Android

In this paper, only the teaching positioning function is used. If you need to search, 2D or 3D map, you can go to Tencent map development platform to view the api documents. Link: Tencent map 1, To Tencent map development flat download location sdk, quick access: Tencent map positioning 2, Add permissio ...

Posted by phpPunk on Tue, 16 Jun 2020 09:33:53 +0200

On Jetpack -- ROOM database

On Jetpack(1) - ViewModelOn Jetpack(2) - LifecyclesOn Jetpack(3) - LiveDataDemo project Although Android carries SQLite, its operation is troublesome, and if it is a large-scale project, it will become confusing and difficult to maintain, unless you design a very good architecture and package. Of cour ...

Posted by Runnion on Tue, 16 Jun 2020 05:22:09 +0200

Summary of knowledge points of Flutter

1. Theme color setting   class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, title: 'Flutter Demo',//Available for Android theme: Theme ...

Posted by notepad on Sun, 14 Jun 2020 02:48:02 +0200

Android Solution for page instability after turning on hot spots

1 Question After Android 8.0, we turned on hotspots in the following way, but when we jump to the page, the hotspots will be disconnected and the phones will not be able to transfer files to each other. Permission Instructions: Android 8.0 requires location and GPS permissions, while hot spots on mobile phones cannot be turned on. if (Build. ...

Posted by GirishR on Sat, 13 Jun 2020 01:55:59 +0200