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

This commit is contained in:
Bryce Curtis 2011-11-07 15:03:56 -06:00
commit e9fcb296bb
62 changed files with 2757 additions and 2039 deletions

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")) {

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")) {

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")) {

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")) {

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")) {

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")) {

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")) {

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

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")) {

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")) {

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")) {

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")) {

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.
*/ */

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")) {

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");

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")) {

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

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")) {

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.
*/ */
/* /*

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;

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;

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;

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;

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;

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;

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;

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;

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;

View File

@ -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
* *

View File

@ -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
* *

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;

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;

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;

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.File; import java.io.File;

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;

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;

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;

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 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;

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.*;

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);
}
}

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;

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;

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;

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;

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 com.phonegap.api.PhonegapActivity; import com.phonegap.api.PhonegapActivity;

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;

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;

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;

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;

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;

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;

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;

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;

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.app.Activity; import android.app.Activity;

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;

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 java.io.IOException; import java.io.IOException;

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;

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {