Skip to content

Instantly share code, notes, and snippets.

View kedarmp's full-sized avatar
😴
Focusing

Kedar Paranjape kedarmp

😴
Focusing
  • Pittsburgh
View GitHub Profile
@kedarmp
kedarmp / LocationActivity.java
Created March 15, 2018 05:01
Sample Code to fetch location on Android using FusedLocationProviderClient
package com.domain.apps.smileyview;
import android.Manifest;
import android.annotation.SuppressLint;
import android.content.IntentSender;
import android.content.pm.PackageManager;
import android.location.Location;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.ActivityCompat;