Take you to a campus APP: campus address book module

Campus address book function, collect and display the public contact information in the campus. It is often used in daily life. For example, when the water and electricity department has a problem, it needs to find a water and electricity master, an enrollment and employment office, a study and work off ...

Posted by surreal5335 on Wed, 19 Feb 2020 16:56:23 -0800

Drawer of drawer

Drawer (drawer component) 1. Overview Scalfold is a common layout Widget used by the Flutter MaterialApp. It accepts a Drawer attribute and supports the configuration of the Drawer. It can pull out the navigation panel from the side bar. The advantage is to fold up some function menus. Generally, th ...

Posted by Asperon on Mon, 17 Feb 2020 01:11:53 -0800

springboot2.0 + websocket + android client practice

brief introduction WebSocket is a protocol in HTML5. It supports persistent connection and can effectively solve the problem of polling when data synchronization between client and server. Design sketch Server side Create a web project (omitted here) Introduce websocket maven dependency (supported only when springboot ...

Posted by philspliff on Sat, 15 Feb 2020 12:16:17 -0800

[rk3399] [Android 7.1] debugging notes: set the default startup language to Chinese

Platform: RK3399 OS: Android 7.1 Kernel: v4.4.83 resolvent: diff --git a/target/product/full_base.mk b/target/product/full_base.mk index 65bdf0f..071d299 100644 --- a/target/product/full_base.mk +++ b/target/product/full_base.mk @@ -43,7 +43,8 @@ PRODUCT_PROPERTY_OVERRIDES := \ ro.config.notification_sound=pixiedus ...

Posted by shaundunne on Sat, 15 Feb 2020 10:26:33 -0800

[Camera]RK platform camera drive

platform:rk3399 OS:Android 7.1 Kernel:4.4 //Reference resources: 1. KrisFei https://blog.csdn.net/kris_fei/article/details/79298971 brief introduction RK platform abstracts a common camera driver, which provides a common camera driver registration and operation interface for application layer. In thi ...

Posted by evaoparah on Fri, 14 Feb 2020 07:40:30 -0800

Qualcomm MSM8937 dual DSI notes

Sketch The dual dsi function is supported on MSM8937. I tune it in MSM8937-android 6.0. The following is a brief introduction of its implementation ideas and key code fragments. There are two ways of dual screens supported by Qualcomm: one is to divide a picture equally on the left and right, and then ...

Posted by Doom87 on Fri, 14 Feb 2020 01:13:22 -0800

Stack and Depth First Search (DFS)

Like BFS, Depth First Search (DFS) is another important algorithm for traversing/searching trees/graphs.It can also be used in more abstract scenarios. As mentioned in Tree traversal, we can use DFS to traverse in the first order, in the middle order and after order.There is a common feature in these t ...

Posted by thehippy on Thu, 13 Feb 2020 18:04:46 -0800

Click a button, if the phone has an app installed, open the app directly, otherwise jump to the application market to download the app

Recently, we are making such a function. When the front-end webpage clicks the button, if the user's mobile phone has the app installed, the app will be opened directly; otherwise, it will jump to the application market to download. The code is as follows: <!DOCTYPE html> <html> <head> <meta charset="ut ...

Posted by friendlylad on Thu, 13 Feb 2020 13:31:32 -0800

The problem of uploading files from Android app to spingMVC server

First, upload the code. The encapsulation tool class of the uploaded file is as follows: import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; im ...

Posted by jfdutcher on Thu, 13 Feb 2020 12:20:50 -0800

Android RecyclerView quick start

RecyclerView mainMenu = findViewById(R.id.fragmentMain); mainMenu.setLayoutManager(new GridLayoutManager(getActivity(),4)); mainMenu.setAdapter(new MainAdapter(getActivity(),items)); There are a lot of online tutorials about RecyclerView, which are very detailed, but it seems that it is difficult for beginners to star ...

Posted by twatkins on Thu, 13 Feb 2020 10:27:03 -0800