diff options
Diffstat (limited to 'phonegap/Android/res')
-rw-r--r-- | phonegap/Android/res/drawable-hdpi/ic_launcher.png | bin | 0 -> 4147 bytes | |||
-rw-r--r-- | phonegap/Android/res/drawable-ldpi/ic_launcher.png | bin | 0 -> 1723 bytes | |||
-rw-r--r-- | phonegap/Android/res/drawable-mdpi/ic_launcher.png | bin | 0 -> 2574 bytes | |||
-rw-r--r-- | phonegap/Android/res/layout/main.xml | 12 | ||||
-rw-r--r-- | phonegap/Android/res/values/strings.xml | 7 | ||||
-rw-r--r-- | phonegap/Android/res/xml/cordova.xml | 5 | ||||
-rw-r--r-- | phonegap/Android/res/xml/plugins.xml | 38 |
7 files changed, 62 insertions, 0 deletions
diff --git a/phonegap/Android/res/drawable-hdpi/ic_launcher.png b/phonegap/Android/res/drawable-hdpi/ic_launcher.png Binary files differnew file mode 100644 index 000000000..8074c4c57 --- /dev/null +++ b/phonegap/Android/res/drawable-hdpi/ic_launcher.png diff --git a/phonegap/Android/res/drawable-ldpi/ic_launcher.png b/phonegap/Android/res/drawable-ldpi/ic_launcher.png Binary files differnew file mode 100644 index 000000000..1095584ec --- /dev/null +++ b/phonegap/Android/res/drawable-ldpi/ic_launcher.png diff --git a/phonegap/Android/res/drawable-mdpi/ic_launcher.png b/phonegap/Android/res/drawable-mdpi/ic_launcher.png Binary files differnew file mode 100644 index 000000000..a07c69fa5 --- /dev/null +++ b/phonegap/Android/res/drawable-mdpi/ic_launcher.png diff --git a/phonegap/Android/res/layout/main.xml b/phonegap/Android/res/layout/main.xml new file mode 100644 index 000000000..bc12cd823 --- /dev/null +++ b/phonegap/Android/res/layout/main.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/hello" /> + +</LinearLayout>
\ No newline at end of file diff --git a/phonegap/Android/res/values/strings.xml b/phonegap/Android/res/values/strings.xml new file mode 100644 index 000000000..a4df04a14 --- /dev/null +++ b/phonegap/Android/res/values/strings.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <string name="hello">Hello World, AndroidActivity!</string> + <string name="app_name">FixMyStreet</string> + +</resources>
\ No newline at end of file diff --git a/phonegap/Android/res/xml/cordova.xml b/phonegap/Android/res/xml/cordova.xml new file mode 100644 index 000000000..c7b500003 --- /dev/null +++ b/phonegap/Android/res/xml/cordova.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<cordova> + <access origin="http://127.0.0.1*"/> + <log level="DEBUG"/> +</cordova> diff --git a/phonegap/Android/res/xml/plugins.xml b/phonegap/Android/res/xml/plugins.xml new file mode 100644 index 000000000..76879a1ce --- /dev/null +++ b/phonegap/Android/res/xml/plugins.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + 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. +--> +<plugins> + <plugin name="App" value="org.apache.cordova.App"/> + <plugin name="Geolocation" value="org.apache.cordova.GeoBroker"/> + <plugin name="Device" value="org.apache.cordova.Device"/> + <plugin name="Accelerometer" value="org.apache.cordova.AccelListener"/> + <plugin name="Compass" value="org.apache.cordova.CompassListener"/> + <plugin name="Media" value="org.apache.cordova.AudioHandler"/> + <plugin name="Camera" value="org.apache.cordova.CameraLauncher"/> + <plugin name="Contacts" value="org.apache.cordova.ContactManager"/> + <plugin name="File" value="org.apache.cordova.FileUtils"/> + <plugin name="NetworkStatus" value="org.apache.cordova.NetworkManager"/> + <plugin name="Notification" value="org.apache.cordova.Notification"/> + <plugin name="Storage" value="org.apache.cordova.Storage"/> + <plugin name="Temperature" value="org.apache.cordova.TempListener"/> + <plugin name="FileTransfer" value="org.apache.cordova.FileTransfer"/> + <plugin name="Capture" value="org.apache.cordova.Capture"/> + <plugin name="Battery" value="org.apache.cordova.BatteryListener"/> + <plugin name="SplashScreen" value="org.apache.cordova.SplashScreen"/> +</plugins> |