Merge branch 'master' of github.com:callback/callback-android

This commit is contained in:
Bryce Curtis
2011-11-07 15:03:56 -06:00
62 changed files with 2757 additions and 2039 deletions
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("accelerometer")) { if (!PhoneGap.hasResource("accelerometer")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("app")) { if (!PhoneGap.hasResource("app")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("battery")) { if (!PhoneGap.hasResource("battery")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("camera")) { if (!PhoneGap.hasResource("camera")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("capture")) { if (!PhoneGap.hasResource("capture")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("compass")) { if (!PhoneGap.hasResource("compass")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("contact")) { if (!PhoneGap.hasResource("contact")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
// TODO: Needs to be commented // TODO: Needs to be commented
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("device")) { if (!PhoneGap.hasResource("device")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("file")) { if (!PhoneGap.hasResource("file")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("filetransfer")) { if (!PhoneGap.hasResource("filetransfer")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("geolocation")) { if (!PhoneGap.hasResource("geolocation")) {
+16 -4
View File
@@ -1,7 +1,19 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("media")) { if (!PhoneGap.hasResource("media")) {
+16 -4
View File
@@ -1,11 +1,23 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("network")) { if (!PhoneGap.hasResource("network")) {
PhoneGap.addResource("network"); PhoneGap.addResource("network");
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("notification")) { if (!PhoneGap.hasResource("notification")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
// Version 1.2.0 // Version 1.2.0
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
if (!PhoneGap.hasResource("position")) { if (!PhoneGap.hasResource("position")) {
+15 -4
View File
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
/* /*
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.util.List; import java.util.List;
+18 -6
View File
@@ -1,10 +1,22 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010-2011, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import org.json.JSONArray; import org.json.JSONArray;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import android.content.Context; import android.content.Context;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import android.media.AudioManager; import android.media.AudioManager;
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010-2011, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import org.json.JSONArray; import org.json.JSONArray;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.io.BufferedReader; import java.io.BufferedReader;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2011, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.io.File; import java.io.File;
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.util.List; import java.util.List;
@@ -1,11 +1,3 @@
// Taken from Android Tutorials
/*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
*
* Copyright (c) 2005-2010, Nitobi Software Inc.
* Copyright (c) 2010, IBM Corporation
*/
/* /*
* Copyright (C) 2009 The Android Open Source Project * Copyright (C) 2009 The Android Open Source Project
* *
@@ -1,12 +1,3 @@
// Taken from Android tutorials
/*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
*
* Copyright (c) 2005-2010, Nitobi Software Inc.
* Copyright (c) 2010, IBM Corporation
* Copyright (c) 2011, Giant Leap Technologies AS
*/
/* /*
* Copyright (C) 2009 The Android Open Source Project * Copyright (C) 2009 The Android Open Source Project
* *
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import org.json.JSONArray; import org.json.JSONArray;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import org.json.JSONArray; import org.json.JSONArray;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.util.TimeZone; import java.util.TimeZone;
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.io.File; import java.io.File;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010-2011, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.util.HashMap; import java.util.HashMap;
+17 -5
View File
@@ -1,9 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2011, IBM Corporation regarding copyright ownership. The ASF licenses this file
*/ to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.io.IOException; import java.io.IOException;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.io.DataInputStream; import java.io.DataInputStream;
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import org.json.JSONException; import org.json.JSONException;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010-2011, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.io.*; import java.io.*;
+38
View File
@@ -0,0 +1,38 @@
package com.phonegap;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.widget.EditText;
public class GapView extends WebView {
public GapView(Context context) {
super(context);
// TODO Auto-generated constructor stub
}
@Override
protected void attachViewToParent(View child, int index, ViewGroup.LayoutParams params)
{
if(child.getClass() != EditText.class)
super.attachViewToParent(child, index, params);
else
{
super.attachViewToParent(child, index, params);
}
}
@Override
protected boolean addViewInLayout(View child, int index, ViewGroup.LayoutParams params)
{
return super.addViewInLayout(child, index, params);
}
@Override
protected boolean addViewInLayout(View child, int index, ViewGroup.LayoutParams params, boolean preventRequestLayout)
{
return super.addViewInLayout(child, index, params);
}
}
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.util.HashMap; import java.util.HashMap;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import android.content.Context; import android.content.Context;
+18 -6
View File
@@ -1,10 +1,22 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import com.phonegap.api.PhonegapActivity; import com.phonegap.api.PhonegapActivity;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.io.EOFException; import java.io.EOFException;
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import com.phonegap.api.PhonegapActivity; import com.phonegap.api.PhonegapActivity;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010-2011, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import org.json.JSONArray; import org.json.JSONArray;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import org.json.JSONArray; import org.json.JSONArray;
+17 -5
View File
@@ -1,9 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
*/ to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.lang.reflect.Field; import java.lang.reflect.Field;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import org.json.JSONArray; import org.json.JSONArray;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.util.List; import java.util.List;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap; package com.phonegap;
import java.io.IOException; import java.io.IOException;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap.api; package com.phonegap.api;
import org.json.JSONArray; import org.json.JSONArray;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap.api; package com.phonegap.api;
import android.util.Log; import android.util.Log;
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap.api; package com.phonegap.api;
import android.app.Activity; import android.app.Activity;
+17 -6
View File
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap.api; package com.phonegap.api;
import org.json.JSONArray; import org.json.JSONArray;
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap.api; package com.phonegap.api;
import java.io.IOException; import java.io.IOException;
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation to you under the Apache License, Version 2.0 (the
*/ "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap.api; package com.phonegap.api;
import org.json.JSONArray; import org.json.JSONArray;
@@ -1,3 +1,22 @@
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap.file; package com.phonegap.file;
public class EncodingException extends Exception { public class EncodingException extends Exception {
@@ -1,3 +1,22 @@
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap.file; package com.phonegap.file;
public class FileExistsException extends Exception { public class FileExistsException extends Exception {
@@ -1,3 +1,23 @@
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap.file; package com.phonegap.file;
public class InvalidModificationException extends Exception { public class InvalidModificationException extends Exception {
@@ -1,3 +1,22 @@
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap.file; package com.phonegap.file;
public class NoModificationAllowedException extends Exception { public class NoModificationAllowedException extends Exception {
@@ -1,3 +1,23 @@
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package com.phonegap.file; package com.phonegap.file;
public class TypeMismatchException extends Exception { public class TypeMismatchException extends Exception {