Android ios only calls photography in webapp.

Android ios only calls photography in webapp. Happy work, many problems. (o()o) The new problem of webapp is to solve a problem that the camera can not call the album directly when click ing on the uploaded picture. (What kind of operation is it? I only remember that this property of capture can direc ...

Posted by phpcoding2 on Fri, 04 Oct 2019 05:46:38 -0700

Drawing on android with opengl es 1.x using JNI method

Links to the original text: https://my.oschina.net/fuyajun1983cn/blog/263808 We can write opengl code on jni layer and draw 3d graphics. The following example is an example of drawing ...

Posted by Lucky_PHP_MAN on Thu, 03 Oct 2019 18:29:15 -0700

The top sliding area on the Anroid page is hidden and the top sliding area is displayed.

The Design Library of Android is used to achieve this effect. You can study the design library more. There are still plenty of things in it. Next, go directly to the code: The outermost parent layout must use Coordinator Layout. If the page already has a parent layout, include can be used to write anoth ...

Posted by bdamod1 on Thu, 03 Oct 2019 13:31:17 -0700

A Preliminary Trial of RxSwift, RxBlocking and RxTest

RxJava has become one of the most important components of Android development. Recently, iOS applications have been developed using Swift. Consider using RxSwift in architecture design. Add dependency # Podfile use_frameworks! target 'YOUR_TARGET_NAME' do pod 'RxSwift', '~> 5' pod 'RxCocoa', '~> 5' pod 'RxBlocking', '~> 5' ...

Posted by nagasea on Wed, 02 Oct 2019 19:55:37 -0700

StatusBar Loading Process of Android P System UI

Related source code: \frameworks\base\packages\SystemUI\src\com\android\systemui\statusbar\phone\StatusBar.java \frameworks\base\packages\SystemUI\src\com\android\systemui\statusbar\phone\StatusBarWindowManager.java \frameworks\base\packages\SystemUI\src\com\android\systemui\statusbar\phone\StatusBarWin ...

Posted by luketheduck on Wed, 02 Oct 2019 08:15:10 -0700

The use of android-canvas scale (zoom)

Zooming in android can achieve smaller brush strokes in onDraw. Here is an example of text. The method provided by scale stay cale Two methods are provided. public void scale(float sx, float sy) public final void scale(float sx, float sy, float px, float py) scale(float sx, float sy) This is a ...

Posted by christh on Wed, 02 Oct 2019 04:58:45 -0700

Content Provider usage and Android runtime permission application

This article shows how to obtain other application data and the application process of runtime permission through an example of obtaining all contacts. Add the following permissions to AndroidManifest.xml <uses-permission android:name="android.permission.READ_CONTACTS"></uses-permission> ...

Posted by Sherman on Tue, 01 Oct 2019 16:17:57 -0700

android UiAutomator Reruns Failed Use Cases

When I use android UiAutomator for testing, I find that the use cases often fail because of the slow loading of pages or the large network latency or unexpected circumstances, but they can run successfully when checking. I put forward a need to make the failed use cases run again. After trying, I finally succeed. Using excel as the type of test ...

Posted by phillfox on Tue, 01 Oct 2019 05:05:52 -0700

Experience Recall (Pure Manual) => Python Version - Docker Uses Appium Simple Experiments

Docker-Appium Installation Github docker-appium address: https://github.com/appium/app... Create temporary containers (for simple command testing) docker run --privileged -d -p 4723:4723 -v ~/.android:/root/.android -v /dev/bus/usb:/dev/bus/usb --name container-appium appium/appium If using simulator, etc. (non-USB connection) The adb of the ...

Posted by joejoejoe on Tue, 01 Oct 2019 03:38:40 -0700

Writing opengl program based on textureview

Links to the original text: https://my.oschina.net/fuyajun1983cn/blog/263790 Compared with SurfaceView, TextureView does not create a separate Surface for drawing, which allows it to p ...

Posted by FadeOut79 on Tue, 01 Oct 2019 03:22:31 -0700