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
Android transparent status bar and setting status bar font color
Reference link https://blog.csdn.net/AmStrong_/article/details/78864613
Immersive status bar research is to extend the layout content to the status bar, so that the status bar can be covered or hidden on the layout. First of all, to modify the android version of the status bar at least above 4.4, and in 4.4, it is not allowed ...
Posted by ktsirig on Sat, 28 Dec 2019 20:40:47 +0100
Android custom view layout principle
Android custom View usually needs to go through the process of measure, layout and draw. If you haven't understood the process of measure, you can take a look at it first This article.
1, Function of Layout: calculate the position of view, that is, the position of Left, Top, Right and Bottom
2, Layout process: similar to mea ...
Posted by the_damo2004 on Fri, 27 Dec 2019 19:39:03 +0100
Android dynamically loads so Library in sd card
Some so files are too large, which can be copied from the mobile memory or sd card to the running application. Interfaces are all packed in before. You can also do so update, that is, delete the previous copy, and then do not repackage apk to copy in again.
1. Encapsulated class
package com.rtcmdemo.until;
import android.con ...
Posted by reli4nt on Tue, 24 Dec 2019 23:19:21 +0100
java realizes one key package of Android and generates hundreds of channel packages in seconds
In order to realize the function of generating channel package by one key in java, we need to make preparations in advance. There are about three points as follows
1. Put the channel number that needs to be generated in the excel file when it is ready
2. You need to download two jar packages, commons-compress-1.16.1.jar and jxl. ...
Posted by terje-s on Tue, 24 Dec 2019 15:36:56 +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
No photos can be obtained after photos are taken, such as Xiaomi Huawei mobile phone
Problem Abstract: no photos can be obtained after photos are taken with Xiaomi Huawei mobile phone
Scene appears
Ordinary camera call, pass in a path in intent, and call this intention.
There is no problem in the glory 8X of the test machine. You can get the photos.
In Xiaomi system and Huawei's maimang 4, there are no photos on the path.
/* ...
Posted by chrisdarby on Mon, 23 Dec 2019 22:34:12 +0100
How to import iconfont into react native Expo
Step 1 download Icoont Alibaba vector map
After logging in the website, add the required icon to the library as follows:
Then download to local. (Note: the compressed package downloaded by my google browser is empty, and it was successfully downloaded by using other browsers.)
It has the following contents:
Step 2: crea ...
Posted by PugJr on Sun, 22 Dec 2019 19:47:11 +0100
Content provider of four Android application components
understand
First, let's talk about why there is a ContentProvider?
When an application wants to access the database of another application, because each application's database file is private and cannot be accessed directly, the accessed application needs an external database content provider, that is, content provider.
&l ...
Posted by xxxxxx on Sat, 21 Dec 2019 22:30:36 +0100
Implementation of registration interface
Put the finished product drawing first:
The user's registration interface is actually composed of several input boxes (EditText) and TextView. The key point is that the entered phone number and email can be recognized and displayed in the way of hyperlink. After clicking, the corresponding software will be opened. In fact, i ...
Posted by alex_savin on Sat, 21 Dec 2019 17:51:34 +0100