Граф коммитов

51 Коммитов

Автор SHA1 Сообщение Дата
Eric Edens cd613a0109 Tests 2014-07-09 08:30:42 -07:00
Eric Edens e295d8a92a Fixes 2014-07-09 08:30:42 -07:00
Eric Edens 4a9ed14c89 Rename 2014-07-09 08:30:42 -07:00
Eric Edens 1bfd09744f Gradle update 2014-07-08 09:20:30 -07:00
Eric Edens 76339f34d8 Include style feedback from https://bugzilla.mozilla.org/show_bug.cgi?id=1031565 2014-06-27 18:07:35 -07:00
Eric Edens 8af4749d8d Don't use 'm' prefix on member vars. 2014-06-27 15:24:07 -07:00
Eric Edens d482eeadb0 s/com/org/ 2014-06-27 15:13:13 -07:00
Eric Edens 0e18cba156 Adding header to card_background.xml 2014-06-27 14:51:01 -07:00
Eric Edens 4be884fccb Add addl licenses 2014-06-27 14:43:09 -07:00
Eric Edens f3b65f432c Standardize comment style for legal headers 2014-06-27 14:40:06 -07:00
Eric Edens 939a7f2343 Add licenses 2014-06-27 14:14:43 -07:00
Eric Edens 470c592a63 Bring a couple of styles back from pre-grunt 2014-06-26 17:01:40 -07:00
Nick Alexander c6c343bcee Add grunt tasks.
default task preprocesses Android manifest and strings.
clean task deletes preprocessed files.
export task copies local changes to Mozilla source tree.
2014-06-26 15:23:32 -07:00
Nick Alexander 9537a43f37 Add search_ prefix to resource file names throughout.
It's okay if Android ids collide, so we don't need to prefix ids.
2014-06-26 15:23:32 -07:00
Nick Alexander 5810536ae1 Ignore lint errors. 2014-06-26 15:23:32 -07:00
Nick Alexander 1ffc16a4d0 Delete assets directory. 2014-06-26 12:41:02 -07:00
Lucas Rocha bafefcd863 Fix gradle build issues 2014-06-23 16:34:47 -07:00
Eric Edens ceb55aa14b Add class-level comments 2014-06-23 13:56:40 -07:00
Eric Edens 02b12d5728 Set AndroidManifest SDK versions to match MC. 2014-06-23 13:29:30 -07:00
Eric Edens 85c054cca3 Fix for:
Update `AndroidManifest.xml` to refer to full package name #4
2014-06-23 11:29:05 -07:00
Eric Edens c8e67698e5 Fix Android Lint items 2014-06-23 11:18:51 -07:00
Eric Edens 4dad9a62fe Add GeckoView 2014-06-20 14:20:10 -07:00
Eric Edens 6cad6bf9cd Add header image. 2014-06-19 16:37:37 -07:00
Eric Edens 03949274a6 Replace tmp android icon with a Firefox icon (from Tango project) 2014-06-19 16:15:22 -07:00
Eric Edens cc36016eda Configure autocomplete dictionary to use sqlite's FTS 2014-06-19 15:48:20 -07:00
Eric Edens 51a5cc2953 Add autocomplete; basic card stream. 2014-06-18 09:50:45 -07:00
Eric Edens edaf4a1212 Fresh Android Studio project 2014-06-16 09:35:37 -07:00
Eric Edens 6d8274f453 Remove prototype from master 2014-06-13 11:09:04 -07:00
Eric Edens 2780ae16fd When possible, go back to the previous search, instead of creating a new search. 2014-06-12 10:55:15 -07:00
Eric Edens f12d61e6e3 Make sure Picasso isn't given a blank URI 2014-06-12 10:45:46 -07:00
Eric Edens 2abf824d19 Build support for Android SDK 9. It builds, but it's not pretty.. 2014-06-12 10:35:23 -07:00
Eric Edens b5b94c0bcf Avoid NPE when location wasn't returned. 2014-06-12 09:52:25 -07:00
Eric Edens ba5f549a9f Manifest tweak: force portrait; always show keyboard in search activity 2014-06-11 19:44:15 -07:00
Eric Edens 1245dbff90 Improve readability of search text in hero area 2014-06-11 18:44:14 -07:00
Eric Edens 38550fb442 Swap out picture of baseball stadium for a blank image 2014-06-11 18:43:33 -07:00
Eric Edens 9a2a9a3507 Fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1023975
The problem is that addCard is being called from the result of a background thread doing an HTTP request. This NPE occurs when the following steps happen:

1) Fragment exists
2) HTTP call starts
3) Fragment's onDestroyView occurs
4) HTTP call completes
2014-06-11 18:06:23 -07:00
Eric Edens e84b2bba7e Fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1023975
The problem is that addCard is being called from the result of a background thread doing an HTTP request. This NPE occurs when the following steps happen:

1) Fragment exists
2) HTTP call starts
3) Fragment's onDestroyView occurs
4) HTTP call completes
2014-06-11 16:48:11 -07:00
Eric Edens 3a43c64679 Remove weather card; make hero image show sun (eventually to show current weather cond) 2014-06-11 11:07:01 -07:00
Eric Edens 7498bd67ef Address NPEs that occur when network is disabled 2014-06-11 10:43:43 -07:00
Eric Edens 343d3e6ea8 Add yelp icon 2014-06-11 09:17:22 -07:00
Eric Edens 3180dd1292 Final prototype dump 2014-06-11 08:47:38 -07:00
Eric Edens 176fc0020a Refactor and rename 2014-06-09 10:44:07 -07:00
Eric Edens 20878b46c8 Remove search from MainActivity 2014-06-09 10:42:55 -07:00
Eric Edens b7ea06336b Make all types serializable to support passing through intents 2014-06-09 10:41:44 -07:00
Eric Edens 54fcde9699 Add a serializable Uri that can be passed through intents 2014-06-09 10:41:01 -07:00
Eric Edens 281c8047cd Add fields to the restaurant model to support full-page cards 2014-06-09 10:40:08 -07:00
Eric Edens d4367c3248 Create an activity for full-page results. This is a first pass with tight coupling to Yelp 2014-06-09 10:39:13 -07:00
Eric Edens 0708e87a14 Move autocomplete to its own activity 2014-06-09 10:38:21 -07:00
Eric Edens 3330fb024a Add model for addresses 2014-06-09 08:54:06 -07:00
Eric Edens 4ed9745418 Add interface for "AcceptsCard" 2014-06-08 14:56:56 -07:00