Git Product home page Git Product logo

bpinfo's Introduction

BPInfo

CircleCI

Budapest public transport info app based on public transport APIs.

Screenshot

Features

  • real time public transport info
  • push notifications
  • current and planned traffic changes
  • filter vehicle types
  • small, optimized APK size (currently ~1.75 MB)

Project

This app is also a demo project to try new technologies, libraries, architectures.

Technologies and libraries used:

Libraries intentionally not used:

  • RxJava: would be overkill for such simple use cases
  • GSON: the API responses require a lot of custom parsing and mapping that I decided to parse with custom code

Future plans:

  • Kotlin coroutines
  • Jetpack Navigation
  • More tests

bpinfo's People

Contributors

ofalvai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

csc1995 fossabot

bpinfo's Issues

(BUG) ( BPInfo VERSION 2.0.5 ) The application crashes when I click the test notification

Project Information

Expected behavior

When I click on the test notification, the application should not be crashed, the BIL test should be heard.

Actual behavior

The application crashes when I click the test notification

How to reproduce

  • open the application

  • click on ball icon

  • at the top right side click the 3 vertical dots

  • and then click on the Test Notification option

  • Note the Error

  • Browser/App version: 2.0.5

  • Operating system: 6.0

Recording Of The Bug

20190707_125951

Logcat

E/AndroidRuntime( 9728): FATAL EXCEPTION: main

E/AndroidRuntime( 9728): Process: com.ofalvai.bpinfo, PID: 9728

E/AndroidRuntime( 9728): android.app.RemoteServiceException: Bad notification posted from package com.ofalvai.bpinfo: Couldn't create icon: StatusBarIcon(pkg=com.ofalvai.bpinfouser=0 id=0x7f080080 level=0 visible=true num=0 )

E/AndroidRuntime( 9728): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)

E/AndroidRuntime( 9728): 	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime( 9728): 	at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime( 9728): 	at android.app.ActivityThread.main(ActivityThread.java:5910)

E/AndroidRuntime( 9728): 	at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime( 9728): 	at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime( 9728): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime( 9728): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

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.