One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {| def getVersionName = { -> | |
| try { | |
| def stdout = new ByteArrayOutputStream() | |
| exec { | |
| commandLine 'git', 'describe', '--dirty' | |
| standardOutput = stdout | |
| } | |
| return stdout.toString().trim() | |
| } | |
| catch (ignored) { |
| def getVersionCode = { -> | |
| try { | |
| def stdout = new ByteArrayOutputStream() | |
| exec { | |
| commandLine 'git', 'rev-list', '--first-parent', '--count', 'origin/master' | |
| standardOutput = stdout | |
| } | |
| return Integer.parseInt(stdout.toString().trim()) * 100 | |
| } | |
| catch (ignored) { |
| package im.ene.lab.android.widgets; | |
| import android.content.Context; | |
| import android.graphics.PorterDuff; | |
| import android.graphics.drawable.Drawable; | |
| import android.os.Build; | |
| import android.support.annotation.NonNull; | |
| import android.support.annotation.Nullable; | |
| import android.support.design.widget.TabLayout; | |
| import android.util.AttributeSet; |
One file for each domain, both www.example.com and example.com need separate files:
{
"applinks": {
"apps": [],
"details": {
"9JA89QQLNQ.com.apple.wwdc": {| // | |
| //Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); | |
| //Espresso.setFailureHandler(new CustomFailureHandler(instrumentation)); | |
| public class CustomFailureHandler implements FailureHandler { | |
| private final FailureHandler delegate; | |
| public CustomFailureHandler(@NonNull Instrumentation instrumentation) { | |
| delegate = new DefaultFailureHandler(instrumentation.getTargetContext()); | |
| } |
| private static final int TIME_DELAY = 2000; | |
| private static long back_pressed; | |
| @Override | |
| public void onBackPressed() { | |
| if (back_pressed + TIME_DELAY > System.currentTimeMillis()) { | |
| super.onBackPressed(); | |
| } else { | |
| Toast.makeText(getBaseContext(), "Press once again to exit!", | |
| Toast.LENGTH_SHORT).show(); | |
| } |
| package com.blogspot.ksoichiro.linktest; | |
| import android.text.Layout; | |
| import android.text.Spannable; | |
| import android.text.SpannableString; | |
| import android.text.Spanned; | |
| import android.text.TextUtils; | |
| import android.text.method.LinkMovementMethod; | |
| import android.text.style.ClickableSpan; |
| npm i -g bower cordova grunt-cli gulp ionic typescript which yo |
| package daichan4649.test; | |
| import android.content.Context; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| import android.widget.Checkable; | |
| import android.widget.LinearLayout; | |
| public class CheckableLayout extends LinearLayout implements Checkable { |
| import android.content.Context; | |
| import android.graphics.drawable.Drawable; | |
| import android.os.Parcel; | |
| import android.os.Parcelable; | |
| import android.util.AttributeSet; | |
| import android.view.MotionEvent; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.widget.Checkable; | |
| import android.widget.LinearLayout; |