diff --git a/src/com/nitobi/phonegap/AccelTuple.java b/src/com/nitobi/phonegap/AccelTuple.java index aa78a975..a8c8ab34 100644 --- a/src/com/nitobi/phonegap/AccelTuple.java +++ b/src/com/nitobi/phonegap/AccelTuple.java @@ -1,5 +1,26 @@ package com.nitobi.phonegap; - +/* License (MIT) + * Copyright (c) 2008 Nitobi + * website: http://phonegap.com + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * “Software”), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ public class AccelTuple { public long accelX; public long accelY; diff --git a/src/com/nitobi/phonegap/CameraHandler.java b/src/com/nitobi/phonegap/CameraHandler.java index 5a065b4f..661f89fa 100644 --- a/src/com/nitobi/phonegap/CameraHandler.java +++ b/src/com/nitobi/phonegap/CameraHandler.java @@ -1,5 +1,26 @@ package com.nitobi.phonegap; - +/* License (MIT) + * Copyright (c) 2008 Nitobi + * website: http://phonegap.com + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * “Software”), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ import java.io.OutputStream; import java.text.SimpleDateFormat; diff --git a/src/com/nitobi/phonegap/CameraListener.java b/src/com/nitobi/phonegap/CameraListener.java index 20f425c4..9d50ed7c 100644 --- a/src/com/nitobi/phonegap/CameraListener.java +++ b/src/com/nitobi/phonegap/CameraListener.java @@ -1,5 +1,26 @@ package com.nitobi.phonegap; - +/* License (MIT) + * Copyright (c) 2008 Nitobi + * website: http://phonegap.com + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * “Software”), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ import java.io.FileNotFoundException; import java.io.OutputStream; import java.text.SimpleDateFormat; diff --git a/src/com/nitobi/phonegap/DroidGap.java b/src/com/nitobi/phonegap/DroidGap.java index e2fc81c8..bbf87673 100644 --- a/src/com/nitobi/phonegap/DroidGap.java +++ b/src/com/nitobi/phonegap/DroidGap.java @@ -1,5 +1,26 @@ package com.nitobi.phonegap; - +/* License (MIT) + * Copyright (c) 2008 Nitobi + * website: http://phonegap.com + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * “Software”), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Field; diff --git a/src/com/nitobi/phonegap/GeoTuple.java b/src/com/nitobi/phonegap/GeoTuple.java index 60f618a0..a01f9ba9 100644 --- a/src/com/nitobi/phonegap/GeoTuple.java +++ b/src/com/nitobi/phonegap/GeoTuple.java @@ -1,5 +1,26 @@ package com.nitobi.phonegap; - +/* License (MIT) + * Copyright (c) 2008 Nitobi + * website: http://phonegap.com + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * “Software”), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ public class GeoTuple { public double lat; diff --git a/src/com/nitobi/phonegap/GpsListener.java b/src/com/nitobi/phonegap/GpsListener.java index 054100bb..d89f32c8 100644 --- a/src/com/nitobi/phonegap/GpsListener.java +++ b/src/com/nitobi/phonegap/GpsListener.java @@ -1,5 +1,26 @@ package com.nitobi.phonegap; - +/* License (MIT) + * Copyright (c) 2008 Nitobi + * website: http://phonegap.com + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * “Software”), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ import android.content.Context; import android.hardware.SensorManager; import android.location.Location; diff --git a/src/com/nitobi/phonegap/NetworkListener.java b/src/com/nitobi/phonegap/NetworkListener.java index d54f4794..42c8a926 100644 --- a/src/com/nitobi/phonegap/NetworkListener.java +++ b/src/com/nitobi/phonegap/NetworkListener.java @@ -1,5 +1,26 @@ package com.nitobi.phonegap; - +/* License (MIT) + * Copyright (c) 2008 Nitobi + * website: http://phonegap.com + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * “Software”), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ import android.content.Context; import android.hardware.SensorManager; import android.location.Location; diff --git a/src/com/nitobi/phonegap/Orientation.java b/src/com/nitobi/phonegap/Orientation.java index ae38e44e..05b1828f 100644 --- a/src/com/nitobi/phonegap/Orientation.java +++ b/src/com/nitobi/phonegap/Orientation.java @@ -1,5 +1,26 @@ package com.nitobi.phonegap; - +/* License (MIT) + * Copyright (c) 2008 Nitobi + * website: http://phonegap.com + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * “Software”), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ import android.content.Context; import android.hardware.SensorManager; diff --git a/src/com/nitobi/phonegap/PhoneGap.java b/src/com/nitobi/phonegap/PhoneGap.java index fef91410..65b61b4e 100644 --- a/src/com/nitobi/phonegap/PhoneGap.java +++ b/src/com/nitobi/phonegap/PhoneGap.java @@ -1,5 +1,26 @@ package com.nitobi.phonegap; - +/* License (MIT) + * Copyright (c) 2008 Nitobi + * website: http://phonegap.com + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * “Software”), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ import java.io.IOException; import android.content.Context;