Skip to content

Instantly share code, notes, and snippets.

Not particularly writing code anymore

Raveesh Bhalla raveeshbhalla

Not particularly writing code anymore
Block or report user

Report or block raveeshbhalla

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Ola webapp Lighthouse
Copyright 2016 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
raveeshbhalla /
Last active Jun 5, 2017
How to integrate Google Now into your app (for a quick demo, view:
* Somewhere in your activity
String query = "";
if (getIntent().getAction() != null && getIntent().getAction().equals("")) {
query = getIntent().getStringExtra(SearchManager.QUERY);
View NotiphiUtils
package co.haptik.utils;
import android.content.Context;
import android.content.SharedPreferences;
import com.notikum.notifypassive.utils.NotiphiEventReceiver;
import org.json.JSONException;
import org.json.JSONObject;
View Logcat
09-22 03:18:34.416 27708-27708/app.fitrank I/MainActivity﹕ Connecting...
09-22 03:18:34.447 27708-27708/app.fitrank I/am_on_resume_called﹕ [0,app.fitrank.MainActivity]
09-22 03:18:34.453 27708-27739/app.fitrank D/CanvasContext﹕ Render dirty regions requested: true
09-22 03:18:34.491 27708-27739/app.fitrank W/Adreno-GSL﹕ <ioctl_kgsl_device_getproperty:663>: mmap failed: errno 22 Invalid argument
09-22 03:18:34.491 27708-27739/app.fitrank I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I10246dbd022c719c705be805d5642cc8fdfbd2a2Date: 03/07/14
09-22 03:18:34.492 27708-27739/app.fitrank I/CanvasContext﹕ Initialized EGL, version 1.4
09-22 03:18:34.510 27708-27739/app.fitrank D/OpenGLRenderer﹕ Enabling debug mode 0
09-22 03:18:34.522 27708-27708/app.fitrank I/MainActivity﹕ Connected!
09-22 03:18:34.562 27708-27727/app.fitrank V/Fitness﹕ Received batch result
09-22 03:18:34.581 27708-27708/app.fitrank I/MainActivity﹕ Data type:
You can’t perform that action at this time.