Coder Social home page Coder Social logo

pebblesifter's Introduction

Pebble Sifter

Pebble / Android app to interface with site scrapers in order to sift out important strings.

Android Companion App Installation

To install the companion app to your Android device:

Pebble App Installation

To deploy the Pebble app to your smart watch:

Creating Your Own Sifter

To create and use your own sifter:

  • Create a new class that extends PebbleSifter in the personalSifters directory
    • Note: The contents of the personalSifters directory has been added to the .gitignore file. It is highly recommended that you store your sifters in a separate repository to prevent them from being lost when working with PebbleSifter.
  • Override the sift(), getFullName(), getPebbleName(), and refresh() methods
  • Instantiate your sifter and add it to the MainActivity.sifters ArrayList in the DrawApp class under the line that says "As new sifters are implemented, add them here:"
  • Re-install the Android Companion App

For examples on how to create a sifter, checkout the exampleSifters directory. All examples use jsoup for parsing HTML, but you can use whatever library you would like.

Contributing

Pull requests to improve this project are more than welcome. Checkout the roadmap.txt file for ideas of what I'd like to do next. No coding conventions have been set; just try to follow the existing conventions you see in the code.

pebblesifter's People

Contributors

thompsnm avatar

Watchers

James Cloos avatar  avatar

pebblesifter's Issues

Unclear error is displayed when the data connection doesn't work

Reproduction Steps:

  • Turn off your data connection
  • Start Pebble Sifter

Expected Result:

  • An error message should inform you that a data connection could not be established.

Actual Result:

  • Error message is displayed that says "Unfortunately, Pebble Sifter has stopped."

Can't scroll through sifted text

Reproduction Steps:

  • Create a Sifter whose sift() method returns a string so long it extends past the bottom of the screen.
  • Attempt to scroll down to the Sifter Buttons

Expected Result:

  • User can scroll down to the Sifter Buttons

Actual Result:

  • User can't scroll through text

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.