fix: Add build script and fix manifest
- Add build-apk.sh for easy compilation - Simplify AndroidManifest.xml - Fix themes.xml to use basic Android themes - Enable BuildConfig - Add okhttp-dnsoverhttps dependency
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#extension GL_OES_EGL_image_external : require
|
||||
|
||||
precision mediump float;
|
||||
uniform samplerExternalOES texUnit;
|
||||
uniform float opacity;
|
||||
uniform float gamma;
|
||||
varying vec2 UV;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 color = texture2D(texUnit, UV);
|
||||
vec3 rgb = pow(color.rgb * opacity, vec3(gamma));
|
||||
gl_FragColor = vec4(rgb, 1.0);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
uniform mat4 proj_matrix;
|
||||
uniform mat4 tex_matrix;
|
||||
attribute vec2 position;
|
||||
attribute vec2 uv;
|
||||
varying vec2 UV;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 transformed_uv = tex_matrix * vec4(uv.x, uv.y, 1.0, 1.0);
|
||||
UV = transformed_uv.st / transformed_uv.q;
|
||||
gl_Position = proj_matrix * vec4(position.x, position.y, 0.0, 1.0);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
# Default app categories used if neither the package nor installer sets anything
|
||||
# First column is package name, second column is raw ApplicationInfo.CATEGORY value
|
||||
com.android.printspooler,7
|
||||
|
BIN
android-sdk/platforms/android-34/data/res/raw/fallbackring.ogg
Normal file
BIN
android-sdk/platforms/android-34/data/res/raw/fallbackring.ogg
Normal file
Binary file not shown.
19
android-sdk/platforms/android-34/data/res/raw/loaderror.html
Normal file
19
android-sdk/platforms/android-34/data/res/raw/loaderror.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
|
||||
<title>Webpage not available</title>
|
||||
<style type="text/css">
|
||||
body { margin-top: 0px; padding-top: 0px; }
|
||||
h2 { margin-top: 5px; padding-top: 0px; }
|
||||
</style>
|
||||
|
||||
<body>
|
||||
|
||||
<img src="file:///android_asset/webkit/android-weberror.png" align="top" />
|
||||
<h2>Webpage not available</h2>
|
||||
<p>The webpage at <a href="%s">%s</a> could not be loaded because:</p>
|
||||
<!-- The %e is replaced by a localized error string -->
|
||||
<p>%e</p>
|
||||
</body>
|
||||
</head>
|
||||
</html>
|
||||
26
android-sdk/platforms/android-34/data/res/raw/nodomain.html
Normal file
26
android-sdk/platforms/android-34/data/res/raw/nodomain.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
|
||||
<title>Webpage not available</title>
|
||||
<style type="text/css">
|
||||
body { margin-top: 0px; padding-top: 0px; }
|
||||
h2 { margin-top: 5px; padding-top: 0px; }
|
||||
</style>
|
||||
|
||||
<body>
|
||||
|
||||
<img src="file:///android_asset/webkit/android-weberror.png" align="top" />
|
||||
<h2>Webpage not available</h2>
|
||||
<p>The webpage at <a href="%s">%s</a> might be
|
||||
temporarily down or it may have moved permanently to a new web
|
||||
address.</p>
|
||||
|
||||
<p><b>Suggestions:</b></p>
|
||||
<ul>
|
||||
<li>Make sure you have a data connection</li>
|
||||
<li>Reload this webpage later</li>
|
||||
<li>Check the address you entered</li>
|
||||
</ul>
|
||||
</body>
|
||||
</head>
|
||||
</html>
|
||||
Reference in New Issue
Block a user