GithubHelp home page GithubHelp logo

droidkino's Issues

Application hangs when fetching movie list

For some reason the intent that calls the DataFetchService is not returning to the movie list.

When debugging the app, everything seems fine after fetching and parsing the movie info, BUT when the "fetch_complted" intent is broadcasted, the movie list activity is not getting it back.

Simplify UX/UI to use only one filterable/sortable list

Currently there are two options:

  1. movie list
  2. schedule list
  • add menu on top (like in gmail) for the filtering and sorting options

Filtering

  • Theatre area: default to Helsinki, and then it saves the latest filtered Theatre area
  • Date: today, that are defaults from the system, but can be changed by the user to be in the future

Sorts

  • By defalt it sorts (groupped by time slots i.e. each hours or 2hrs) (what is playing now, starting from current time).
  • Option to sort by movie name (groupped by)

Improve response time (paginate)

Currently movie list is grabbed from FinKino server as xml and it is only possible to get the entire list of schedules for one day or the entire list of movies (no schedules).

Since the phone is able to display a limited number of items on screen, its better to retrieve only few items and then fetch more.

This might not be possible with current architecture, evaluate posibility to use a server like set one in google app engine that fetches the movies and is able to serve requests for pagination.

Quick Actions on Movie List Items

Add quick actions menu to Movie List Items

  • Movie Details
  • Trailer video (if available)
  • Share it (use share intent)
  • see movie schedules

Also add an icon to the movie list items when there are videos available

Need to reuse data from cache

So far we are downloading data from finnkino and parsing it every time that the user goes to the movie list or search for schedules, we should keep it in the cache (we are using the DroidKinoApplication class for this) and reuse it.

Use of copy in SAX Parsing

The FinnkinoSAXParser uses a final object that is filled from the different SAX listeners.
When it finishes parsing a Show element it copies the current contents of the MovieInfo and adds it to a list .
The copy method does not clean the original MovieInfo object and it doesn't handle copying lists properly. Therefore, multiple MovieInfo copies might end up getting content from a previous parsed Show and also pointing to the same list.

Moreover when adding/removing fields to the MovieInfo class we'll need to remember to handle it properly in the copy method.

Can we just get rid of the copy method?

NPE when clicking Movie List button

There's a null pointer exception when clicking the movie list button:
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.androidaalto.droidkino/org.androidaalto.droidkino.activities.MovieListFragment}: java.lang.ClassCastException: org.androidaalto.droidkino.activities.MovieListFragment

Title misreplaced by "Katso Traileri"

The issue is that the parser is taking the title of the EventVideo, which normaly is like "Katso Traileri" and replacing that in the movie title string.

Improve movie detail layout

  • separator in the movie detail between the specs and the synopsys.
  • get a shorter movie description (2-3 lines, not a whole plot like finnkino has!), perhaps the one from IMDB
  • add remaining info from IMDB, like actors, directors, etc.

NPE when populating movie list

Null pointer exception stack trace:
01-25 20:09:02.250: E/AndroidRuntime(2052): java.lang.NullPointerException: println needs a message
01-25 20:09:02.250: E/AndroidRuntime(2052): at android.util.Log.println_native(Native Method)
01-25 20:09:02.250: E/AndroidRuntime(2052): at android.util.Log.d(Log.java:137)
01-25 20:09:02.250: E/AndroidRuntime(2052): at org.androidaalto.droidkino.ImageHelper.fillUpImageView(ImageHelper.java:37)
01-25 20:09:02.250: E/AndroidRuntime(2052): at org.androidaalto.droidkino.adapter.MovieListAdapter.getView(MovieListAdapter.java:66)
01-25 20:09:02.250: E/AndroidRuntime(2052): at android.widget.AbsListView.obtainView(AbsListView.java:1467)
01-25 20:09:02.250: E/AndroidRuntime(2052): at android.widget.ListView.makeAndAddView(ListView.java:1745)
01-25 20:09:02.250: E/AndroidRuntime(2052): at android.widget.ListView.fillDown(ListView.java:670)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.