Advertisement
Guest User

Untitled

a guest
Mar 14th, 2012
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.56 KB | None | 0 0
  1. package com.commoncentsapps.utils;
  2.  
  3. import java.util.Comparator;
  4.  
  5. public class Location extends android.location.Location {
  6.     private double latitude;
  7.     private double longitude;
  8.     public Location(android.location.Location location){
  9.         super(location);
  10.         // TODO Auto-generated constructor stub
  11.     }
  12.  
  13.     public Location(String provider) {
  14.         super(provider);
  15.         // TODO Auto-generated constructor stub
  16.     }
  17.  
  18.     public Location(double latitude, double longitude) {
  19.         super("FIXED");
  20.         this.setLatitude(latitude);
  21.         this.setLongitude(longitude);
  22.     }
  23.    
  24.    
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement