GithubHelp home page GithubHelp logo

iosched's People

Contributors

alsutton avatar castorflex avatar jfschmakeit avatar rock3r avatar romannurik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iosched's Issues

No 1st-run autosync

When the app is started for the first time it doesn't sync and so the user doesn't see any data,

Notifications: are they working?

Did the notifications get tested? Is the "starred session coming up next" notification shown by the app, given that it doesn't use GCM anymore?
Just a memo, more than anything else.

java.lang.NullPointerException at com.funkyandroid.droidcon.uk.iosched.ui.BaseActivity.setActionBarTrackIcon(BaseActivity.java:61)

Crash report from the Play Store Console;

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.funkyandroid.droidcon.uk.iosched/com.funkyandroid.droidcon.uk.iosched.ui.phone.TrackDetailActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2247)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2297)
at android.app.ActivityThread.access$700(ActivityThread.java:152)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5328)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.funkyandroid.droidcon.uk.iosched.ui.BaseActivity.setActionBarTrackIcon(BaseActivity.java:61)
at com.funkyandroid.droidcon.uk.iosched.ui.phone.TrackDetailActivity.onTrackInfoAvailable(TrackDetailActivity.java:209)
at com.funkyandroid.droidcon.uk.iosched.ui.TrackInfoHelperFragment.onCreate(TrackInfoHelperFragment.java:92)
at android.support.v4.app.Fragment.performCreate(Fragment.java:1455)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:893)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1086)
at android.support.v4.app.FragmentManagerImpl.dispatchCreate(FragmentManager.java:1872)
at android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:215)
at android.support.v7.app.ActionBarActivity.onCreate(ActionBarActivity.java:97)
at com.funkyandroid.droidcon.uk.iosched.ui.BaseActivity.onCreate(BaseActivity.java:40)
at com.funkyandroid.droidcon.uk.iosched.ui.phone.TrackDetailActivity.onCreate(TrackDetailActivity.java:63)
at android.app.Activity.performCreate(Activity.java:5250)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)
... 11 more

Lots of unused stuff still in the app

I can't exactly determine what is unused as of now because there is no written and shared plan yet for the app, but it seems like a lot of stuff that was used for I/O won't be used for Droidcon.

"What's on" UI issue on tablets

On tablets, the "what's on" fragment is missing the dark background and is, thus, almost illegible (light gray text on white BG).

"What's on" fragment on a Nexus 7

Provide sessions feedback REST endpoint

The sessions feedback is currently handled on sync events by the com.funkyandroid.droidcon.uk.droidconsched.io.model.events.sessions.Feedback class, through the com.funkyandroid.droidcon.uk.iosched.io.FeedbackHelper`.

The feedback submission URL for the PUT requests is currently resolved to ServerRequest#DATA_ROOT + Feedback#REST_PATH when executing the request. This ends up pointing to http://dcuk2013.funkyandroid.net/events/droidconuk2013/sessions/{sessionId}/feedback, which 404's.

Do we want to collect feedbacks, or do we just want to remove the feedback function altogether?

Session web links aren't be mapped to session id

The website uses links for each session such as "/sessions/session-title-here". Trying to implement opening sessions but the fragment requires a sessionId, which can't be retrieved from the link.

Update EULA

The eula_text string is referred to Google. Should check with Droidcon legal staff and update this.

EDIT: the same goes for about_body!

Gradle build script out of sync

The gradle build script is out of sync because the latest modifications have been done in an IDE which doesn't auto update the build script.

This should be fixed.

Accents color should match logo, improve branding

The app could benefit from some more aggressive branding optimization.

For example, the accent colors could be set to the same green the logo uses, and probably the ActionBar logo itself could be white-on-green rather than multicolored.

Here's a quick&dirty mockup (which also includes a first draft for #34 's schedule list items UI rework):

branded_ui

What do you think, @alsutton?

Prettify Schedule list items

The Schedule as of now is full of grayed-out items, making it look like an half-done app. Also, the striped pattern in the left part of each item should in my opinion very lightly reflect the color of the track it represents (if there is one and only one session starred for that slot).

java.lang.NullPointerException at com.funkyandroid.droidcon.uk.iosched.ui.MapFragment.showFloor(MapFragment.java:347)

Crash report from the Play Store;

java.lang.NullPointerException
at com.funkyandroid.droidcon.uk.iosched.ui.MapFragment.showFloor(MapFragment.java:347)
at com.funkyandroid.droidcon.uk.iosched.ui.MapFragment.access$000(MapFragment.java:80)
at com.funkyandroid.droidcon.uk.iosched.ui.MapFragment$2.onClick(MapFragment.java:209)
at android.view.View.performClick(View.java:4354)
at android.view.View$PerformClick.run(View.java:17962)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5328)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)

Datasets: local JSON, remote webservice

It seems that, as of now, no webservice exists yet to provide the data for Droidcon. The only remote endpoint working is Google's, which I guess will have to be removed pretty soon (you get both Droidcon data from the local JSONs and I/O's data from Google's webservice).

Also, the local JSON is not complete nor up-to-date. Do you have any official JSON to use, or would you need to "infer" it from the Droidcon website?

Some sessions are in the wrong track

The first that pops to my eye is my own session, Developing i'm Watch Apps, that should be in the Not Phones track but in the app is in the Barcamp track.

I'm not really sure about the other sessions as I don't have a reference to check against.

CursorIndexOutOfBoundsException when tapping (All tracks) in the Explore list

09-16 09:54:59.636 23193-23193/com.funkyandroid.droidcon.uk.iosched E/AndroidRuntime﹕ FATAL EXCEPTION: main
android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 16
at android.database.AbstractCursor.checkPosition(AbstractCursor.java:424)
at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:136)
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:50)
at android.database.CursorWrapper.getString(CursorWrapper.java:114)
at com.funkyandroid.droidcon.uk.iosched.ui.ExploreFragment.onListItemClick(ExploreFragment.java:159)
at android.support.v4.app.ListFragment$2.onItemClick(ListFragment.java:58)
at android.widget.AdapterView.performItemClick(AdapterView.java:298)
at android.widget.AbsListView.performItemClick(AbsListView.java:1100)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:2749)
at android.widget.AbsListView$1.run(AbsListView.java:3423)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5227)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
at dalvik.system.NativeStart.main(Native Method)

Prettify Tweet list items

I'd make the items a bit more card-like, work a bit on tipography, if possible also adding people's pictures and a few more metadata (at least the timestamp).

I could sketch something in Photoshop for feedback if you want.

Update references in Config

The com.funkyandroid.droidcon.uk.iosched.Config class contains a bunch of references to Google's services, webservice endpoints, etc. It should be cleaned up.

Remove all "I/O Extended" stuff

There are a lot of references in the settings to the I/O Extended, livestreams, and such stuff that should be removed from the app.

I can do this, if you give me the green light, @alsutton.

Crash on tapping a session for details

When tapping a session in the schedule, the app crashes:

09-11 16:59:08.110  25122-25122/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
        android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://com.funkyandroid.droidcon.uk.iosched/blocks/1368647100-1368650700/sessions (has extras) }
        at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1622)
        at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417)
        at android.app.Activity.startActivityForResult(Activity.java:3370)
        at android.app.Activity.startActivityForResult(Activity.java:3331)
        at android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:833)
        at android.support.v4.app.Fragment.startActivity(Fragment.java:856)
        at com.funkyandroid.droidcon.uk.iosched.ui.ScheduleFragment$MyScheduleAdapter$1.onClick(ScheduleFragment.java:367)
        at android.view.View.performClick(View.java:4211)
        at android.view.View$PerformClick.run(View.java:17362)
        at android.os.Handler.handleCallback(Handler.java:725)
        at android.os.Handler.dispatchMessage(Handler.java:92)
        at android.os.Looper.loop(Looper.java:137)
        at android.app.ActivityThread.main(ActivityThread.java:5227)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:511)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
        at dalvik.system.NativeStart.main(Native Method)

This is probably due to one of the intent-filters defined in the manifest for SessionDetailsActivity. I strongly suspect you'd have to change the data tag contents for the filter you can find at lines 221-228 of the manifest file.

I'd change it myself but I don't know the URLs you're defining for your webservice.

Artifacts/encoding errors in text

Some sort of encoding error with the strings in the descriptions of sessions. Two I've noticed are encoding errors of the apostrophe character (') and a strange one which I will upload an image of.

Remove or change NfcBadgeActivity's behaviour

It's used to open the Google+ profile of attendants to the I/O, but Droidcon's badge NFC tags usually only contain the name, surname and email of the attendee. Should we switch to something like an Activity that shows the attendee details and offers to add to contacts, instead?

Unused assets (SVG floor maps)

In ./android/src/main/assets/maptiles you can find three SVG files for what looks like the Moscone Center's three floors maps. Guess you don't need them for the Droidcon... the same probably goes for the SVG library in the dependencies, if you take the SVG maps out.

"Configure WiFi" action changes

This still uses Google I/O's network details. Should be changed to whatever network details are provided by Droidcon.

Also, some kind of feedback once the network details have been added would be nice as it's not really clear what this action does and upon selecting it seems like it did nothing. Even a simple short-duration toast seems appropriate.

android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 6 at android.database.AbstractCursor.checkPosition(AbstractCursor.java:424)

Crash from Google Play Developers Console;

android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 6
at android.database.AbstractCursor.checkPosition(AbstractCursor.java:424)
at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:136)
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:50)
at android.database.CursorWrapper.getString(CursorWrapper.java:114)
at com.funkyandroid.droidcon.uk.iosched.ui.ExploreFragment.onListItemClick(ExploreFragment.java:159)
at android.support.v4.app.ListFragment$2.onItemClick(ListFragment.java:58)
at android.widget.AdapterView.performItemClick(AdapterView.java:298)
at android.widget.AbsListView.performItemClick(AbsListView.java:1100)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:2788)
at android.widget.AbsListView$1.run(AbsListView.java:3463)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)

Tracks don't show up anymore in Explore

I can't see tracks anymore in the Explore fragment as of the head of pull request #30. I haven't touched anything regarding the tracks, their JSON, or other stuff. I noticed it after the last merge from your commits from today.

device-2013-09-18-161619

The problem is most likely due to malformed JSON in respect to the Tracks and Track classes they should be deserialized into, because this manifests itself as empty Tracks objects being deserialized by Gson in TracksHandler:

Tracks tracksJson = new Gson().fromJson(json, Tracks.class);
if (tracksJson != null) {
    final Track[] tracks = tracksJson.getTrack();
    if (tracks != null) {
        // We never get to here: tracksJson#tracks
        // is always null!
        for (Track track : tracks) {
            parseTrack(track, batch);
        }
    }
}

I've tried digging into Gson to find out where the issue is, but figuring out that labyrinth is out of my scope right now. I don't have a reference JSON to work on, but by just cross-checking the raw/tracks.json contents and the Track class I can tell that there are a couple mismatches: the class is likely missing some int[] sessions field, and has a field that doesn't exist in the JSON, order_in_level (but that shouldn't be a problem).

Also, it's not clear to me at this time (because I haven't put that much into the figuring out, I guess):

  • what's the difference between the tracks.json and session_tracks.json contents; intuitively the latter is the "relation table" between sessions and the tracks they belong to, through the sessions arrays, but then tracks.json has that same data. So, is session_tracks.json just a duplicate of a subset of tracks.json data?
  • Why you have split the io.* namespaces in two places, with half the stuff in com.funkyandroid.droidcon.uk.droidconsched.io and half in com.funkyandroid.droidcon.uk.iosched.io?

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.