Posted on Leave a comment

Use Firebase



Set up Google Play Services

Firebase Cloud Messaging HTTP Protocol


Android push notification tutorial (php, mysql)

Firebase vs Google Analytics

Firebase API

What’s new at Firebase Summit 2019 [ ]
How to set up Crashlytics alerting to monitor app stability [ ]

Exploring Firebase ML Kit on Android: Smart Reply [ ]

Firebase App Distribution, Fastlane, Docker, Bitbucket Pipelines, Telegram, and all that jazz [ ]

Firebase ML Kit: AutoML Vision Edge [ ]

Test Robo Scripts Locally: Useful For Firebase Test Lab & Pre-launch Reports [ ]

Firebase App Distribution - Distributing test releases of your apps [ ]

Posted on Leave a comment

google app index

Android Debug Bridge ADB

$ ID="foo"
$ adb shell am start -a android.intent.action.VIEW \ -d "$ID" \


protected void onCreate(Bundle savedInstanceStates) {
  mClient = new GoogleApiClient.Builder(this).addApi(AppIndex.API).build();

public void onStart() {
  String url = "" + sessionId;
  Action action = Action.newAction(Action.TYPE_VIEW, title, url);
  AppIndex.AppIndexApi.start(mClient, action);

Activity. User came from Google

//referrer string for Intents from Google Search in a browser
static final String Google_web_referrer = "";
//referrer string for Intents from the Google app
static final String Google_app_referrer = "android-app://";

public void onStart() {
  String referrer = this.getReferrer().toString();
  if (Google_web_referrer.equals(referrer) || Google_app_referrer.equals(referrer)) {
    // user came from google