/[projects]/android/DroidRadar/src/dk/thoerup/droidradar/DroidBean.java
ViewVC logotype

Annotation of /android/DroidRadar/src/dk/thoerup/droidradar/DroidBean.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 277 - (hide annotations) (download)
Mon Aug 24 21:48:00 2009 UTC (14 years, 9 months ago) by torben
File size: 1386 byte(s)
Very ugly first implementation of backend enabled droidradar
1 torben 277 package dk.thoerup.droidradar;
2    
3     import android.location.Location;
4    
5     public class DroidBean {
6    
7     private long imei;
8     private String handle;
9     private String group;
10     private double latitude;
11     private double longitude;
12     private int lastUpdate;
13    
14     private int guiX = -200;
15     private int guiY = -200;
16    
17     private static Location loc = new Location("loc");
18    
19     public Location getLocation() {
20     loc.setLatitude(latitude);
21     loc.setLongitude(longitude);
22     return loc;
23     }
24    
25     public long getImei() {
26     return imei;
27     }
28     public void setImei(long imei) {
29     this.imei = imei;
30     }
31     public String getHandle() {
32     return handle;
33     }
34     public void setHandle(String handle) {
35     this.handle = handle;
36     }
37     public String getGroup() {
38     return group;
39     }
40     public void setGroup(String group) {
41     this.group = group;
42     }
43     public double getLatitude() {
44     return latitude;
45     }
46     public void setLatitude(double latitude) {
47     this.latitude = latitude;
48     }
49     public double getLongitude() {
50     return longitude;
51     }
52     public void setLongitude(double longitude) {
53     this.longitude = longitude;
54     }
55     public int getLastUpdate() {
56     return lastUpdate;
57     }
58     public void setLastUpdate(int lastUpdate) {
59     this.lastUpdate = lastUpdate;
60     }
61     public int getGuiX() {
62     return guiX;
63     }
64     public void setGuiX(int guiX) {
65     this.guiX = guiX;
66     }
67     public int getGuiY() {
68     return guiY;
69     }
70     public void setGuiY(int guiY) {
71     this.guiY = guiY;
72     }
73    
74    
75    
76     }

  ViewVC Help
Powered by ViewVC 1.1.20