Giter Club home page Giter Club logo

dubsar_android's People

Contributors

jdee avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

parmegv

dubsar_android's Issues

Static labels become too large in some views

For example, search for Oliver Heaviside. Go to the Sense view. The expandable list view at the bottom only has a small amount of space in portrait mode, and is entirely gone in landscape.

FAQ view does not show loading... after initial view

The first time a user visits the FAQ view, it shows a message, "loading...," while the web view loads the page. If the user goes back and then forward or otherwise goes away and returns to the FAQ view, the "loading..." message does not appear while the web page loads. If the application is killed and restarted, the "loading..." message will appear again the first time the FAQ view is visited.

app is dead on GINGERBREAD

The autocompleter works, interestingly, but a search just returns "The network connection is down" when connected by Wi-Fi.

Background data setting usage changed in later versions of Android

The app was originally developed against Froyo (2.2). The Preferences activity shows you the value of the background data setting and provides a Change button that takes you to the appropriate activity in the Settings app. However, in Jellybean 4.2.1, it's not clear that this activity is relevant any longer. If so, the connection is obscure. The activity's label is simply Sync. There is a check box allowing you to toggle Auto-sync of app data. However, this does not affect the setting reported by Dubsar in the Preferences screen and hence will not affect the app's behavior.

It's likely that this setting on the Preferences activity should simply be removed, but the situation might bear a little further investigation.

Scrolling navigation can seem inconsistent

Anything that already scrolls, in particular a ListView, will already intercept scroll events. They simply are never delivered to the GesturedDetector that watches for scroll events in the view as a whole. So on the main activity, for example, the user can drag the screen from any point. In most content views, this only works in the navigation header and static labels immediately below it, above any ListView.

Poor handling of bad requests

Search for "S(." The view will report an error. A toast will indicate that the network connection is down. Unfortunately, the main website does not handle this situation much better. But that may mean that it's just a server fix.

App does not recognize 4G network

The application will not recognize a 4G connection. When other applications can reach the Internet, Dubsar reports the network is down.

FAQ view state becomes confused after rotation

Sometimes after a link in the FAQ view is tapped, the requested AJAX page is momentarily displayed, then the main FAQ view is displayed over it. This may be due to handling AJAX responses in the Android web view.

WOTD timer frequently does not fire

If the application has been asleep for some time, the WOTD timer often doesn't go off at all. Sometimes there are messages in the logcat about DubsarService crashing. Since the logcat is not timestamped, it's hard to tell if these are correlated with the WOTD timer.

sometimes the forward stack is cleared when going back

Immediately after going back, the forward button should be enabled, and the navigation header should respond to R-L scrolling by advancing to the page you were on before going back. Occasionally this fails. This has been observed in a Word view, but since this is entirely handled in the base class, it's likely a race of some sort.

Bad action names

The literal string values of Dubsar action names such as DubsarService.ACTION_WOTD need to be qualified with an inverted domain name and generally made to resemble other Android action names. For example, the literal value of that action is "action_wotd." Instead, it should be something like "com.dubsar_dictionary.WOTD."

WOTD never displayed

This has been observed on Android 2.2. The service runs, but the WOTD never appears, and status bar notifications are never displayed.

forward stack sometimes corrupted when app paused

Sometimes if the application is paused for a long time, the forward stack gets corrupted. After going back, the forward button is enabled and changes state when tapped, but nothing happens. Gestures don't work either.

FAQ web view does not support HTTP proxy setting

This only occurs on Kit Kat, and it only happens with the web view used for the FAQ. The HTTP client used to retrieve data from the Dubsar server is not affected.

Starting with Jelly Bean 4.2 at the latest, Android supports a global HTTP proxy setting for wi-fi. In the Settings app, long press on a wi-fi network for advanced settings. There you can set the HTTP proxy, among other things.

The HTTP proxy setting was primarily introduced for the benefit of the Guardian Project's Orbot and Tor support because a global proxy setting was not available on all Android versions. A global proxy is available in Kit Kat and should work with the web view, though this is difficult to test with an emulator.

For now, this is primarily a matter of documentation. It may be possible to improve on this over time.

app crashes when timer fires

As soon as the next WOTD time is in the past, it's not properly updated, and the call to Timer.schedule throws an IllegalArgumentException because of a negative delay.

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.