Code Monkey home page Code Monkey logo

flashcardsapp's Introduction

Hi, I'm Farbod. 👋

Currently, I work as a Software Engineer at Squarepoint Capital. 💻

Before that, I did my Computer Science BSc student at University of Warwick. 🎓

Most of my projects can be found here on GitHub. You can also find out more about me and the things I've done on my website!

flashcardsapp's People

Contributors

farbodsz avatar

Watchers

 avatar

Forkers

yomag84 joaking95

flashcardsapp's Issues

Splash screen

It could show the app's logo for a second before the app starts.

Travis build failing: 'failed to find Build Tools revision 24.0.0 rc1'

The Travis build is currently failing:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> failed to find Build Tools revision 24.0.0 rc1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 26.774 secs


The command "./gradlew build connectedCheck" exited with 1.

Done. Your build exited with 1.

RuntimeException when starting French vocabulary flashcards

The crash seems to only happen for French vocabulary flashcards.

Process: com.satsuware.flashcards, PID: 4664
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.satsuware.flashcards/com.satsumasoftware.flashcards.ui.FlashCardActivity}: java.lang.RuntimeException: Parcel android.os.Parcel@d2219e4: Unmarshalling unknown type code 6815860 at offset 200
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    at android.app.ActivityThread.-wrap11(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
 Caused by: java.lang.RuntimeException: Parcel android.os.Parcel@d2219e4: Unmarshalling unknown type code 6815860 at offset 200
    at android.os.Parcel.readValue(Parcel.java:2319)
    at android.os.Parcel.readListInternal(Parcel.java:2633)
    at android.os.Parcel.readArrayList(Parcel.java:1914)
    at android.os.Parcel.readValue(Parcel.java:2264)
    at android.os.Parcel.readArrayMapInternal(Parcel.java:2592)
    at android.os.BaseBundle.unparcel(BaseBundle.java:221)
    at android.os.Bundle.getParcelable(Bundle.java:786)
    at android.content.Intent.getParcelableExtra(Intent.java:5377)
    at com.satsumasoftware.flashcards.ui.FlashCardActivity.onCreate(FlashCardActivity.java:71)
    at android.app.Activity.performCreate(Activity.java:6237)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) 
    at android.app.ActivityThread.-wrap11(ActivityThread.java) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) 
    at android.os.Handler.dispatchMessage(Handler.java:102) 
    at android.os.Looper.loop(Looper.java:148) 
    at android.app.ActivityThread.main(ActivityThread.java:5417) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 

IllegalArgumentException when rotating device sometimes

Sometimes when rotating the device, the following error occurs:

java.lang.IllegalArgumentException
in android.view.View.onRestoreInstanceState

java.lang.RuntimeException: Unable to start activity 
  ComponentInfo{com.satsuware.flashcards/com.satsumasoftware.flashcards.ui.TopicDetailActivity}: 
  java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.support.v4.widget.NestedScrollView$SavedState instead. 
  This usually happens when two views of different type have the same id in the same hierarchy. 
  This view's id is id/viewGroup_options. Make sure other views do not use the same id.
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2702)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2767)
    at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4471)

    ...

Caused by: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class ... 
  Make sure other views do not use the same id.
    at android.view.View.onRestoreInstanceState(View.java:14736)

        ...

Add CGP acknowledgement

Add a licenses page to acknowledge that the questions and answers were adapted from the CGP revision guides.

A reference to this in the readme would be good as well.

Documentation

It would be good to have documentation for methods, classes, etc. in the code (and comments) to clearly indicate what is happening at points where it may be unclear why a piece of code is being run.

NumberFormatException when choosing to view all French content

Caused when going to the topic detail for 'All subject content' for French vocabulary.

It also occurs when viewing the 'Abbrevations' section of the French vocabulary content (section 20).

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.satsuware.flashcards/com.satsumasoftware.flashcards.ui.TopicDetailActivity}: java.lang.NumberFormatException: Invalid int: "null"
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    at android.app.ActivityThread.-wrap11(ActivityThread.java)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
 Caused by: java.lang.NumberFormatException: Invalid int: "null"
    at java.lang.Integer.invalidInt(Integer.java:138)
    at java.lang.Integer.parseInt(Integer.java:358)
    at java.lang.Integer.parseInt(Integer.java:334)
    at com.satsumasoftware.flashcards.framework.topic.CourseTopic.cardDetailsFromLine(CourseTopic.java:90)
    at com.satsumasoftware.flashcards.framework.topic.CourseTopic.getFlashCards(CourseTopic.java:80)
    at com.satsumasoftware.flashcards.framework.topic.FullContentTopic.getFlashCards(FullContentTopic.java:61)
    at com.satsumasoftware.flashcards.ui.TopicDetailActivity.onCreate(TopicDetailActivity.java:89)
    at android.app.Activity.performCreate(Activity.java:6237)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) 
    at android.app.ActivityThread.-wrap11(ActivityThread.java) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) 
    at android.os.Handler.dispatchMessage(Handler.java:102) 
    at android.os.Looper.loop(Looper.java:148) 
    at android.app.ActivityThread.main(ActivityThread.java:5417) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Irrelevant answer for physics question?

One user noted that the answer for the question "light bends away from the normal..." is irrelevant.

The question should be in the section 3 CSV for physics.

Travis build failing: error with `StandardFlashCard.java` file

...

:app:compileDebugJavaWithJavac
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/home/travis/build/FarbodSalamat-Zadeh/FlashcardsApp/app/src/main/java/com/satsumasoftware/flashcards/object/StandardFlashcard.java:27: error: class StandardFlashCard is public, should be declared in a file named StandardFlashCard.java
public class StandardFlashCard implements FlashCard {
       ^
1 error
:app:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

...

Here is a link to that build, for reference:
https://travis-ci.org/FarbodSalamat-Zadeh/FlashcardsApp/builds/135327356

View flashcards from all topics

There would be a card in the 'Topics' section entitled 'All subject content' which would contain all cards from all of the topics for that subject.

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.