Git Product home page Git Product logo

mobilecomputing's People

Contributors

alex1001xela avatar bibi90 avatar katerinageniou avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mobilecomputing's Issues

IDs in wrapper-classes

This would help us with having clear idea when should one ID be used, and when another one, just by looking at the class.

On first start it crashes

Stacktrace:

java.lang.NullPointerException: Attempt to invoke virtual method 'org.json.JSONObject
at com.wua.mc.webuntisapp.presenter.WebUntisService.getFilters()' on a null object reference
com.wua.mc.webuntisapp.presenter.CalendarPresenter.getFilters(CalendarPresenter.java:395)
com.wua.mc.webuntisapp.view.FieldOfStudyChooser.getFieldOfStudyConfirmationButton(FieldOfStudyChooser.java:47)
com.wua.mc.webuntisapp.view.MainActivity$1.onClick(MainActivity.java:85)
android.view.View.performClick(View.java:5265)
android.view.View$PerformClick.run(View.java:21534)
android.os.Handler.handleCallback(Handler.java:815)
android.os.Handler.dispatchMessage(Handler.java:104)
android.os.Looper.loop(Looper.java:207)
android.app.ActivityThread.main(ActivityThread.java:5728)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)

Also:

FATAL EXCEPTION: main Process: com.wua.mc.webuntisapp, PID: 25269 java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at com.wua.mc.webuntisapp.model.DatabaseManager.saveEventDB(DatabaseManager.java:219)
com.wua.mc.webuntisapp.presenter.CalendarPresenter.addCourse(CalendarPresenter.java:213)
com.wua.mc.webuntisapp.view.CalendarView$8.onClick(CalendarView.java:565)
android.view.View$PerformClick.run(View.java:21534)
android.os.Handler.handleCallback(Handler.java:815)
android.os.Handler.dispatchMessage(Handler.java:104)
android.os.Looper.loop(Looper.java:207)
android.app.ActivityThread.main(ActivityThread.java:5728)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)

Teacher information in the database

We need a better way to get events from the database, because right now it is just events with no relation to a course. We need some kind of inner select or something.

It does not go to month March

Stacktrace:

java.text.ParseException: Unparseable date: " March " (at offset 0)
android.icu.text.DateFormat.parse(DateFormat.java:683)
com.wua.mc.webuntisapp.view.CalendarView$GridCellAdapter.convertStringMonthToIntegerMonth(CalendarView.java:1546)
com.wua.mc.webuntisapp.view.CalendarView$GridCellAdapter.onClick(CalendarView.java:1496)
android.view.View.performClick(View.java:5265)
android.view.View$PerformClick.run(View.java:21534)
android.os.Handler.handleCallback(Handler.java:815)
android.os.Handler.dispatchMessage(Handler.java:104)
android.os.Looper.loop(Looper.java:207)
android.app.ActivityThread.main(ActivityThread.java:5728)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)

Events representation precision

I am unsure about the precision in which events are represented on the calendar. I left it at that state back then in favour of more important topics.

WebUntisClient session management

As it is right now, with each call to the WebUntis Server we create a new session and destroy it on response, all automatically, meaning there are minimum 3 HTTP requests per action. This made it easier for us developers during uni-time, but is in principle inefficient. We need to switch to manual session management, this would reduce the HTTP requests by a lot.

Multiple overlapping events' representation

There is still some bug when events are have overlapping hours, can't remember in which way. We need to create multiple events with separate lengths and similar timestamps to check how they position themselves.

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.