Skip to main content

Posts

Showing posts from 2016

Facebook Sdk Callback Mechanism in Android

manages the callbacks into the FacebookSdk from an Acitivity's or Fragment's onActivityResult() method. This javadoc of   CallbackManager class from facebook sdk doesn't explain very well on how the facebook sdk interacts with our app components. It exposes just one public method : onActivityResult() which is to be called by our app's ui components from their onActivityResult. We create an instance of class  CallbackManager, using CallbackManager Factory which essentially returns a new instance of CallbackManagerImpl,  the only implementation of CallbackManager interface in facebook sdk. CallbackManagerImpl :  So, this class gets callback from our app components. But what does it do with that?  Different facebook components such as the LoginManager, AppInviteDialog register themselves with this class to be invoked for their particular case. They do so by the publicly exposed   registerCallback  method and register themselve against...

Digital Nomadism in Mcleodganj : Cafes with wifi

Illiterati Cafe, Mcleodganj After coming across Digital Nomadism , I recently went to some places in India  (mentioned  here )  to explore the feasibility of pursuing it there.    One of them was the headquarters of Tibetan Government-In-Exile in India. Known for a large number of resident tibetans, it's sometimes referred to as 'Little Lhasa'.  I must say it was a good decision to include Mcleodganj in my trip.  The place offers a good 3g connectivity for many providers, cafes that provide decent wifi speed and some cheap places to stay. As an effort to make this information easily accessible to others, I have compiled below a list of cafes/restaurants in Mcleod where you can take your laptop.  I have rated each place with some parameters which I think would make it easy for someone to decide if the place suits their needs. I have personally visited each place listed and the opinions expressed are purely mine.   ...