aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2013-09-10 16:34:11 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-03-12 16:49:30 +0000
commit781c8b7f66544473a05cf99fd33126712fd911e8 (patch)
tree3043dfe58a7450050cce658fc2a43c426daca246
parent4a5a62bf9a9a73b6bbd0323d5ac6a1807bcc733e (diff)
Remove the android directory
-rw-r--r--android/Fix My Street/AndroidManifest.xml63
-rw-r--r--android/Fix My Street/META-INF/LICENSE202
-rw-r--r--android/Fix My Street/META-INF/MANIFEST.MF13
-rw-r--r--android/Fix My Street/META-INF/NOTICE30
-rw-r--r--android/Fix My Street/META-INF/maven/org.apache.james/apache-mime4j/pom.properties5
-rw-r--r--android/Fix My Street/META-INF/maven/org.apache.james/apache-mime4j/pom.xml297
-rw-r--r--android/Fix My Street/default.properties14
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/AbstractContentHandler.classbin1707 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/BodyDescriptor.classbin6190 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/CloseShieldInputStream.classbin1792 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/ContentHandler.classbin644 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/EOLConvertingInputStream.classbin1304 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/MimeBoundaryInputStream.classbin2286 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/MimeStreamParser.classbin6767 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/RootInputStream.classbin1285 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/SimpleContentHandler.classbin1762 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/decoder/Base64InputStream.classbin4381 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/decoder/ByteQueue.classbin1206 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/decoder/DecoderUtil.classbin4972 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/decoder/QuotedPrintableInputStream.classbin4022 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/decoder/UnboundedFifoByteBuffer$1.classbin1654 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/decoder/UnboundedFifoByteBuffer.classbin2440 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/AddressListField$Parser.classbin2184 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/AddressListField.classbin1763 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/ContentTransferEncodingField$Parser.classbin988 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/ContentTransferEncodingField.classbin1319 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/ContentTypeField$Parser.classbin3504 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/ContentTypeField.classbin3533 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/DateTimeField$Parser.classbin2132 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/DateTimeField.classbin1632 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/DefaultFieldParser.classbin2048 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/DelegatingFieldParser.classbin1633 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/Field.classbin3350 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/FieldParser.classbin245 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/MailboxField$Parser.classbin2476 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/MailboxField.classbin1723 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/MailboxListField$Parser.classbin2263 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/MailboxListField.classbin1763 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/UnstructuredField$Parser.classbin973 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/UnstructuredField.classbin806 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/Address.classbin513 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/AddressList.classbin3615 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/Builder$ChildNodeIterator.classbin1371 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/Builder.classbin7551 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/DomainList.classbin1319 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/Group.classbin1686 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/Mailbox.classbin1923 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/MailboxList.classbin1371 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/NamedMailbox.classbin1761 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddr_spec.classbin1168 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddress.classbin1160 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddress_list.classbin1180 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTangle_addr.classbin1172 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTdomain.classbin1156 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTgroup_body.classbin1172 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTlocal_part.classbin1172 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTmailbox.classbin1160 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTname_addr.classbin1168 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTphrase.classbin1156 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTroute.classbin1152 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$1.classbin282 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$JJCalls.classbin609 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$LookaheadSuccess.classbin838 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser.classbin20149 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserConstants.classbin1495 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserTokenManager.classbin15464 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserTreeConstants.classbin1023 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserVisitor.classbin1468 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/BaseNode.classbin492 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/JJTAddressListParserState.classbin2740 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/Node.classbin661 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/ParseException.classbin3360 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/SimpleCharStream.classbin7947 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/SimpleNode.classbin3450 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/Token.classbin772 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/address/parser/TokenMgrError.classbin2628 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParser.classbin7215 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParserConstants.classbin1176 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParserTokenManager.classbin13773 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ParseException.classbin3380 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/SimpleCharStream.classbin7955 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/Token.classbin784 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/TokenMgrError.classbin2636 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/datetime/DateTime.classbin3523 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser$Date.classbin902 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser$Time.classbin966 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser.classbin10276 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParserConstants.classbin1559 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParserTokenManager.classbin14582 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/ParseException.classbin3365 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/SimpleCharStream.classbin7949 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/Token.classbin775 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/TokenMgrError.classbin2630 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/AbstractBody.classbin700 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/BinaryBody.classbin276 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/Body.classbin346 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/BodyPart.classbin776 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/Entity.classbin2920 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/Header$1.classbin1160 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/Header.classbin3554 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/Message$MessageBuilder.classbin5987 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/Message.classbin2574 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/Multipart.classbin4083 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/TempFileBinaryBody.classbin2822 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/TempFileTextBody.classbin3505 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/message/TextBody.classbin262 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil$1.classbin232 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil$Charset.classbin1690 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil.classbin16826 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/PartialInputStream.classbin1430 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/PositionInputStream.classbin1780 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$1.classbin250 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$SimpleTempFile.classbin2045 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$SimpleTempPath.classbin3000 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage.classbin4582 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/TempFile.classbin410 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/TempPath.classbin671 -> 0 bytes
-rw-r--r--android/Fix My Street/org/apache/james/mime4j/util/TempStorage.classbin2341 -> 0 bytes
-rw-r--r--android/Fix My Street/res/drawable/add.pngbin971 -> 0 bytes
-rw-r--r--android/Fix My Street/res/drawable/blue_filler.xml3
-rw-r--r--android/Fix My Street/res/drawable/done.pngbin1051 -> 0 bytes
-rw-r--r--android/Fix My Street/res/drawable/filler.pngbin131 -> 0 bytes
-rw-r--r--android/Fix My Street/res/drawable/house_icon.pngbin5228 -> 0 bytes
-rw-r--r--android/Fix My Street/res/drawable/spacer.pngbin123 -> 0 bytes
-rw-r--r--android/Fix My Street/res/drawable/street_background_smaller.pngbin84752 -> 0 bytes
-rw-r--r--android/Fix My Street/res/layout/about.xml45
-rw-r--r--android/Fix My Street/res/layout/details.xml71
-rw-r--r--android/Fix My Street/res/layout/help.xml38
-rw-r--r--android/Fix My Street/res/layout/home.xml44
-rw-r--r--android/Fix My Street/res/layout/success.xml44
-rw-r--r--android/Fix My Street/res/values/strings.xml8
-rw-r--r--android/Fix My Street/res/values/themes.xml6
-rw-r--r--android/Fix My Street/src/com/android/fixmystreet/About.java73
-rw-r--r--android/Fix My Street/src/com/android/fixmystreet/Details.java252
-rw-r--r--android/Fix My Street/src/com/android/fixmystreet/Help.java59
-rw-r--r--android/Fix My Street/src/com/android/fixmystreet/Home.java719
-rw-r--r--android/Fix My Street/src/com/android/fixmystreet/Success.java57
-rw-r--r--android/README.txt27
138 files changed, 0 insertions, 2070 deletions
diff --git a/android/Fix My Street/AndroidManifest.xml b/android/Fix My Street/AndroidManifest.xml
deleted file mode 100644
index 0cdee1687..000000000
--- a/android/Fix My Street/AndroidManifest.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
- <!-- version info etc -->
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.fixmystreet" android:versionCode="10"
- android:versionName="1.01">
-
-<uses-sdk android:minSdkVersion="3" />
- <!-- Permissions -->
- <uses-permission android:name="android.permission.CAMERA" />
- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
- <uses-permission android:name="android.permission.INTERNET" />
-
- <application android:icon="@drawable/house_icon"
- android:label="Fix My Street" android:debuggable="false">
-
- <!-- Main screen -->
- <activity android:name=".Home" android:label="@string/app_name"
- android:theme="@style/Theme.Filler">
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
-
-
- <!-- Details page -->
- <activity android:name=".Details" android:label="Fix My Street - Add details"
- android:theme="@style/Theme.Filler">
- <intent-filter>
- <action android:name="android.intent.action.DETAILS" />
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- </activity>
-
- <!-- Success page -->
- <activity android:name=".Success" android:label="Fix My Street - Success"
- android:theme="@style/Theme.Filler">
- <intent-filter>
- <action android:name="android.intent.action.SUCCESS" />
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- </activity>
-
- <!-- About page -->
- <activity android:name=".About" android:label="Fix My Street - About"
- android:theme="@style/Theme.Filler">
- <intent-filter>
- <action android:name="android.intent.action.ABOUT" />
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- </activity>
-
- <!-- Help page -->
- <activity android:name=".Help" android:label="Fix My Street - Help"
- android:theme="@style/Theme.Filler">
- <intent-filter>
- <action android:name="android.intent.action.HELP" />
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
- </activity>
-
- </application>
-</manifest> \ No newline at end of file
diff --git a/android/Fix My Street/META-INF/LICENSE b/android/Fix My Street/META-INF/LICENSE
deleted file mode 100644
index d64569567..000000000
--- a/android/Fix My Street/META-INF/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed 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.
diff --git a/android/Fix My Street/META-INF/MANIFEST.MF b/android/Fix My Street/META-INF/MANIFEST.MF
deleted file mode 100644
index 20dbb8237..000000000
--- a/android/Fix My Street/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,13 +0,0 @@
-Manifest-Version: 1.0
-Archiver-Version: Plexus Archiver
-Created-By: Apache Maven
-Built-By: maurer
-Build-Jdk: 1.5.0_08
-Implementation-Title: Apache Mime4j
-Implementation-Vendor: The Apache Software Foundation
-Implementation-Version: 0.3
-Specification-Title: Apache Mime4j
-Specification-Vendor: The Apache Software Foundation
-Specification-Version: 0.3
-url: http://james.apache.org/mime4j
-
diff --git a/android/Fix My Street/META-INF/NOTICE b/android/Fix My Street/META-INF/NOTICE
deleted file mode 100644
index 66dd74366..000000000
--- a/android/Fix My Street/META-INF/NOTICE
+++ /dev/null
@@ -1,30 +0,0 @@
-// ------------------------------------------------------------------
-// NOTICE file corresponding to the section 4d of The Apache License,
-// Version 2.0, in this case for Apache JAMES Mime4j
-// ------------------------------------------------------------------
-
-Apache JAMES Mime4j
-Copyright 2004-2007 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org).
-
-This product includes/uses software, Apache Commons Logging (http://jakarta.apache.org/commons/logging/),
-developed by The Apache Software Foundation (http://www.apache.org/)
-License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html)
-
-This product includes/uses software, Apache Commons IO (http://jakarta.apache.org/commons/io/),
-developed by The Apache Software Foundation (http://www.apache.org/)
-License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html)
-
-This product includes/uses software, Apache Log4j (http://logging.apache.org/log4j/),
-developed by The Apache Software Foundation (http://www.apache.org/)
-License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html)
-
-
-This product includes/uses software, JUnit (http://www.junit.org/),
-developed by Kent Beck, Erich Gamma, and David Saff
-License: Common Public License Version 1.0 (http://www.opensource.org/licenses/cpl.php)
-
-This file is automatically generated by dependencies declared in pom.xml
-
diff --git a/android/Fix My Street/META-INF/maven/org.apache.james/apache-mime4j/pom.properties b/android/Fix My Street/META-INF/maven/org.apache.james/apache-mime4j/pom.properties
deleted file mode 100644
index 453194f40..000000000
--- a/android/Fix My Street/META-INF/maven/org.apache.james/apache-mime4j/pom.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-#Generated by Maven
-#Thu May 24 18:04:26 CEST 2007
-version=0.3
-groupId=org.apache.james
-artifactId=apache-mime4j
diff --git a/android/Fix My Street/META-INF/maven/org.apache.james/apache-mime4j/pom.xml b/android/Fix My Street/META-INF/maven/org.apache.james/apache-mime4j/pom.xml
deleted file mode 100644
index 60317a20a..000000000
--- a/android/Fix My Street/META-INF/maven/org.apache.james/apache-mime4j/pom.xml
+++ /dev/null
@@ -1,297 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <!--
- 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.
- -->
- <parent>
- <artifactId>james-project</artifactId>
- <groupId>org.apache.james</groupId>
- <version>1.1</version>
- <!-- Either this really points to the james-project/pom.xml or you
- will have to tune the local repository, later, in this file -->
- <relativePath>../james-project/project/pom.xml</relativePath>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.james</groupId>
- <artifactId>apache-mime4j</artifactId>
- <name>Apache JAMES Mime4j</name>
- <version>0.3</version>
- <description>Java stream based MIME message parser</description>
- <url>http://james.apache.org/mime4j</url>
- <issueManagement>
- <url>http://issues.apache.org/jira/browse/MIME4J</url>
- </issueManagement>
- <inceptionYear>2004</inceptionYear>
- <distributionManagement>
- <site>
- <id>mime4j-website</id>
- <url>scp://minotaur.apache.org/www/james.apache.org/mime4j/</url>
- </site>
- </distributionManagement>
- <scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/james/mime4j/tags/apache-mime4j-0.3</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/james/mime4j/tags/apache-mime4j-0.3</developerConnection>
- <url>http://svn.apache.org/viewvc/james/mime4j/tags/apache-mime4j-0.3</url>
- </scm>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>javacc-maven-plugin</artifactId>
- <version>2.1</version>
- <executions>
- <execution>
- <id>generate-jjtree</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>jjtree</goal>
- </goals>
- <configuration>
- <!-- <nodePackage>org.apache.jsieve.parser.generated</nodePackage> -->
- <outputDirectory>${project.build.directory}/generated-sources/jjtree/org/apache/james/mime4j/field/address/parser</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>generate-javacc</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>javacc</goal>
- </goals>
- <configuration>
- <sourceDirectory>${project.build.directory}/generated-sources/jjtree/org/apache/james/mime4j/field/address/parser</sourceDirectory>
- <packageName>org.apache.james.mime4j.field.address.parser</packageName>
- </configuration>
- </execution>
- <execution>
- <id>generate-javacc2</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>javacc</goal>
- </goals>
- <configuration>
- <sourceDirectory>${basedir}/src/main/javacc/org/apache/james/mime4j/field/datetime</sourceDirectory>
- <packageName>org.apache.james.mime4j.field.datetime.parser</packageName>
- </configuration>
- </execution>
- <execution>
- <id>generate-javacc3</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>javacc</goal>
- </goals>
- <configuration>
- <sourceDirectory>${basedir}/src/main/javacc/org/apache/james/mime4j/field/contenttype</sourceDirectory>
- <packageName>org.apache.james.mime4j.field.contenttype.parser</packageName>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.4</source>
- <target>1.4</target>
- <encoding>iso8859-1</encoding>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.1</version>
- <configuration>
- <archive>
- <manifestEntries>
- <Specification-Title>Apache Mime4j</Specification-Title>
- <Specification-Version>0.3</Specification-Version>
- <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
- <Implementation-Title>Apache Mime4j</Implementation-Title>
- <Implementation-Version>0.3</Implementation-Version>
- <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
- <url>${pom.url}</url>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.2</version>
- <executions>
- <execution>
- <id>create-javadocs</id> <!-- this is used for inheritance merges -->
- <phase>package</phase> <!-- append to the packaging phase. -->
- <goals>
- <goal>javadoc</goal> <!-- goals == mojos -->
- <goal>jar</goal> <!-- goals == mojos -->
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-1</version>
- <configuration>
- <descriptorSourceDirectory>${basedir}/src/assemble/</descriptorSourceDirectory>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id> <!-- this is used for inheritance merges -->
- <phase>package</phase> <!-- append to the packaging phase. -->
- <goals>
- <goal>attached</goal> <!-- goals == mojos -->
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- Add NOTICE and LICENSE to generated JAR -->
- <plugin>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <version>1.0-alpha-5</version>
- <executions>
- <execution>
- <goals>
- <goal>process</goal>
- </goals>
- <configuration>
- <resourceBundles>
- <resourceBundle>org.apache:apache-jar-resource-bundle:1.2</resourceBundle>
- </resourceBundles>
- <properties>
- <!-- <preProjectText>PRE PROCESS TEXT</preProjectText> -->
- <!-- Our src distribution includes also the test dependencies and
- maven remote resources doen't take this into account, so we
- manualy add the junit disclaimer -->
- <postProjectText>
- This product includes/uses software, JUnit (http://www.junit.org/),
-developed by Kent Beck, Erich Gamma, and David Saff
-License: Common Public License Version 1.0 (http://www.opensource.org/licenses/cpl.php)
-
-This file is automatically generated by dependencies declared in pom.xml
- </postProjectText>
- <addLicense>true</addLicense>
- </properties>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- Use the assembly or we won't have the LICENSE/NOTICE
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
- -->
- <!--
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- -->
- </plugins>
- </build>
- <repositories>
- <repository>
- <id>local-mime4j-stage-repository</id>
- <name>Local mime4j stage repository</name>
- <!-- Please note that due to http://jira.codehaus.org/browse/MNG-2896 -->
- <!-- If you don't have james-project checked out in ../james-project -->
- <!-- you will have to place your absolute path to the project instead -->
- <!-- of ${basedir}, or, otherwise, manually install the parent poms -->
- <!--
- mvn -fignorepom.xml install:install-file
- -Dfile=stage\org.apache.james\poms\james-parent-1.1.pom
- -Dpackaging=pom
- -DgroupId=org.apache.james
- -DartifactId=james-parent
- -Dversion=1.1
- mvn -fignorepom.xml install:install-file
- -Dfile=stage\org.apache.james\poms\james-project-1.1.pom
- -Dpackaging=pom
- -DgroupId=org.apache.james
- -DartifactId=james-project
- -Dversion=1.1
- -->
- <url>file://${basedir}/stage</url>
- <layout>legacy</layout>
- <snapshots>
- <enabled>true</enabled>
- <checksumPolicy>ignore</checksumPolicy>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- <checksumPolicy>ignore</checksumPolicy>
- </releases>
- </repository>
- </repositories>
- <dependencies>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1</version>
- <exclusions>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>logkit</groupId>
- <artifactId>logkit</artifactId>
- </exclusion>
- <exclusion>
- <groupId>avalon-framework</groupId>
- <artifactId>avalon-framework</artifactId>
- </exclusion>
- <exclusion>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.14</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <type>jar</type>
- <!-- Removed as a workaround for an unidentified M2 bug -->
- <scope>test</scope>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>1.2</version>
- </dependency>
- </dependencies>
-
- <reporting>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jxr-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
-
-</project> \ No newline at end of file
diff --git a/android/Fix My Street/default.properties b/android/Fix My Street/default.properties
deleted file mode 100644
index 08ad68f11..000000000
--- a/android/Fix My Street/default.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 use,
-# "build.properties", and override values to adapt the script to your
-# project structure.
-
-# Indicates whether an apk should be generated for each density.
-split.density=false
-# Project target.
-target=android-4
-apk-configurations=
diff --git a/android/Fix My Street/org/apache/james/mime4j/AbstractContentHandler.class b/android/Fix My Street/org/apache/james/mime4j/AbstractContentHandler.class
deleted file mode 100644
index 5ddd83bb5..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/AbstractContentHandler.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/BodyDescriptor.class b/android/Fix My Street/org/apache/james/mime4j/BodyDescriptor.class
deleted file mode 100644
index 71a103ae1..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/BodyDescriptor.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/CloseShieldInputStream.class b/android/Fix My Street/org/apache/james/mime4j/CloseShieldInputStream.class
deleted file mode 100644
index 72464c513..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/CloseShieldInputStream.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/ContentHandler.class b/android/Fix My Street/org/apache/james/mime4j/ContentHandler.class
deleted file mode 100644
index 4a14c44c1..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/ContentHandler.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/EOLConvertingInputStream.class b/android/Fix My Street/org/apache/james/mime4j/EOLConvertingInputStream.class
deleted file mode 100644
index f0021d6ca..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/EOLConvertingInputStream.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/MimeBoundaryInputStream.class b/android/Fix My Street/org/apache/james/mime4j/MimeBoundaryInputStream.class
deleted file mode 100644
index 8b3151d7c..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/MimeBoundaryInputStream.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/MimeStreamParser.class b/android/Fix My Street/org/apache/james/mime4j/MimeStreamParser.class
deleted file mode 100644
index c2975c686..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/MimeStreamParser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/RootInputStream.class b/android/Fix My Street/org/apache/james/mime4j/RootInputStream.class
deleted file mode 100644
index 625ea3873..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/RootInputStream.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/SimpleContentHandler.class b/android/Fix My Street/org/apache/james/mime4j/SimpleContentHandler.class
deleted file mode 100644
index 0ab9269f2..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/SimpleContentHandler.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/decoder/Base64InputStream.class b/android/Fix My Street/org/apache/james/mime4j/decoder/Base64InputStream.class
deleted file mode 100644
index 282919223..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/decoder/Base64InputStream.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/decoder/ByteQueue.class b/android/Fix My Street/org/apache/james/mime4j/decoder/ByteQueue.class
deleted file mode 100644
index b51edb99d..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/decoder/ByteQueue.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/decoder/DecoderUtil.class b/android/Fix My Street/org/apache/james/mime4j/decoder/DecoderUtil.class
deleted file mode 100644
index 7e6460091..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/decoder/DecoderUtil.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/decoder/QuotedPrintableInputStream.class b/android/Fix My Street/org/apache/james/mime4j/decoder/QuotedPrintableInputStream.class
deleted file mode 100644
index e137431ba..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/decoder/QuotedPrintableInputStream.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/decoder/UnboundedFifoByteBuffer$1.class b/android/Fix My Street/org/apache/james/mime4j/decoder/UnboundedFifoByteBuffer$1.class
deleted file mode 100644
index a2b4beffb..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/decoder/UnboundedFifoByteBuffer$1.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/decoder/UnboundedFifoByteBuffer.class b/android/Fix My Street/org/apache/james/mime4j/decoder/UnboundedFifoByteBuffer.class
deleted file mode 100644
index 475caac1a..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/decoder/UnboundedFifoByteBuffer.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/AddressListField$Parser.class b/android/Fix My Street/org/apache/james/mime4j/field/AddressListField$Parser.class
deleted file mode 100644
index 626011756..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/AddressListField$Parser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/AddressListField.class b/android/Fix My Street/org/apache/james/mime4j/field/AddressListField.class
deleted file mode 100644
index 131b834fb..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/AddressListField.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/ContentTransferEncodingField$Parser.class b/android/Fix My Street/org/apache/james/mime4j/field/ContentTransferEncodingField$Parser.class
deleted file mode 100644
index fdadacc77..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/ContentTransferEncodingField$Parser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/ContentTransferEncodingField.class b/android/Fix My Street/org/apache/james/mime4j/field/ContentTransferEncodingField.class
deleted file mode 100644
index 41219b7d8..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/ContentTransferEncodingField.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/ContentTypeField$Parser.class b/android/Fix My Street/org/apache/james/mime4j/field/ContentTypeField$Parser.class
deleted file mode 100644
index 2f563d8e2..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/ContentTypeField$Parser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/ContentTypeField.class b/android/Fix My Street/org/apache/james/mime4j/field/ContentTypeField.class
deleted file mode 100644
index 0114540b7..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/ContentTypeField.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/DateTimeField$Parser.class b/android/Fix My Street/org/apache/james/mime4j/field/DateTimeField$Parser.class
deleted file mode 100644
index c2e1fa58c..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/DateTimeField$Parser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/DateTimeField.class b/android/Fix My Street/org/apache/james/mime4j/field/DateTimeField.class
deleted file mode 100644
index 125081a3d..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/DateTimeField.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/DefaultFieldParser.class b/android/Fix My Street/org/apache/james/mime4j/field/DefaultFieldParser.class
deleted file mode 100644
index 4b5982687..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/DefaultFieldParser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/DelegatingFieldParser.class b/android/Fix My Street/org/apache/james/mime4j/field/DelegatingFieldParser.class
deleted file mode 100644
index 9dbd81ba5..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/DelegatingFieldParser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/Field.class b/android/Fix My Street/org/apache/james/mime4j/field/Field.class
deleted file mode 100644
index eec6867d9..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/Field.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/FieldParser.class b/android/Fix My Street/org/apache/james/mime4j/field/FieldParser.class
deleted file mode 100644
index a0f2bfb43..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/FieldParser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/MailboxField$Parser.class b/android/Fix My Street/org/apache/james/mime4j/field/MailboxField$Parser.class
deleted file mode 100644
index 15baab4b3..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/MailboxField$Parser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/MailboxField.class b/android/Fix My Street/org/apache/james/mime4j/field/MailboxField.class
deleted file mode 100644
index a96b8f57b..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/MailboxField.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/MailboxListField$Parser.class b/android/Fix My Street/org/apache/james/mime4j/field/MailboxListField$Parser.class
deleted file mode 100644
index 7cfa75e6b..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/MailboxListField$Parser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/MailboxListField.class b/android/Fix My Street/org/apache/james/mime4j/field/MailboxListField.class
deleted file mode 100644
index 50edd043c..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/MailboxListField.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/UnstructuredField$Parser.class b/android/Fix My Street/org/apache/james/mime4j/field/UnstructuredField$Parser.class
deleted file mode 100644
index 551c33137..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/UnstructuredField$Parser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/UnstructuredField.class b/android/Fix My Street/org/apache/james/mime4j/field/UnstructuredField.class
deleted file mode 100644
index 443971fd6..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/UnstructuredField.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/Address.class b/android/Fix My Street/org/apache/james/mime4j/field/address/Address.class
deleted file mode 100644
index be18968c1..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/Address.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/AddressList.class b/android/Fix My Street/org/apache/james/mime4j/field/address/AddressList.class
deleted file mode 100644
index b5f2c77b6..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/AddressList.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/Builder$ChildNodeIterator.class b/android/Fix My Street/org/apache/james/mime4j/field/address/Builder$ChildNodeIterator.class
deleted file mode 100644
index 1c93a3ed2..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/Builder$ChildNodeIterator.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/Builder.class b/android/Fix My Street/org/apache/james/mime4j/field/address/Builder.class
deleted file mode 100644
index 8aeb2950f..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/Builder.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/DomainList.class b/android/Fix My Street/org/apache/james/mime4j/field/address/DomainList.class
deleted file mode 100644
index dbca8a3e7..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/DomainList.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/Group.class b/android/Fix My Street/org/apache/james/mime4j/field/address/Group.class
deleted file mode 100644
index 29b7e653e..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/Group.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/Mailbox.class b/android/Fix My Street/org/apache/james/mime4j/field/address/Mailbox.class
deleted file mode 100644
index 44c5173f4..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/Mailbox.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/MailboxList.class b/android/Fix My Street/org/apache/james/mime4j/field/address/MailboxList.class
deleted file mode 100644
index 18b3441af..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/MailboxList.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/NamedMailbox.class b/android/Fix My Street/org/apache/james/mime4j/field/address/NamedMailbox.class
deleted file mode 100644
index 2ed485925..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/NamedMailbox.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddr_spec.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddr_spec.class
deleted file mode 100644
index 43efc23b3..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddr_spec.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddress.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddress.class
deleted file mode 100644
index cfc98ff52..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddress.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddress_list.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddress_list.class
deleted file mode 100644
index 8f5f3141b..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTaddress_list.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTangle_addr.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTangle_addr.class
deleted file mode 100644
index e0cbff7d6..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTangle_addr.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTdomain.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTdomain.class
deleted file mode 100644
index d29c6f316..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTdomain.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTgroup_body.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTgroup_body.class
deleted file mode 100644
index 340dc0e7d..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTgroup_body.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTlocal_part.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTlocal_part.class
deleted file mode 100644
index 57f346c4f..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTlocal_part.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTmailbox.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTmailbox.class
deleted file mode 100644
index ab4a8552c..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTmailbox.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTname_addr.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTname_addr.class
deleted file mode 100644
index 71ab6fc85..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTname_addr.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTphrase.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTphrase.class
deleted file mode 100644
index c48b5dcd9..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTphrase.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTroute.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTroute.class
deleted file mode 100644
index 6dd335ee9..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ASTroute.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$1.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$1.class
deleted file mode 100644
index 5f584514e..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$1.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$JJCalls.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$JJCalls.class
deleted file mode 100644
index e38ef68cb..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$JJCalls.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$LookaheadSuccess.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$LookaheadSuccess.class
deleted file mode 100644
index 584c97273..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser$LookaheadSuccess.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser.class
deleted file mode 100644
index c2be19f11..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserConstants.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserConstants.class
deleted file mode 100644
index 6960771f9..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserConstants.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserTokenManager.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserTokenManager.class
deleted file mode 100644
index 63fcae477..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserTokenManager.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserTreeConstants.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserTreeConstants.class
deleted file mode 100644
index efd4c49a0..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserTreeConstants.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserVisitor.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserVisitor.class
deleted file mode 100644
index 2cd81bc1a..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/AddressListParserVisitor.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/BaseNode.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/BaseNode.class
deleted file mode 100644
index 08716d149..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/BaseNode.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/JJTAddressListParserState.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/JJTAddressListParserState.class
deleted file mode 100644
index 798515dcb..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/JJTAddressListParserState.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/Node.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/Node.class
deleted file mode 100644
index cfdc5f004..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/Node.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ParseException.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ParseException.class
deleted file mode 100644
index 7c0c348fe..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/ParseException.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/SimpleCharStream.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/SimpleCharStream.class
deleted file mode 100644
index 67f580123..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/SimpleCharStream.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/SimpleNode.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/SimpleNode.class
deleted file mode 100644
index 20e82bba6..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/SimpleNode.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/Token.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/Token.class
deleted file mode 100644
index 7eae4946b..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/Token.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/TokenMgrError.class b/android/Fix My Street/org/apache/james/mime4j/field/address/parser/TokenMgrError.class
deleted file mode 100644
index 4bc1bb2af..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/address/parser/TokenMgrError.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParser.class b/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParser.class
deleted file mode 100644
index 5a3067ec7..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParserConstants.class b/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParserConstants.class
deleted file mode 100644
index bfa2a042f..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParserConstants.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParserTokenManager.class b/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParserTokenManager.class
deleted file mode 100644
index 6d5cde408..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ContentTypeParserTokenManager.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ParseException.class b/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ParseException.class
deleted file mode 100644
index 141a41b38..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/ParseException.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/SimpleCharStream.class b/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/SimpleCharStream.class
deleted file mode 100644
index cd622603e..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/SimpleCharStream.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/Token.class b/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/Token.class
deleted file mode 100644
index 97aaf5918..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/Token.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/TokenMgrError.class b/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/TokenMgrError.class
deleted file mode 100644
index 6c3838fa9..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/contenttype/parser/TokenMgrError.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/datetime/DateTime.class b/android/Fix My Street/org/apache/james/mime4j/field/datetime/DateTime.class
deleted file mode 100644
index d0398f2e2..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/datetime/DateTime.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser$Date.class b/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser$Date.class
deleted file mode 100644
index 412a96c4c..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser$Date.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser$Time.class b/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser$Time.class
deleted file mode 100644
index b855f8e1e..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser$Time.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser.class b/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser.class
deleted file mode 100644
index 644a5d50a..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParser.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParserConstants.class b/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParserConstants.class
deleted file mode 100644
index 1d1a34fa5..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParserConstants.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParserTokenManager.class b/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParserTokenManager.class
deleted file mode 100644
index 96b6aa700..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/DateTimeParserTokenManager.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/ParseException.class b/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/ParseException.class
deleted file mode 100644
index be93f47b8..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/ParseException.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/SimpleCharStream.class b/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/SimpleCharStream.class
deleted file mode 100644
index 69e3f5cf1..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/SimpleCharStream.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/Token.class b/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/Token.class
deleted file mode 100644
index 54bced209..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/Token.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/TokenMgrError.class b/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/TokenMgrError.class
deleted file mode 100644
index 3bff6fd4d..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/field/datetime/parser/TokenMgrError.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/AbstractBody.class b/android/Fix My Street/org/apache/james/mime4j/message/AbstractBody.class
deleted file mode 100644
index 4b1c1b45e..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/AbstractBody.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/BinaryBody.class b/android/Fix My Street/org/apache/james/mime4j/message/BinaryBody.class
deleted file mode 100644
index 9000994f3..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/BinaryBody.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/Body.class b/android/Fix My Street/org/apache/james/mime4j/message/Body.class
deleted file mode 100644
index 4bd9990de..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/Body.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/BodyPart.class b/android/Fix My Street/org/apache/james/mime4j/message/BodyPart.class
deleted file mode 100644
index 80a1077f6..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/BodyPart.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/Entity.class b/android/Fix My Street/org/apache/james/mime4j/message/Entity.class
deleted file mode 100644
index 310d68267..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/Entity.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/Header$1.class b/android/Fix My Street/org/apache/james/mime4j/message/Header$1.class
deleted file mode 100644
index 1d52d2f18..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/Header$1.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/Header.class b/android/Fix My Street/org/apache/james/mime4j/message/Header.class
deleted file mode 100644
index 31b897c91..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/Header.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/Message$MessageBuilder.class b/android/Fix My Street/org/apache/james/mime4j/message/Message$MessageBuilder.class
deleted file mode 100644
index b00b138a2..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/Message$MessageBuilder.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/Message.class b/android/Fix My Street/org/apache/james/mime4j/message/Message.class
deleted file mode 100644
index c504f0201..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/Message.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/Multipart.class b/android/Fix My Street/org/apache/james/mime4j/message/Multipart.class
deleted file mode 100644
index 4cc744305..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/Multipart.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/TempFileBinaryBody.class b/android/Fix My Street/org/apache/james/mime4j/message/TempFileBinaryBody.class
deleted file mode 100644
index b385df159..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/TempFileBinaryBody.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/TempFileTextBody.class b/android/Fix My Street/org/apache/james/mime4j/message/TempFileTextBody.class
deleted file mode 100644
index 975cddc70..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/TempFileTextBody.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/message/TextBody.class b/android/Fix My Street/org/apache/james/mime4j/message/TextBody.class
deleted file mode 100644
index f266ad9a7..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/message/TextBody.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil$1.class b/android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil$1.class
deleted file mode 100644
index caa0fe160..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil$1.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil$Charset.class b/android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil$Charset.class
deleted file mode 100644
index f20946ea1..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil$Charset.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil.class b/android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil.class
deleted file mode 100644
index 0ec680f95..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/CharsetUtil.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/PartialInputStream.class b/android/Fix My Street/org/apache/james/mime4j/util/PartialInputStream.class
deleted file mode 100644
index 568c853d1..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/PartialInputStream.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/PositionInputStream.class b/android/Fix My Street/org/apache/james/mime4j/util/PositionInputStream.class
deleted file mode 100644
index 77af22099..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/PositionInputStream.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$1.class b/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$1.class
deleted file mode 100644
index df1fbf828..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$1.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$SimpleTempFile.class b/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$SimpleTempFile.class
deleted file mode 100644
index fc922ed69..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$SimpleTempFile.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$SimpleTempPath.class b/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$SimpleTempPath.class
deleted file mode 100644
index 774d48a41..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage$SimpleTempPath.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage.class b/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage.class
deleted file mode 100644
index cfaf30e14..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/SimpleTempStorage.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/TempFile.class b/android/Fix My Street/org/apache/james/mime4j/util/TempFile.class
deleted file mode 100644
index c40108fe7..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/TempFile.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/TempPath.class b/android/Fix My Street/org/apache/james/mime4j/util/TempPath.class
deleted file mode 100644
index c46f863b3..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/TempPath.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/org/apache/james/mime4j/util/TempStorage.class b/android/Fix My Street/org/apache/james/mime4j/util/TempStorage.class
deleted file mode 100644
index d2f550191..000000000
--- a/android/Fix My Street/org/apache/james/mime4j/util/TempStorage.class
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/res/drawable/add.png b/android/Fix My Street/res/drawable/add.png
deleted file mode 100644
index 96fe1015a..000000000
--- a/android/Fix My Street/res/drawable/add.png
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/res/drawable/blue_filler.xml b/android/Fix My Street/res/drawable/blue_filler.xml
deleted file mode 100644
index 5d2282a08..000000000
--- a/android/Fix My Street/res/drawable/blue_filler.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
- android:src="@drawable/filler" android:tileMode="repeat" />
-
diff --git a/android/Fix My Street/res/drawable/done.png b/android/Fix My Street/res/drawable/done.png
deleted file mode 100644
index 256938f31..000000000
--- a/android/Fix My Street/res/drawable/done.png
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/res/drawable/filler.png b/android/Fix My Street/res/drawable/filler.png
deleted file mode 100644
index 08df3be9b..000000000
--- a/android/Fix My Street/res/drawable/filler.png
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/res/drawable/house_icon.png b/android/Fix My Street/res/drawable/house_icon.png
deleted file mode 100644
index bc92d7790..000000000
--- a/android/Fix My Street/res/drawable/house_icon.png
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/res/drawable/spacer.png b/android/Fix My Street/res/drawable/spacer.png
deleted file mode 100644
index 71a9f5598..000000000
--- a/android/Fix My Street/res/drawable/spacer.png
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/res/drawable/street_background_smaller.png b/android/Fix My Street/res/drawable/street_background_smaller.png
deleted file mode 100644
index 1f37fc39e..000000000
--- a/android/Fix My Street/res/drawable/street_background_smaller.png
+++ /dev/null
Binary files differ
diff --git a/android/Fix My Street/res/layout/about.xml b/android/Fix My Street/res/layout/about.xml
deleted file mode 100644
index 1e413520b..000000000
--- a/android/Fix My Street/res/layout/about.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent" android:layout_height="fill_parent"
- android:padding="0dip" android:fillViewport="true">
-
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:padding="0dip">
-
- <TextView android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:text="What is Fix My Street?"
- android:paddingBottom="5dip" android:paddingTop="5dip"
- android:paddingLeft="5dip" android:paddingRight="5dip"
- android:textStyle="bold" />
-
- <TextView android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Fix My Street helps you report problems in your local area - like potholes or broken streetlights - to your council."
- android:paddingBottom="5dip" android:paddingLeft="5dip"
- android:paddingRight="5dip" />
-
- <TextView android:id="@+id/faq" android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="Fix My Street is mainly a website, run by mySociety, a project of a registered charity. For more information, see http://www.fixmystreet.com/faq."
- android:paddingBottom="5dip" android:paddingLeft="5dip"
- android:paddingRight="5dip" android:linksClickable="true" />
-
-
- <TextView android:id="@+id/faq2" android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text=""
- android:paddingBottom="5dip" android:paddingLeft="5dip"
- android:paddingRight="5dip" android:linksClickable="true" />
-
- <TextView android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:text=" "
- android:layout_weight="1" />
-
- <ImageView android:layout_width="fill_parent" android:scaleType="centerCrop"
- android:layout_gravity="bottom" android:layout_height="wrap_content"
- android:src="@drawable/street_background_smaller"></ImageView>
- </LinearLayout>
-
-</ScrollView> \ No newline at end of file
diff --git a/android/Fix My Street/res/layout/details.xml b/android/Fix My Street/res/layout/details.xml
deleted file mode 100644
index 4464ed3f1..000000000
--- a/android/Fix My Street/res/layout/details.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent" android:layout_height="fill_parent"
- android:fillViewport="true">
-
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:padding="0dip">
-
- <!-- And a name -->
- <TextView android:id="@+id/name_save" android:layout_width="fill_parent"
- android:paddingTop="5dip" android:paddingLeft="5dip"
- android:paddingRight="5dip" android:layout_height="wrap_content"
- android:text="Short title for problem (you can add more later):" />
-
- <!-- Subject -->
-
- <LinearLayout android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:orientation="horizontal"
- android:padding="5dip">
- <TextView android:id="@+id/subject_label"
- android:layout_width="80sp" android:layout_height="24sp"
- android:text="Title:" />
- <EditText android:id="@+id/subject_text"
- android:layout_width="fill_parent" android:layout_height="40sp"
- android:singleLine="True" android:capitalize="sentences" />
- </LinearLayout>
-
- <!-- And a name -->
- <TextView android:id="@+id/name_save" android:layout_width="fill_parent"
- android:paddingLeft="5dip" android:paddingRight="5dip"
- android:layout_height="wrap_content" android:text="We'll save these for next time:" />
-
- <LinearLayout android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:orientation="horizontal"
- android:padding="5dip">
- <TextView android:id="@+id/name_label" android:layout_width="80sp"
- android:layout_height="24sp" android:text="Your name:" />
- <EditText android:id="@+id/name_text" android:layout_width="fill_parent"
- android:layout_height="40sp" android:singleLine="True"
- android:capitalize="words" />
- </LinearLayout>
-
- <!-- An email address -->
-
- <LinearLayout android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:orientation="horizontal"
- android:padding="5dip">
- <TextView android:id="@+id/email_label"
- android:layout_width="80sp" android:layout_height="24sp"
- android:text="Your email:" />
- <EditText android:id="@+id/email_text" android:layout_width="fill_parent"
- android:layout_height="40sp" android:singleLine="True"
- android:capitalize="none" />
- </LinearLayout>
-
- <Button android:id="@+id/submit_button" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:text="Save details"
- android:padding="5dip" />
-
- <TextView android:layout_width="fill_parent"
- android:layout_weight="1" android:layout_height="wrap_content"
- android:text=" " />
-
- <ImageView android:layout_width="fill_parent"
- android:scaleType="centerCrop" android:layout_gravity="bottom"
- android:layout_height="wrap_content" android:src="@drawable/street_background_smaller"></ImageView>
- </LinearLayout>
-
-</ScrollView> \ No newline at end of file
diff --git a/android/Fix My Street/res/layout/help.xml b/android/Fix My Street/res/layout/help.xml
deleted file mode 100644
index 2ae8052d9..000000000
--- a/android/Fix My Street/res/layout/help.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent" android:layout_height="fill_parent"
- android:fillViewport="true">
-
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:padding="0dip"
- android:scrollbars="vertical">
-
- <TextView android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:text="What do I do?"
- android:paddingBottom="5dip" android:paddingTop="5dip"
- android:paddingLeft="5dip" android:paddingRight="5dip"
- android:textStyle="bold" />
-
- <TextView android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:text="@string/instructions"
- android:paddingBottom="5dip" android:paddingLeft="5dip"
- android:paddingRight="5dip" />
-
- <TextView android:id="@+id/faq" android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="For any other questions, see http://www.fixmystreet.com/faq, or email anna@mysociety.org."
- android:paddingBottom="5dip" android:paddingTop="5dip"
- android:paddingLeft="5dip" android:paddingRight="5dip"
- android:textStyle="bold" android:linksClickable="true" />
-
- <TextView android:layout_width="fill_parent" android:layout_weight="1"
- android:layout_height="wrap_content" android:text=" "
- />
-
- <ImageView android:layout_width="fill_parent" android:scaleType="centerCrop"
- android:layout_gravity="bottom" android:layout_height="wrap_content"
- android:src="@drawable/street_background_smaller"></ImageView>
- </LinearLayout>
-</ScrollView> \ No newline at end of file
diff --git a/android/Fix My Street/res/layout/home.xml b/android/Fix My Street/res/layout/home.xml
deleted file mode 100644
index bcaae0669..000000000
--- a/android/Fix My Street/res/layout/home.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent" android:layout_height="fill_parent"
- android:fillViewport="true">
-
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:paddingTop="10dip">
-
- <Button android:id="@+id/camera_button" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:text="Take photo"
- android:drawableRight="@drawable/add" />
-
- <Button android:id="@+id/details_button" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:text="Add details"
- android:drawableRight="@drawable/add" android:paddingRight="10dip"
- android:paddingLeft="10dip" />
-
- <View android:layout_width="1dip" android:layout_height="10dip"
- android:src="@drawable/spacer" />
-
- <TextView android:paddingRight="10dip" android:paddingLeft="10dip"
- android:layout_width="wrap_content" android:textColor="#87190f"
- android:id="@+id/progress_text" android:layout_height="wrap_content"
- android:text="Waiting for a GPS fix... Please make sure you can see the sky." />
-
- <Button android:id="@+id/report_button" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:text="Report to Fix My Street"
- android:paddingRight="10dip" android:paddingLeft="10dip" />
-
-
- <TextView android:layout_width="fill_parent"
- android:layout_weight="1" android:layout_height="wrap_content"
- android:text=" " />
-
- <ImageView android:id="@+id/background_image"
- android:scaleType="centerCrop" android:layout_width="fill_parent"
- android:layout_gravity="bottom" android:layout_height="wrap_content"
- android:src="@drawable/street_background_smaller"></ImageView>
-
- </LinearLayout>
-
-</ScrollView> \ No newline at end of file
diff --git a/android/Fix My Street/res/layout/success.xml b/android/Fix My Street/res/layout/success.xml
deleted file mode 100644
index 4c24055cc..000000000
--- a/android/Fix My Street/res/layout/success.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent" android:layout_height="fill_parent"
- android:fillViewport="true">
-
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:padding="0dip">
-
- <!--
- <Button android:id="@+id/about_button"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:text="About Fix My
- Street" />
- -->
-
- <TextView android:id="@+id/hello_text" android:layout_width="fill_parent"
- android:paddingBottom="5dip" android:paddingTop="5dip"
- android:paddingLeft="5dip" android:paddingRight="5dip"
- android:layout_height="wrap_content" android:text="Now check your email!"
- android:textStyle="bold" />
-
- <TextView android:id="@+id/hello_text" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:paddingBottom="5dip"
- android:paddingTop="5dip" android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:text="You'll receive an email from us soon. Please click on the confirmation link, check the location carefully, and provide a few more details." />
-
- <TextView android:id="@+id/hello_text" android:layout_width="fill_parent"
- android:layout_height="wrap_content" android:paddingBottom="5dip"
- android:paddingTop="5dip" android:paddingLeft="5dip"
- android:paddingRight="5dip"
- android:text="If the email doesn't arrive within a few hours, please check your spam folder - sometimes the emails can be marked as spam." />
-
- <TextView android:layout_width="fill_parent" android:layout_weight="1"
- android:layout_height="wrap_content" android:text=" "
- />
-
- <ImageView android:layout_width="fill_parent" android:scaleType="centerCrop"
- android:layout_gravity="bottom" android:layout_height="wrap_content"
- android:src="@drawable/street_background_smaller"></ImageView>
- </LinearLayout>
-</ScrollView> \ No newline at end of file
diff --git a/android/Fix My Street/res/values/strings.xml b/android/Fix My Street/res/values/strings.xml
deleted file mode 100644
index 0c88c4ea7..000000000
--- a/android/Fix My Street/res/values/strings.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
-<!-- Welcome screen -->
- <string name="app_name">Fix My Street</string>
-
- <!-- About screen -->
- <string name="instructions">1. Click \'Take photo\', then on the camera button to take a photo.\n2. Click \'Add details\', then give the problem a name (e.g. \'Broken street light\'), and add your own name and email address. \n3. Wait for a GPS fix (it\'ll take longer if it\'s cloudy). Then, click the \'Report\' button to upload the problem to Fix My Street. \n4. Check your email. You\'ll need to click on a link to confirm the problem and add a few more details. </string>
-</resources>
diff --git a/android/Fix My Street/res/values/themes.xml b/android/Fix My Street/res/values/themes.xml
deleted file mode 100644
index 65ba3b328..000000000
--- a/android/Fix My Street/res/values/themes.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<resources>
- <style name="Theme.Filler" parent="android:Theme">
- <item name="android:windowBackground">@drawable/blue_filler</item>
- <item name="android:textColor">#000000</item>
- </style>
-</resources> \ No newline at end of file
diff --git a/android/Fix My Street/src/com/android/fixmystreet/About.java b/android/Fix My Street/src/com/android/fixmystreet/About.java
deleted file mode 100644
index 07d323ce8..000000000
--- a/android/Fix My Street/src/com/android/fixmystreet/About.java
+++ /dev/null
@@ -1,73 +0,0 @@
-package com.android.fixmystreet;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.content.pm.PackageManager.NameNotFoundException;
-import android.os.Bundle;
-import android.text.util.Linkify;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.widget.TextView;
-
-public class About extends Activity {
-
- private Bundle extras = null;
- String versionName = "";
-
- @Override
- protected void onCreate(Bundle icicle) {
- super.onCreate(icicle);
- setContentView(R.layout.about);
- extras = getIntent().getExtras();
-
- try {
- versionName = getPackageManager().getPackageInfo(getPackageName(),
- 0).versionName;
- } catch (NameNotFoundException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
-
- // add links
- TextView noteView = (TextView) findViewById(R.id.faq);
- TextView noteView2 = (TextView) findViewById(R.id.faq2);
- noteView2.setText("This application is version " + versionName + " of Fix My Street for Android, written by Anna Powell-Smith. Thanks to Paul for testing.");
- Linkify.addLinks(noteView, Linkify.ALL);
- }
-
- // ****************************************************
- // Options menu functions
- // ****************************************************
-
- // TODO - add Bundles for these?
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- super.onCreateOptionsMenu(menu);
- MenuItem homeItem = menu.add(0, 0, 0, "Home");
- MenuItem aboutItem = menu.add(0, 1, 0, "Help");
- aboutItem.setIcon(android.R.drawable.ic_menu_info_details);
- homeItem.setIcon(android.R.drawable.ic_menu_edit);
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- switch (item.getItemId()) {
- case 0:
- Intent i = new Intent(About.this, Home.class);
- if (extras != null) {
- i.putExtras(extras);
- }
- startActivity(i);
- return true;
- case 1:
- Intent j = new Intent(About.this, Help.class);
- if (extras != null) {
- j.putExtras(extras);
- }
- startActivity(j);
- return true;
- }
- return false;
- }
-} \ No newline at end of file
diff --git a/android/Fix My Street/src/com/android/fixmystreet/Details.java b/android/Fix My Street/src/com/android/fixmystreet/Details.java
deleted file mode 100644
index 802be0342..000000000
--- a/android/Fix My Street/src/com/android/fixmystreet/Details.java
+++ /dev/null
@@ -1,252 +0,0 @@
-// ********************************************************************************
-//details.java
-//This file is where most of the work of the application happens. It collects the
-//subject of the problem, plus the user's name and email, from the Android form.
-//It uploads them to FixMyStreet, and shows a success or failure message.
-//
-//********************************************************************************
-
-package com.android.fixmystreet;
-
-import java.util.regex.*;
-
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.app.Dialog;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.content.SharedPreferences;
-import android.os.Bundle;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.widget.EditText;
-
-public class Details extends Activity {
- private EditText nameET;
- private EditText emailET;
- private EditText subjectET;
- String storedName;
- String storedEmail;
- private String subject;
- private String name;
- private String email;
- private View submitButton;
- //private static final String LOG_TAG = "Details";
- public static final String PREFS_NAME = "Settings";
- final int NAME_WARNING = 999;
- final int SUBJECT_WARNING = 998;
- final int EMAIL_WARNING = 997;
- private Bundle extras;
- private Boolean havePicture = false;
-
- /** Called when the activity is first created. */
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
-
- // set up the page
- setContentView(R.layout.details);
- nameET = (EditText) findViewById(R.id.name_text);
- emailET = (EditText) findViewById(R.id.email_text);
- subjectET = (EditText) findViewById(R.id.subject_text);
- submitButton = this.findViewById(R.id.submit_button);
-
- // set the button listeners
- setListeners();
-
- // fill in name/email, if already defined
- // NB - from settings, rather than from bundle...
- SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0);
- name = settings.getString("myName", "");
- email = settings.getString("myEmail", "");
- nameET.setText(name);
- emailET.setText(email);
-
- extras = getIntent().getExtras();
- if (extras != null) {
- // Details extras
- subject = extras.getString("subject");
- havePicture = extras.getBoolean("photo", havePicture);
-// Log.d(LOG_TAG, "extras havePicture" + havePicture);
- }
- if (subject != null) {
- subjectET.setText(subject);
- }
- }
-
- private void setListeners() {
- // Save info and pass back to Home activity
- submitButton.setOnClickListener(new OnClickListener() {
- public void onClick(View v) {
- subject = subjectET.getText().toString();
- email = emailET.getText().toString();
- name = nameET.getText().toString();
- if (!textFieldsAreValid(subject)) {
- showDialog(SUBJECT_WARNING);
- } else if (!textFieldsAreValid(name)) {
- showDialog(NAME_WARNING);
- } else if (!isValidEmailAddress(email)) {
- showDialog(EMAIL_WARNING);
- } else {
- if (true) {
- Intent i = new Intent(Details.this, Home.class);
- extras.putString("name", name);
- extras.putString("email", email);
- extras.putString("subject", subject);
- extras.putBoolean("photo", havePicture);
- i.putExtras(extras);
- startActivity(i);
- }
- }
- }
- });
- }
-
- // **********************************************************************
- // textFieldsAreValid: Make sure that fields aren't blank
- // **********************************************************************
- public static boolean textFieldsAreValid(String field) {
- if (field == null || field.length() == 0 || field.trim().length() == 0) {
- return false;
- }
- return true;
- }
-
- // **********************************************************************
- // isValidEmailAddress: Check the email address is OK
- // **********************************************************************
- public static boolean isValidEmailAddress(String emailAddress) {
- String emailRegEx;
- Pattern pattern;
- // Regex for a valid email address
- emailRegEx = "^[A-Za-z0-9._%+\\-]+@[A-Za-z0-9.\\-]+\\.[A-Za-z]{2,4}$";
- // Compare the regex with the email address
- pattern = Pattern.compile(emailRegEx);
- Matcher matcher = pattern.matcher(emailAddress);
- if (!matcher.find()) {
- return false;
- }
- return true;
- }
-
- // **********************************************************************
- // onCreateDialog: Dialog warnings
- // **********************************************************************
- @Override
- protected Dialog onCreateDialog(int id) {
- switch (id) {
- case SUBJECT_WARNING:
- return new AlertDialog.Builder(Details.this).setTitle("Subject")
- .setPositiveButton("OK",
- new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog,
- int whichButton) {
- }
- }).setMessage("Please enter a subject!").create();
- case NAME_WARNING:
- return new AlertDialog.Builder(Details.this)
- .setTitle("Name")
- .setPositiveButton("OK",
- new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog,
- int whichButton) {
- }
- })
- .setMessage(
- "Please enter your name. We'll remember it for next time.")
- .create();
-
- case EMAIL_WARNING:
- return new AlertDialog.Builder(Details.this)
- .setTitle("Email")
- .setPositiveButton("OK",
- new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog,
- int whichButton) {
- }
- })
- .setMessage(
- "Please enter a valid email address. We'll remember it for next time.")
- .create();
-
- }
- return null;
- }
-
- // Save user's name and email, if already defined
- @Override
- protected void onStop() {
- super.onStop();
-
- name = nameET.getText().toString();
- email = emailET.getText().toString();
-
- // Save user preferences
- SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0);
- SharedPreferences.Editor editor = settings.edit();
- editor.putString("myName", name);
- editor.putString("myEmail", email);
-
- // Don't forget to commit your edits!!!
- editor.commit();
- }
-
- // Look at this - is it working ok
- // public boolean testProviders() {
- // Log.e(LOG_TAG, "testProviders");
- // // StringBuilder sb = new StringBuilder("Enabled Providers");
- // // List<String> providers = locationmanager.getProviders(true);
- // // for (String provider : providers) {
- // // Log.e(LOG_TAG, "Provider = " + provider);
- // // listener = new LocationListener() {
- // // public void onLocationChanged(Location location) {
- // // }
- // //
- // // public void onProviderDisabled(String provider) {
- // // }
- // //
- // // public void onProviderEnabled(String provider) {
- // // }
- // //
- // // public void onStatusChanged(String provider, int status,
- // // Bundle extras) {
- // // }
- // // };
- // //
- // // locationmanager.requestLocationUpdates(provider, 0, 0, listener);
- // //
- // // sb.append("\n*").append(provider).append(": ");
- // //
- // // Location location = locationmanager.getLastKnownLocation(provider);
- // //
- // // if (location != null) {
- // // latitude = location.getLatitude();
- // // longitude = location.getLongitude();
- // // latString = latitude.toString();
- // // longString = longitude.toString();
- // // Log.e(LOG_TAG, "Latitude = " + latString);
- // // Log.e(LOG_TAG, "Longitude = " + longString);
- // // if (provider == "gps") {
- // // // Only bother with GPS if available
- // // return true;
- // // }
- // // } else {
- // // Log.e(LOG_TAG, "Location is null");
- // // return false;
- // // }
- // // }
- // // LocationManager lm = (LocationManager)
- // // context.getSystemService(Context.LOCATION_SERVICE);
- // //
- // // Location loc = lm.getLastKnownLocation("gps");
- // // if (loc == null)
- // // {
- // // locType = "Network";
- // // loc = lm.getLastKnownLocation("network");
- // // }
- // //
- // // textMsg.setText(sb);
- //
- // return true;
- // }
-}
diff --git a/android/Fix My Street/src/com/android/fixmystreet/Help.java b/android/Fix My Street/src/com/android/fixmystreet/Help.java
deleted file mode 100644
index 6445992d8..000000000
--- a/android/Fix My Street/src/com/android/fixmystreet/Help.java
+++ /dev/null
@@ -1,59 +0,0 @@
-package com.android.fixmystreet;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.os.Bundle;
-import android.text.util.Linkify;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.widget.TextView;
-
-public class Help extends Activity {
- private Bundle extras = null;
-
- @Override
- protected void onCreate(Bundle icicle) {
- super.onCreate(icicle);
- extras = getIntent().getExtras();
- setContentView(R.layout.help);
- TextView noteView = (TextView) findViewById(R.id.faq);
- Linkify.addLinks(noteView, Linkify.ALL);
- }
-
- // ****************************************************
- // Options menu functions
- // ****************************************************
-
- // TODO - add Bundles for these?
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- super.onCreateOptionsMenu(menu);
- MenuItem homeItem = menu.add(0, 0, 0, "Home");
- MenuItem aboutItem = menu.add(0, 1, 0, "About");
- homeItem.setIcon(android.R.drawable.ic_menu_edit);
- aboutItem.setIcon(android.R.drawable.ic_menu_info_details);
-
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- switch (item.getItemId()) {
- case 0:
- Intent i = new Intent(Help.this, Home.class);
- if (extras != null) {
- i.putExtras(extras);
- }
- startActivity(i);
- return true;
- case 1:
- Intent j = new Intent(Help.this, About.class);
- if (extras != null) {
- j.putExtras(extras);
- }
- startActivity(j);
- return true;
- }
- return false;
- }
-}
diff --git a/android/Fix My Street/src/com/android/fixmystreet/Home.java b/android/Fix My Street/src/com/android/fixmystreet/Home.java
deleted file mode 100644
index e0543c77f..000000000
--- a/android/Fix My Street/src/com/android/fixmystreet/Home.java
+++ /dev/null
@@ -1,719 +0,0 @@
-// **************************************************************************
-// Home.java
-// **************************************************************************
-package com.android.fixmystreet;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-
-import org.apache.commons.httpclient.HttpClient;
-import org.apache.commons.httpclient.methods.PostMethod;
-import org.apache.commons.httpclient.methods.multipart.ByteArrayPartSource;
-import org.apache.commons.httpclient.methods.multipart.FilePart;
-import org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity;
-import org.apache.commons.httpclient.methods.multipart.Part;
-import org.apache.commons.httpclient.methods.multipart.StringPart;
-
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.app.Dialog;
-import android.app.ProgressDialog;
-import android.content.Context;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.content.SharedPreferences;
-
-import android.location.Location;
-import android.location.LocationListener;
-import android.location.LocationManager;
-import android.net.Uri;
-import android.os.Bundle;
-import android.os.Environment;
-import android.os.Handler;
-import android.telephony.TelephonyManager;
-import android.util.Log;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.widget.Button;
-import android.widget.TextView;
-import android.content.pm.PackageManager.NameNotFoundException;
-import android.content.res.Resources;
-import android.graphics.drawable.Drawable;
-import android.provider.MediaStore;
-import android.view.View;
-import android.view.View.OnClickListener;
-
-public class Home extends Activity {
- // ****************************************************
- // Local variables
- // ****************************************************
- private static final String LOG_TAG = "Home";
- public static final String PREFS_NAME = "FMS_Settings";
- private Button btnReport;
- private Button btnDetails;
- private Button btnPicture;
- // Info that's been passed from other activities
- private Boolean haveDetails = false;
- private Boolean havePicture = false;
- private String name = null;
- private String email = null;
- private String subject = null;
- // Location info
- LocationManager locationmanager = null;
- LocationListener listener;
- Location location;
- private Double latitude;
- private Double longitude;
- private String latString = "";
- private String longString = "";
- long firstGPSFixTime = 0;
- long latestGPSFixTime = 0;
- long previousGPSFixTime = 0;
- private Boolean locationDetermined = false;
- int locAccuracy;
- long locationTimeStored = 0;
- // hacky way of checking the results
- private static int globalStatus = 13;
- private static final int SUCCESS = 0;
- private static final int LOCATION_NOT_FOUND = 1;
- private static final int UPLOAD_ERROR = 2;
- private static final int UPLOAD_ERROR_SERVER = 3;
- private static final int PHOTO_NOT_FOUND = 5;
- private static final int UPON_UPDATE = 6;
- private static final int COUNTRY_ERROR = 7;
- private String serverResponse;
- SharedPreferences settings;
- String versionName = null;
- // Thread handling
- ProgressDialog myProgressDialog = null;
- private ProgressDialog pd;
- final Handler mHandler = new Handler();
- final Runnable mUpdateResults = new Runnable() {
- public void run() {
- pd.dismiss();
- updateResultsInUi();
- }
- };
- private Bundle extras;
- private TextView textProgress;
- private String exception_string = "";
-
- // Called when the activity is first created
- @Override
- public void onCreate(Bundle icicle) {
- super.onCreate(icicle);
- setContentView(R.layout.home);
- // Log.d(LOG_TAG, "onCreate, havePicture = " + havePicture);
- settings = getSharedPreferences(PREFS_NAME, 0);
- testProviders();
-
- btnDetails = (Button) findViewById(R.id.details_button);
- btnPicture = (Button) findViewById(R.id.camera_button);
- btnReport = (Button) findViewById(R.id.report_button);
- btnReport.setVisibility(View.GONE);
- textProgress = (TextView) findViewById(R.id.progress_text);
- textProgress.setVisibility(View.GONE);
-
- if (icicle != null) {
- havePicture = icicle.getBoolean("photo");
- Log.d(LOG_TAG, "icicle not null, havePicture = " + havePicture);
- } else {
- Log.d(LOG_TAG, "icicle null");
- }
- extras = getIntent().getExtras();
- checkBundle();
- setListeners();
-
- // Show update message - but not to new users
- int vc = 0;
- try {
- vc = getPackageManager().getPackageInfo(getPackageName(), 0).versionCode;
- versionName = getPackageManager().getPackageInfo(getPackageName(),
- 0).versionName;
- } catch (NameNotFoundException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
-
- // TODO - add this code next time!
- boolean hasSeenUpdateVersion = settings.getBoolean(
- "hasSeenUpdateVersion" + vc, false);
- boolean hasSeenOldVersion = settings.getBoolean("hasSeenUpdateVersion"
- + (vc - 1), false);
- if (!hasSeenUpdateVersion && hasSeenOldVersion) {
- showDialog(UPON_UPDATE);
- SharedPreferences.Editor editor = settings.edit();
- editor.putBoolean("hasSeenUpdateVersion" + vc, true);
- editor.commit();
- }
-
- // Check country: show warning if not in Great Britain
- TelephonyManager mTelephonyMgr = (TelephonyManager) this
- .getSystemService(Context.TELEPHONY_SERVICE);
- String country = mTelephonyMgr.getNetworkCountryIso();
- //Log.d(LOG_TAG, "country = " + country);
- if (!(country.matches("gb"))) {
- showDialog(COUNTRY_ERROR);
- }
- }
-
- @Override
- protected void onPause() {
- // Log.d(LOG_TAG, "onPause, havePicture = " + havePicture);
- super.onPause();
- removeListeners();
- }
-
- @Override
- protected void onStop() {
- // Log.d(LOG_TAG, "onStop, havePicture = " + havePicture);
- super.onStop();
- removeListeners();
- }
-
- @Override
- public void onRestart() {
- // Log.d(LOG_TAG, "onRestart, havePicture = " + havePicture);
- testProviders();
- checkBundle();
- super.onRestart();
- }
-
- // ****************************************************
- // checkBundle - check the extras that have been passed
- // is the user able to upload things yet, or not?
- // ****************************************************
- private void checkBundle() {
- // Log.d(LOG_TAG, "checkBundle");
- // Get the status icons...
- Resources res = getResources();
- Drawable checked = res.getDrawable(R.drawable.done);
- if (extras != null) {
- // Log.d(LOG_TAG, "Checking extras");
- // Details extras
- name = extras.getString("name");
- email = extras.getString("email");
- subject = extras.getString("subject");
- if (!havePicture) {
- havePicture = extras.getBoolean("photo");
- }
- // Do we have the details?
- if ((name != null) && (email != null) && (subject != null)) {
- haveDetails = true;
- // Log.d(LOG_TAG, "Have all details");
- checked.setBounds(0, 0, checked.getIntrinsicWidth(), checked
- .getIntrinsicHeight());
- // envelope.setBounds(0, 0, envelope.getIntrinsicWidth(),
- // envelope
- // .getIntrinsicHeight());
- btnDetails.setText("Details added: '" + subject + "'");
- btnDetails.setCompoundDrawables(null, null, checked, null);
- } else {
- // Log.d(LOG_TAG, "Don't have details");
- }
- } else {
- extras = new Bundle();
- // Log.d(LOG_TAG, "no Bundle at all");
- }
- // Log.d(LOG_TAG, "havePicture = " + havePicture);
-
- // Do we have the photo?
- if (havePicture) {
-
- checked.setBounds(0, 0, checked.getIntrinsicWidth(), checked
- .getIntrinsicHeight());
- // camera.setBounds(0, 0, camera.getIntrinsicWidth(), camera
- // .getIntrinsicHeight());
- btnPicture.setCompoundDrawables(null, null, checked, null);
- btnPicture.setText("Photo taken");
- }
- if (havePicture && haveDetails) {
- textProgress.setVisibility(View.VISIBLE);
- }
- }
-
- // ****************************************************
- // setListeners - set the button listeners
- // ****************************************************
-
- private void setListeners() {
- btnDetails.setOnClickListener(new OnClickListener() {
- public void onClick(View v) {
- Intent i = new Intent(Home.this, Details.class);
- extras.putString("name", name);
- extras.putString("email", email);
- extras.putString("subject", subject);
- extras.putBoolean("photo", havePicture);
-
- i.putExtras(extras);
- startActivity(i);
- }
- });
- btnPicture.setOnClickListener(new OnClickListener() {
- public void onClick(View v) {
- File photo = new File(
- Environment.getExternalStorageDirectory(),
- "FMS_photo.jpg");
- if (photo.exists()) {
- photo.delete();
- }
- Intent imageCaptureIntent = new Intent(
- MediaStore.ACTION_IMAGE_CAPTURE);
- imageCaptureIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri
- .fromFile(photo));
- startActivityForResult(imageCaptureIntent, 1);
- }
- });
- btnReport.setOnClickListener(new OnClickListener() {
- public void onClick(View v) {
- locationDetermined = true;
- uploadToFMS();
- }
- });
- }
-
- @Override
- public void onActivityResult(int requestCode, int resultCode, Intent data) {
- // Log.d(LOG_TAG, "onActivityResult");
- // Log.d(LOG_TAG, "Activity.RESULT_OK code = " + Activity.RESULT_OK);
- // Log.d(LOG_TAG, "resultCode = " + resultCode + "requestCode = "
- // + requestCode);
- if (resultCode == Activity.RESULT_OK && requestCode == 1) {
- havePicture = true;
- extras.putBoolean("photo", true);
- Resources res = getResources();
- Drawable checked = res.getDrawable(R.drawable.done);
- checked.setBounds(0, 0, checked.getIntrinsicWidth(), checked
- .getIntrinsicHeight());
- btnPicture.setCompoundDrawables(null, null, checked, null);
- btnPicture.setText("Photo taken");
- }
- Log.d(LOG_TAG, "havePicture = " + havePicture.toString());
- }
-
- @Override
- protected void onSaveInstanceState(Bundle outState) {
- Log.d(LOG_TAG, "onSaveInstanceState, havePicture " + havePicture);
- // Log.d(LOG_TAG, "onSaveInstanceState");
- if (havePicture != null) {
- // Log.d(LOG_TAG, "mRowId = " + mRowId);
- outState.putBoolean("photo", havePicture);
- }
- super.onSaveInstanceState(outState);
- }
-
- @Override
- public void onRestoreInstanceState(Bundle savedInstanceState) {
- super.onRestoreInstanceState(savedInstanceState);
- // Restore UI state from the savedInstanceState.
- // This bundle has also been passed to onCreate.
- havePicture = savedInstanceState.getBoolean("photo");
- Log.d(LOG_TAG, "onRestoreInstanceState, havePicture " + havePicture);
- }
-
- // **********************************************************************
- // uploadToFMS: uploads details, handled via a background thread
- // Also checks the age and accuracy of the GPS data first
- // **********************************************************************
- private void uploadToFMS() {
- // Log.d(LOG_TAG, "uploadToFMS");
- pd = ProgressDialog
- .show(
- this,
- "Uploading, please wait...",
- "Uploading. This can take up to a minute, depending on your connection speed. Please be patient!",
- true, false);
- Thread t = new Thread() {
- public void run() {
- doUploadinBackground();
- mHandler.post(mUpdateResults);
- }
- };
- t.start();
- }
-
- private void updateResultsInUi() {
- if (globalStatus == UPLOAD_ERROR) {
- showDialog(UPLOAD_ERROR);
- } else if (globalStatus == UPLOAD_ERROR_SERVER) {
- showDialog(UPLOAD_ERROR_SERVER);
- } else if (globalStatus == LOCATION_NOT_FOUND) {
- showDialog(LOCATION_NOT_FOUND);
- } else if (globalStatus == PHOTO_NOT_FOUND) {
- showDialog(PHOTO_NOT_FOUND);
- } else {
- // Success! - Proceed to the success activity!
- Intent i = new Intent(Home.this, Success.class);
- i.putExtra("latString", latString);
- i.putExtra("lonString", longString);
- startActivity(i);
- }
- }
-
- // **********************************************************************
- // onCreateDialog: Dialog warnings
- // **********************************************************************
- @Override
- protected Dialog onCreateDialog(int id) {
- switch (id) {
- case COUNTRY_ERROR:
- return new AlertDialog.Builder(Home.this)
- .setTitle("Country or network error")
- .setPositiveButton("OK",
- new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog,
- int whichButton) {
- }
- })
- .setMessage(
- "Sorry, FixMyStreet currently only works in Britain. You won't be able to submit reports from your current location. (You may also see this error if you aren't connected to the network.)")
- .create();
- case UPLOAD_ERROR:
- return new AlertDialog.Builder(Home.this)
- .setTitle("Upload error")
- .setPositiveButton("OK",
- new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog,
- int whichButton) {
- }
- })
- .setMessage(
- "Sorry, there was an error uploading - maybe the network connection is down? Please try again later. Exception: " + exception_string + " " + serverResponse)
- .create();
- case UPLOAD_ERROR_SERVER:
- return new AlertDialog.Builder(Home.this)
- .setTitle("Upload error")
- .setPositiveButton("OK",
- new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog,
- int whichButton) {
- }
- })
- .setMessage(
- "Sorry, there was an error uploading. Please try again later. The server response was: "
- + serverResponse).create();
- case LOCATION_NOT_FOUND:
- return new AlertDialog.Builder(Home.this)
- .setTitle("Location problem")
- .setPositiveButton("OK",
- new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog,
- int whichButton) {
- }
- })
- .setMessage(
- "Could not get location! Can you see the sky? Please try again later.")
- .create();
- case PHOTO_NOT_FOUND:
- return new AlertDialog.Builder(Home.this).setTitle("No photo")
- .setPositiveButton("OK",
- new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog,
- int whichButton) {
- }
- }).setMessage("Photo not found!").create();
- case UPON_UPDATE:
- if (versionName == null) {
- versionName = "";
- }
- return new AlertDialog.Builder(Home.this).setTitle("What's new?")
- .setPositiveButton("OK",
- new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog,
- int whichButton) {
- }
- }).setMessage(
- "New features in version" + versionName
- + ": better GPS fix.").create();
- }
- return null;
- }
-
- // **********************************************************************
- // doUploadinBackground: POST request to FixMyStreet
- // **********************************************************************
- private boolean doUploadinBackground() {
- // Log.d(LOG_TAG, "doUploadinBackground");
-
- String responseString = null;
- PostMethod method;
-
- method = new PostMethod("http://www.fixmystreet.com/import");
-
- try {
-
- byte[] imageByteArray = null;
- HttpClient client = new HttpClient();
- client.getHttpConnectionManager().getParams().setConnectionTimeout(
- 100000);
-
- File f = new File(Environment.getExternalStorageDirectory(),
- "FMS_photo.jpg");
-
- // TODO - add a check here
- if (!f.exists()) {
- }
- imageByteArray = getBytesFromFile(f);
-
- // Log
- // .d(LOG_TAG, "len of data is " + imageByteArray.length
- // + " bytes");
-
- FilePart photo = new FilePart("photo", new ByteArrayPartSource(
- "photo", imageByteArray));
-
- photo.setContentType("image/jpeg");
- photo.setCharSet(null);
-
- Part[] parts = { new StringPart("service", "Android phone"),
- new StringPart("subject", subject),
- new StringPart("name", name),
- new StringPart("email", email),
- new StringPart("lat", latString),
- new StringPart("lon", longString), photo };
-
- // Log.d(LOG_TAG, "sending off with lat " + latString + " and lon "
- // + longString);
-
- method.setRequestEntity(new MultipartRequestEntity(parts, method
- .getParams()));
- client.executeMethod(method);
- responseString = method.getResponseBodyAsString();
- method.releaseConnection();
-
- Log.e("httpPost", "Response status: " + responseString);
- Log.e("httpPost", "Latitude = " + latString + " and Longitude = "
- + longString);
-
- } catch (Exception ex) {
- Log.v(LOG_TAG, "Exception", ex);
- exception_string = ex.getMessage();
- globalStatus = UPLOAD_ERROR;
- serverResponse = "";
- return false;
- } finally {
- method.releaseConnection();
- }
-
- if (responseString.equals("SUCCESS")) {
- // launch the Success page
- globalStatus = SUCCESS;
- return true;
- } else {
- // print the response string?
- serverResponse = responseString;
- globalStatus = UPLOAD_ERROR;
- return false;
- }
- }
-
- private boolean checkLoc(Location location) {
- // get accuracy
- // Log.d(LOG_TAG, "checkLocation");
- float tempAccuracy = location.getAccuracy();
- locAccuracy = (int) tempAccuracy;
- // get time - store the GPS time the first time
- // it is reported, then check it against future reported times
- latestGPSFixTime = location.getTime();
- if (firstGPSFixTime == 0) {
- firstGPSFixTime = latestGPSFixTime;
- }
- if (previousGPSFixTime == 0) {
- previousGPSFixTime = latestGPSFixTime;
- }
- long timeDiffSecs = (latestGPSFixTime - previousGPSFixTime) / 1000;
-
- // Log.d(LOG_TAG, "~~~~~~~ checkLocation, accuracy = " + locAccuracy
- // + ", firstGPSFixTime = " + firstGPSFixTime + ", gpsTime = "
- // + latestGPSFixTime + ", timeDiffSecs = " + timeDiffSecsInt);
-
- // Check our location - no good if the GPS accuracy is more than 24m
- if ((locAccuracy > 24) || (timeDiffSecs == 0)) {
- if (timeDiffSecs == 0) {
- // nor do we want to report if the GPS time hasn't changed at
- // all - it is probably out of date
- textProgress
- .setText("Waiting for a GPS fix: phone says last fix is out of date. Please make sure you can see the sky.");
- } else {
- textProgress
- .setText("Waiting for a GPS fix: phone says last fix had accuracy of "
- + locAccuracy
- + "m. (We need accuracy of 24m.) Please make sure you can see the sky.");
- }
- } else if (locAccuracy == 0) {
- // or if no accuracy data is available
- textProgress
- .setText("Waiting for a GPS fix... Please make sure you can see the sky.");
- } else {
- // but if all the requirements have been met, proceed
- latitude = location.getLatitude();
- longitude = location.getLongitude();
- latString = latitude.toString();
- longString = longitude.toString();
- if (haveDetails && havePicture) {
- btnReport.setVisibility(View.VISIBLE);
- btnReport.setText("GPS found! Report to Fix My Street");
- textProgress.setVisibility(View.GONE);
- } else {
- textProgress.setText("GPS found!");
- }
- previousGPSFixTime = latestGPSFixTime;
- return true;
- }
- previousGPSFixTime = latestGPSFixTime;
- // textProgress.setText("~~~~~~~ checkLocation, accuracy = "
- // + locAccuracy + ", locationTimeStored = " + locationTimeStored
- // + ", gpsTime = " + gpsTime);
- return false;
- }
-
- public boolean testProviders() {
- // Log.e(LOG_TAG, "testProviders");
- // Register for location listener
- String location_context = Context.LOCATION_SERVICE;
- locationmanager = (LocationManager) getSystemService(location_context);
- // Criteria criteria = new Criteria();
- // criteria.setAccuracy(Criteria.ACCURACY_FINE);
- // criteria.setAltitudeRequired(false);
- // criteria.setBearingRequired(false);
- // criteria.setPowerRequirement(Criteria.NO_REQUIREMENT);
- // criteria.setSpeedRequired(false);
- // String provider = locationmanager.getBestProvider(criteria, true);
- if (!locationmanager.isProviderEnabled(LocationManager.GPS_PROVIDER)) {
- buildAlertMessageNoGps();
- return false;
- }
- listener = new LocationListener() {
- public void onLocationChanged(Location location) {
- // keep checking the location + updating text - until we have
- // what we need
- if (!locationDetermined) {
- checkLoc(location);
- }
- }
-
- public void onProviderDisabled(String provider) {
- }
-
- public void onProviderEnabled(String provider) {
- }
-
- public void onStatusChanged(String provider, int status,
- Bundle extras) {
- }
- };
- locationmanager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0,
- 0, listener);
- return true;
- }
-
- private void buildAlertMessageNoGps() {
- final AlertDialog.Builder builder = new AlertDialog.Builder(this);
- builder
- .setMessage(
- "Your GPS seems to be disabled. Do you want to turn it on now?")
- .setCancelable(false).setPositiveButton("Yes",
- new DialogInterface.OnClickListener() {
- public void onClick(
- @SuppressWarnings("unused") final DialogInterface dialog,
- @SuppressWarnings("unused") final int id) {
- Intent j = new Intent();
- j
- .setAction("android.settings.LOCATION_SOURCE_SETTINGS");
- startActivity(j);
- }
- }).setNegativeButton("No",
- new DialogInterface.OnClickListener() {
- public void onClick(final DialogInterface dialog,
- @SuppressWarnings("unused") final int id) {
- dialog.cancel();
- }
- });
- final AlertDialog alert = builder.create();
- alert.show();
- }
-
- public void removeListeners() {
- // Log.e(LOG_TAG, "removeListeners");
- if ((locationmanager != null) && (listener != null)) {
- locationmanager.removeUpdates(listener);
- }
- locationmanager = null;
- // Log.d(LOG_TAG, "Removed " + listener.toString());
- }
-
- // ****************************************************
- // Options menu functions
- // ****************************************************
-
- // TODO - add Bundles for these?
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- super.onCreateOptionsMenu(menu);
- MenuItem helpItem = menu.add(0, 0, 0, "Help");
- MenuItem aboutItem = menu.add(0, 1, 0, "About");
- aboutItem.setIcon(android.R.drawable.ic_menu_info_details);
- helpItem.setIcon(android.R.drawable.ic_menu_help);
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- switch (item.getItemId()) {
- case 0:
- Intent i = new Intent(Home.this, Help.class);
- if (extras != null) {
- i.putExtras(extras);
- }
- startActivity(i);
- return true;
- case 1:
- Intent j = new Intent(Home.this, About.class);
- if (extras != null) {
- j.putExtras(extras);
- }
- startActivity(j);
- return true;
- }
- return false;
- }
-
- // read the photo file into a byte array...
- public static byte[] getBytesFromFile(File file) throws IOException {
- InputStream is = new FileInputStream(file);
-
- // Get the size of the file
- long length = file.length();
-
- // You cannot create an array using a long type.
- // It needs to be an int type.
- // Before converting to an int type, check
- // to ensure that file is not larger than Integer.MAX_VALUE.
- if (length > Integer.MAX_VALUE) {
- // File is too large
- }
-
- // Create the byte array to hold the data
- byte[] bytes = new byte[(int) length];
-
- // Read in the bytes
- int offset = 0;
- int numRead = 0;
- while (offset < bytes.length
- && (numRead = is.read(bytes, offset, bytes.length - offset)) >= 0) {
- offset += numRead;
- }
-
- // Ensure all the bytes have been read in
- if (offset < bytes.length) {
- throw new IOException("Could not completely read file "
- + file.getName());
- }
-
- // Close the input stream and return bytes
- is.close();
- return bytes;
- }
-}
diff --git a/android/Fix My Street/src/com/android/fixmystreet/Success.java b/android/Fix My Street/src/com/android/fixmystreet/Success.java
deleted file mode 100644
index a941d4687..000000000
--- a/android/Fix My Street/src/com/android/fixmystreet/Success.java
+++ /dev/null
@@ -1,57 +0,0 @@
-//*************************************************************
-//
-//*************************************************************
-
-package com.android.fixmystreet;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.os.Bundle;
-//import android.util.Log;
-import android.view.KeyEvent;
-import android.view.Menu;
-import android.view.MenuItem;
-
-public class Success extends Activity {
-
- //private static final String LOG_TAG = "Success";
-
- /** Called when the activity is first created. */
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.success);
- }
-
- // ****************************************************
- // Options menu functions
- // ****************************************************
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- super.onCreateOptionsMenu(menu);
- MenuItem helpItem = menu.add(0, 0, 0, "Home");
- helpItem.setIcon(android.R.drawable.ic_menu_edit);
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- switch (item.getItemId()) {
- case 0:
- Intent i = new Intent(Success.this, Home.class);
- startActivity(i);
- return true;
- }
- return false;
- }
-
- // disable the Back key in case things get submitted twice
- public boolean onKeyDown(int keyCode, KeyEvent event) {
- if (keyCode == KeyEvent.KEYCODE_BACK) {
- return true;
- }
- return false;
- }
-
-} \ No newline at end of file
diff --git a/android/README.txt b/android/README.txt
deleted file mode 100644
index 02267a34e..000000000
--- a/android/README.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-FixMyStreet Android application
-==============================
-
-The Fix My Street directory contains a complete application that should open
-directly in Eclipse.
-
-However, to compile it as an .apk, you will need to add the following JAR files
-to your build path - these make the multipart messages work.
-
-- commons-httpclient.jar
-- httpcomponents-client-4.0-alpha4.lib
-
-Hopefully these will no longer be needed in future versions of Android.
-
-I've compiled it against version 1.5 (Cupcake).
-
-Note that the app has to be signed to go onto the Android Market, contact
-anna@mysociety.org to do this.
-
-TODO (if you're an Android developer and wish to help mySociety,
----- feel free to volunteer for any of these)
-
-* Improve flow - when you start the app, there should really be a
-welcome message explaning what FMS is, and a "Click here to take
-a photo" button, then after the photo a "Now add your details" screen.
-At the moment the opening screen doesn't really make sense unless you
-already know what FixMyStreet is - it should be more welcoming.