webview.getSettings().setRenderPriority(RenderPriority.HIGH);
webview.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
android:hardwareAccelerated="true"
webview.getSettings().setRenderPriority(RenderPriority.HIGH);
webview.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
android:hardwareAccelerated="true"
package org.haxe.lime; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.graphics.PixelFormat; | |
::if (ANDROID_TARGET_SDK_VERSION > 15)::import android.hardware.input.InputManager;::end:: //addition nils | |
::if (ANDROID_TARGET_SDK_VERSION > 15)::import android.hardware.input.InputManager.InputDeviceListener;::end:://addition nils | |
import android.opengl.GLSurfaceView; | |
import android.os.Build; |
# install openjdk | |
sudo apt-get install openjdk-7-jdk | |
# download android sdk | |
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
tar -xvf android-sdk_r24.2-linux.tgz | |
cd android-sdk-linux/tools | |
# install all sdk packages |
android.permission.REAL_GET_TASKS | |
android.permission.ACCESS_CACHE_FILESYSTEM | |
android.permission.REMOTE_AUDIO_PLAYBACK | |
com.amazon.client.metrics.nexus.permission.CANCEL_SCHEDULED_UPLOAD | |
android.permission.REGISTER_WINDOW_MANAGER_LISTENERS | |
android.permission.INTENT_FILTER_VERIFICATION_AGENT | |
android.permission.BIND_INCALL_SERVICE | |
com.google.android.gms.trustagent.framework.model.DATA_CHANGE_NOTIFICATION | |
android.permission.WRITE_SETTINGS | |
com.google.android.vending.verifier.ACCESS_VERIFIER |
Service | SSL | status | Response Type | Allowed methods | Allowed headers |
---|
webView.settings.javaScriptEnabled = true | |
webView.webViewClient = object : WebViewClient() { | |
override fun onPageFinished(view: WebView, url: String) { | |
injectJS() | |
} | |
} | |
webView.loadUrl("https://www.google.com") |
private fun injectJS() { | |
try { | |
val inputStream = assets.open("style.js") | |
inputStream.bufferedReader().use(BufferedReader::readText) | |
} catch (e: Exception) { | |
null | |
}?.let { webView.loadUrl("javascript:($it)()") } | |
} |
Progressive Web Apps are user experiences that have the reach of the web, and are:
- Reliable - Load instantly and never show the downasaur, even in uncertain network conditions.
- Fast - Respond quickly to user interactions with silky smooth animations and no janky scrolling.
- Engaging - Feel like a natural app on the device, with an immersive user experience. This new level of quality allows Progressive Web Apps to earn a place on the user's home screen.
Here is a simple way to create your own badge for your npm package. I hope you will enjoy this.
You can also follow this pattern https://img.shields.io/badge/[SUBJECT]-[STATUS]-[COLOR].svg and Put something on below values: