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

Social security card information reading

In recent years, with the popularization and development of medical intelligent self-service terminal, the unattended self-service terminal realizes the patient's independent appointment, registration, report query and other services. It is not only convenient for patients to see a doctor, but also i ...

Posted by daftdog on Fri, 12 Jun 2020 12:29:19 +0200

Android system startup process analysis init process startup process

preface This series of articles briefly introduces the starting process of Android system, which will not stick to the details of the source code, so as to let readers understand the general process. In addition, we need to remind you that you need to have some C/C + + foundation to read this chapte ...

Posted by dusty on Thu, 11 Jun 2020 10:19:31 +0200

Android Studio package H5 project (2020 version)

I'm the catalog 1, Download Android Studio 2, New Android project 3, What a complete android app needs 1. Be able to access the network 2. Be able to go back, just like App 3. Customize the App icon, not a default Android robot 4. Modify application name 5. Change the color of the main interface to ...

Posted by bob_rock on Thu, 11 Jun 2020 09:22:55 +0200

Android uses Kotlin to connect to MQTT

MQTT It is a lightweight and flexible Internet of things message exchange and data transfer protocol, which is dedicated to achieving the balance between flexibility and hardware / network resources for IoT developers. Kotlin Kotlin is a programming language developed by JetBrains company. Kotlin is based on JVM, so developers can easily use it ...

Posted by RossC0 on Tue, 09 Jun 2020 08:30:15 +0200

Android wifi basic function 1

A summary This paper introduces the development interface and usage of WiFi module in the application layer of Android, including some suggestions for dealing with common problems, and finally provides a github project ...

Posted by TheChief on Tue, 09 Jun 2020 08:27:49 +0200