diff options
Diffstat (limited to 'phonegap/Android')
22 files changed, 0 insertions, 264 deletions
diff --git a/phonegap/Android/.classpath b/phonegap/Android/.classpath deleted file mode 100644 index e088a5d5b..000000000 --- a/phonegap/Android/.classpath +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src"/> - <classpathentry kind="src" path="gen"/> - <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> - <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> - <classpathentry kind="lib" path="libs/cordova-2.1.0.jar"/> - <classpathentry kind="output" path="bin/classes"/> -</classpath> diff --git a/phonegap/Android/.project b/phonegap/Android/.project deleted file mode 100644 index 72e54dea9..000000000 --- a/phonegap/Android/.project +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>Android</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>com.android.ide.eclipse.adt.ApkBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>com.android.ide.eclipse.adt.AndroidNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> diff --git a/phonegap/Android/AndroidManifest.xml b/phonegap/Android/AndroidManifest.xml deleted file mode 100644 index 8e7f49994..000000000 --- a/phonegap/Android/AndroidManifest.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="org.mysociety.FixMyStreet" - android:versionCode="1" - android:versionName="1.0" > - - <uses-sdk - android:minSdkVersion="7" - android:targetSdkVersion="15" /> - - <supports-screens - android:largeScreens="true" - android:normalScreens="true" - android:smallScreens="true" - android:resizeable="true" - android:anyDensity="true" /> - <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> - <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> - <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"/> - <uses-permission android:name="android.permission.CAMERA"/> - <uses-permission android:name="android.permission.INTERNET"/> - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> - - <application - android:icon="@drawable/ic_launcher" - android:label="@string/app_name" - android:theme="@style/AppTheme" > - <activity - android:name=".AndroidActivity" - android:label="@string/title_activity_main" - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" > - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - </activity> - </application> - -</manifest>
\ No newline at end of file diff --git a/phonegap/Android/assets/www b/phonegap/Android/assets/www deleted file mode 120000 index 933a59978..000000000 --- a/phonegap/Android/assets/www +++ /dev/null @@ -1 +0,0 @@ -../../www
\ No newline at end of file diff --git a/phonegap/Android/gen/org/mysociety/FixMyStreet/R.java b/phonegap/Android/gen/org/mysociety/FixMyStreet/R.java deleted file mode 100644 index 9dd2e6d98..000000000 --- a/phonegap/Android/gen/org/mysociety/FixMyStreet/R.java +++ /dev/null @@ -1,38 +0,0 @@ -/* AUTO-GENERATED FILE. DO NOT MODIFY. - * - * This class was automatically generated by the - * aapt tool from the resource data it found. It - * should not be modified by hand. - */ - -package org.mysociety.FixMyStreet; - -public final class R { - public static final class attr { - } - public static final class drawable { - public static final int ic_action_search=0x7f020000; - public static final int ic_launcher=0x7f020001; - } - public static final class id { - public static final int menu_settings=0x7f080000; - } - public static final class layout { - public static final int activity_main=0x7f030000; - } - public static final class menu { - public static final int activity_main=0x7f070000; - } - public static final class string { - public static final int app_name=0x7f050000; - public static final int hello=0x7f050001; - public static final int menu_settings=0x7f050002; - public static final int title_activity_main=0x7f050003; - } - public static final class style { - public static final int AppTheme=0x7f060000; - } - public static final class xml { - public static final int config=0x7f040000; - } -} diff --git a/phonegap/Android/libs/cordova-2.1.0.jar b/phonegap/Android/libs/cordova-2.1.0.jar Binary files differdeleted file mode 100644 index d3eecaaaf..000000000 --- a/phonegap/Android/libs/cordova-2.1.0.jar +++ /dev/null diff --git a/phonegap/Android/proguard-project.txt b/phonegap/Android/proguard-project.txt deleted file mode 100644 index f2fe1559a..000000000 --- a/phonegap/Android/proguard-project.txt +++ /dev/null @@ -1,20 +0,0 @@ -# To enable ProGuard in your project, edit project.properties -# to define the proguard.config property as described in that file. -# -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in ${sdk.dir}/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/phonegap/Android/project.properties b/phonegap/Android/project.properties deleted file mode 100644 index 9b84a6b4b..000000000 --- a/phonegap/Android/project.properties +++ /dev/null @@ -1,14 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system edit -# "ant.properties", and override values to adapt the script to your -# project structure. -# -# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): -#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt - -# Project target. -target=android-16 diff --git a/phonegap/Android/res/drawable-hdpi/ic_action_search.png b/phonegap/Android/res/drawable-hdpi/ic_action_search.png Binary files differdeleted file mode 100644 index 67de12dec..000000000 --- a/phonegap/Android/res/drawable-hdpi/ic_action_search.png +++ /dev/null diff --git a/phonegap/Android/res/drawable-hdpi/ic_launcher.png b/phonegap/Android/res/drawable-hdpi/ic_launcher.png Binary files differdeleted file mode 100644 index a301d5795..000000000 --- a/phonegap/Android/res/drawable-hdpi/ic_launcher.png +++ /dev/null diff --git a/phonegap/Android/res/drawable-ldpi/ic_launcher.png b/phonegap/Android/res/drawable-ldpi/ic_launcher.png Binary files differdeleted file mode 100644 index 2c2a58b2f..000000000 --- a/phonegap/Android/res/drawable-ldpi/ic_launcher.png +++ /dev/null diff --git a/phonegap/Android/res/drawable-mdpi/ic_action_search.png b/phonegap/Android/res/drawable-mdpi/ic_action_search.png Binary files differdeleted file mode 100644 index 134d5490b..000000000 --- a/phonegap/Android/res/drawable-mdpi/ic_action_search.png +++ /dev/null diff --git a/phonegap/Android/res/drawable-mdpi/ic_launcher.png b/phonegap/Android/res/drawable-mdpi/ic_launcher.png Binary files differdeleted file mode 100644 index f91f736fe..000000000 --- a/phonegap/Android/res/drawable-mdpi/ic_launcher.png +++ /dev/null diff --git a/phonegap/Android/res/drawable-xhdpi/ic_action_search.png b/phonegap/Android/res/drawable-xhdpi/ic_action_search.png Binary files differdeleted file mode 100644 index d699c6b37..000000000 --- a/phonegap/Android/res/drawable-xhdpi/ic_action_search.png +++ /dev/null diff --git a/phonegap/Android/res/drawable-xhdpi/ic_launcher.png b/phonegap/Android/res/drawable-xhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 96095ec84..000000000 --- a/phonegap/Android/res/drawable-xhdpi/ic_launcher.png +++ /dev/null diff --git a/phonegap/Android/res/layout/activity_main.xml b/phonegap/Android/res/layout/activity_main.xml deleted file mode 100644 index 0b4ffccc1..000000000 --- a/phonegap/Android/res/layout/activity_main.xml +++ /dev/null @@ -1,14 +0,0 @@ -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" > - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerHorizontal="true" - android:layout_centerVertical="true" - android:text="@string/hello" - tools:context=".MainActivity" /> - -</RelativeLayout> diff --git a/phonegap/Android/res/menu/activity_main.xml b/phonegap/Android/res/menu/activity_main.xml deleted file mode 100644 index cfc10fd52..000000000 --- a/phonegap/Android/res/menu/activity_main.xml +++ /dev/null @@ -1,6 +0,0 @@ -<menu xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:id="@+id/menu_settings" - android:title="@string/menu_settings" - android:orderInCategory="100" - android:showAsAction="never" /> -</menu> diff --git a/phonegap/Android/res/values-v11/styles.xml b/phonegap/Android/res/values-v11/styles.xml deleted file mode 100644 index d408cbc37..000000000 --- a/phonegap/Android/res/values-v11/styles.xml +++ /dev/null @@ -1,5 +0,0 @@ -<resources> - - <style name="AppTheme" parent="android:Theme.Holo.Light" /> - -</resources>
\ No newline at end of file diff --git a/phonegap/Android/res/values-v14/styles.xml b/phonegap/Android/res/values-v14/styles.xml deleted file mode 100644 index 1c089a788..000000000 --- a/phonegap/Android/res/values-v14/styles.xml +++ /dev/null @@ -1,5 +0,0 @@ -<resources> - - <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" /> - -</resources>
\ No newline at end of file diff --git a/phonegap/Android/res/values/strings.xml b/phonegap/Android/res/values/strings.xml deleted file mode 100644 index 6e091cf98..000000000 --- a/phonegap/Android/res/values/strings.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - - <string name="hello">Hello World, AndroidActivity!</string> - <string name="app_name">FixMyStreet</string> - <string name="menu_settings">Settings</string> - <string name="title_activity_main">AndroidActivity</string> - -</resources>
\ No newline at end of file diff --git a/phonegap/Android/res/xml/config.xml b/phonegap/Android/res/xml/config.xml deleted file mode 100644 index 4a6fffccb..000000000 --- a/phonegap/Android/res/xml/config.xml +++ /dev/null @@ -1,56 +0,0 @@ -<?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. ---> -<cordova> - <!-- - access elements control the Android whitelist. - Domains are assumed blocked unless set otherwise - --> - - <access origin="http://127.0.0.1*"/> <!-- allow local pages --> - - <!-- <access origin="https://example.com" /> allow any secure requests to example.com --> - <!-- <access origin="https://example.com" subdomains="true" /> such as above, but including subdomains, such as www --> - <access origin=".*"/> - - <log level="DEBUG"/> - <preference name="useBrowserHistory" value="false" /> - <preference name="exit-on-suspend" value="false" /> -<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"/> - <plugin name="Echo" value="org.apache.cordova.Echo" /> -</plugins> -</cordova> - diff --git a/phonegap/Android/src/org/mysociety/FixMyStreet/AndroidActivity.java b/phonegap/Android/src/org/mysociety/FixMyStreet/AndroidActivity.java deleted file mode 100644 index f5401fb27..000000000 --- a/phonegap/Android/src/org/mysociety/FixMyStreet/AndroidActivity.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.mysociety.FixMyStreet; - -import android.os.Bundle; -import org.apache.cordova.*; - -public class AndroidActivity extends DroidGap { - /** Called when the activity is first created. */ - @Override - public void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - super.loadUrl("file:///android_asset/www/index.html"); - } -}
\ No newline at end of file |