Unity direct database

Take time today to take a note, and also review the previous things to record the Unity connection database. Before you start, add the DLL you want to reference: If not, you can download it on your own. Enter the text. First of all, in order to connect easily, use XML configuration file for connection information:     &l ...

Posted by dale282 on Wed, 01 Jan 2020 02:42:02 +0100

How do I align the view at the bottom of the screen?

This is my layout code; <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <TextView android:text="@string/welcome" android:id="@+id/TextV ...

Posted by billy2shoe on Wed, 01 Jan 2020 00:53:24 +0100

spring learning notes xml configuration

<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.sp ...

Posted by ffsja on Tue, 31 Dec 2019 19:21:28 +0100

Getting started with ArcGIS Runtime SDK for Android (24): temporal data query

The temporal Query function is to retrieve the time information stored in the element table through the time range set by the user, so as to obtain the operation of elements in a specific temporal range. In this case, taking typhoon data as an example, the temporal Query conditions are constructed through the set time range, th ...

Posted by Darklink on Mon, 30 Dec 2019 19:11:24 +0100

hadoop installation and configuration

hadoop installation and configuration First, decompression. 2, Modify Hadoop configuration file 4. Configure environment variables 5. Copy the installation package 6. Start cluster 7. Cluster status 8. Monitoring page 9. Shut down the cluster First, decompression. tar -zxvf hadoop-2.8.2.tar.gz 2, Modify Hadoop confi ...

Posted by gr8dane on Sun, 29 Dec 2019 19:56:32 +0100

Qt work notes - Qt document reading notes - Official parsing of qualifiedName() and XML usage namespace

Catalog Official analysis Examples of bloggers Official analysis QXmlStreamReader::qualifiedName() Returns the restricted name of the StartElement or EndElement; The restriction name is the original name of the element in the XML data. It has a prefix and a suffix. The element of the suffix is called the local name. Becaus ...

Posted by alexz on Sun, 29 Dec 2019 15:45:02 +0100

Convert pixels to dp

I created my application, which is in pixels in height and width, for a 480x800 resolution Pantech device. I need to change the height and width of the G1 device. I think converting it to dp will solve the problem and provide the same solution for both devices. Is there an easy way to convert pixels to dp? What's your suggestion? #1 ...

Posted by skip on Sat, 28 Dec 2019 17:41:13 +0100

Spring Cloud's Hystrix fuse

The fuse mechanism is a self-protection mechanism. When there are a large number of requests piled up and the service is unable to handle them immediately, the fuse mechanism can decide to discard the requests to ensure that its resources are not exhausted and downtime. The fuse is usually used on the service consumers. When th ...

Posted by jjacquay712 on Thu, 26 Dec 2019 17:38:48 +0100

spring boot uses the assembly plug-in to package dependent jar s into external standalone folders

spring boot packs all dependent jars into one jar by default when it packs and runs jars. This is inconvenient because the packaged jar packages are relatively large and need to be uploaded to the server for a long time. Here, we can use the assembly plug-in to package dependent jars into external independent folders. In the future, we only nee ...

Posted by westmich on Wed, 25 Dec 2019 22:29:45 +0100

How to obtain the current GPS position programmatically in Android?

I need to use GPS programmatically to get the current position. How can I achieve it? #1 building I created a small application with step-by-step instructions to get the GPS coordinates of the current location. Complete sample source code On Android " Get current location coordinate, city name . See how it works: What w ...

Posted by Angerslave on Tue, 24 Dec 2019 08:01:33 +0100