Coder Social home page Coder Social logo

opsandtacticsopenreference's Introduction

Synopsis

Ops and Tactics Open Reference is an android smartphone application that acts as a reference for all Ops and Tactics rulebooks.

Motivation

This projects exists to make referencing the content within Ops and Tactics on a smartphone easier. I have tried to make it flexable enough that one can modify/delete the JSON and XML files and add new JSON and XML files to suit the needs of different systems.

Contributors

If you wish to contribute to this project make a pull request.

Ops and Tactics is written by Sweet Soul Bro !!H5XdMKmBv5G and any who wish to contribute to the system should contact him. More information can be found at www.opsandtactics.com.

License

The code is licenced under GPL 3.

Ops and Tactics is licenced under the Creative Commons. More information can be found at www.opsandtactics.com.

The JSON and XML files that contain Ops and Tactics content are subject to the licence Ops and Tactics is under, not GPL 3.

If you adapt this app to your own system, then the modifications you make to the code maintain GPL 3, but the XML and JSON files inherit the existing licence for your system.

opsandtacticsopenreference's People

Contributors

patchcoat avatar

Watchers

 avatar  avatar

opsandtacticsopenreference's Issues

XML Ordered Lists

Ordered lists are absent from the XML content parser.
An ordered list looks like the following. Numbers are level 0, capital letters are level 1, and lowercase letters are level 2.

  1. First item
    A. Sub Item A
    B. Sub Item B
    a. Sub Sub Item a
    b. Sub Sub Item b
    C. Sub Item C
  2. Second Item
  3. Third Item
    A. First of the third item
    B. Second of the third item
    C. Third of the third item

Due to the way lists work in the XML parser this will need a recursive solution. Firstly all of the list elements are loaded into an array. The elements of the array contain the content of the list, and they can contain a sub-list. When the xml list goes up a level, it starts loading that new level of elements into the sub-list of the most recently added item. Once this list is populated, it can be recursively looped through and the ordered list can be added to the view.

General Settings

General settings are still using the default settings as a placeholder. Should include settings for bookmarks as well as any anything else that comes up that doesn't fit in Appearance or Books.

Edit:
The following need to be added to settings.

  • Appearance/Themes
  • Books (turns on which books are or are not available from the home screen)

App freezes when opening large xml page.

Some XML pages are very, very long and take a while to load. This can make the UI freeze when opening those pages.

The solution I see is to run the parser on a separate thread that pushes TextViews and the like to the UI thread as they are ready. This will make the page loading seem instant since the beginning will load as good as instantly and the rest will load faster than the user can scroll.

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.