Posts

Showing posts with the label location

Pokémon Go Working Trick!

Image
Pokémon Go Working Trick! Pokémon Go is going such a viral and everyone wants to catch new Pokémon.  I was wondering how come there is no working trick out there for Pokémon Go?  Before this I've read so many articles and seen so many videos, but nah! They were all useless and not working. I wonder how they worked for them.  But then I came across this app/method which is completely working. Yes, now you don't have to go anywhere and run behind the  Pokémon like others. Unlike all other techniques this one  does not require your phone to be rooted ! Isn't that great? I'm not sure if I'll get banned for using such method. But who cares, the game gets boring after a while anyway.  So, before they rule out any more updates with a fix! You can follow this method and get all the  Pokémons you want! What this trick does? Well, this trick lets user to enter any location as he wants preferably...

Android Development : Aksing user to turn on the GPS

Image
  Dialog box :  Turn on the GPS      Recently, in one of my android project work, I needed GPS location of the user device. I wanted it to look like the dialog box which appears in the Google Maps when we turn in on. This is how Google asks user permission for GPS access: So, after referring the Google's official documentation and some more modifications following code worked like a charm. I had integrated the map and the code somewhat goes like this: First you have to add manifest permissions: <uses-permission android:name = "android.permission.READ_PHONE_STATE" /> <uses-permission android:name = "android.permission.INTERNET" /> <uses-permission android:name = "android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name = "android.permission.ACCESS_COARSE_LOCATION" /> Then edit your MainActivity like this : public class MainActivity extends AppCompatActivity implements ...