Giter Club home page Giter Club logo

hrfusion's Introduction

HRFusion

HRFusion is a small Android app, that navigates on "HR" SQLite database.

Motivations:

About

In spite of Android SDK provides built-in API for operating with SQLite, the aim of this app is an integration of POCO libs and using POCO's API to access to SQLite database (see "POCO C++ Libraries Android Platform Notes").

As a database, there's used a reflection of Oracle Database 'HR' sample schema ("hr.db" file provided in "assets" folder).
This one is produced by the utility "HRToSQLite".

Built with:

  • Android Studio 4.0
    • SDK (Build Tools 35)
    • NDK 21.2.6472646
  • CMake (External Build) for C++ part
  • HRFusion.so is built with:
    • cpp flags - '-std=c++11 -frtti -fexceptions'
    • stl type - 'c++_shared'

POCO libs integration:

This project uses POCO LIBS 1.7.5 (Download | POCO C++ Libraries )

To make it buildable, do the next steps:

  • copy POCO LIBS headers under directory 'app/src/main/cpp/include':
 -- Poco
   |-- Data
   |   -- SQLite
   |-- Dynamic
   |    -- Util
   |-- ASCIIEncoding.h
   |-- AbstractCache.h
   |-- AbstractDelegate.h
   |-- ...
  • copy POCO libraries built for abi types 'armeabi', 'x86_64', etc. under directory 'app/src/main/jniLibs' respectively:

    ```
    .
    |-- armeabi
    |   |-- libPocoData.so
    |   |-- libPocoDataSQLite.so
    |   |-- libPocoDataSQLited.so
    |   |-- libPocoDatad.so
    |   |-- libPocoFoundation.so
    |   |-- libPocoFoundationd.so
    |   |-- libPocoJSON.so
    |   |-- libPocoJSONd.so
    |   |-- libPocoUtil.so
    |   |-- libPocoUtild.so
    |   |-- libPocoXML.so
    |   |-- libPocoXMLd.so
    `-- x86_64
        |-- libPocoData.so
        |-- libPocoDataSQLite.so
        |-- ...
    
    ```
    

Testing:

  • JUnit tests are provided for all jni-calls against to HRFusion.so;
  • ReadHREntitiesFixture - the single fixture aggregates all test unit calls, to launch them in 'batch mode';

Screenshots


hrfusion's People

Contributors

victorkryz avatar

Watchers

 avatar

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.