Coder Social home page Coder Social logo

epicollectplus-mobile-client-html5's Introduction

EpiCollect+ Mobile Client HTML5

Epicollect+ Mobile Client based on HTML5 built in collaboration with Citizen Cyberlab

Dependencies

  • Cordova CLI 5.0 resolving to Cordova 3.8 on iOS and Cordova 4.0.0 on Android
  • jQuery Mobile 1.3.2

Platforms supported

  • Android 4.1+ (Jelly Bean, released in July 2012)
  • iOS 7+ (Released in September 2013)

Installation

Clone repo (png resources were added manually using git add res/ios/*.png -f)

Add Android using Cordova CLI

Plugins dependencies are added automatically via Cordova hooks when adding Android

Copy res/android/ files to proper folder under platform/android

Run cordova prepare to copy file per each platform

Open project in Android Studio (Android) or Xcode (iOS)

Fix deployment info, Java import ect. if needed

Update Android Manifest file, change default theme to Holo Light android:theme="@android:style/Theme.Holo.Light.NoActionBar"

Run on device

Look for log errors about missing plugins and fix (I am looking into this but no solution so far)

Custom URL schemes need to be added manually to Android manifest and iOS plist files (if you want to deeplink your app to a web page, otherwise you can skip this)

iOS: http://goo.gl/SPLNo
Android: `todo`

Currently using 4.0.0 on Android, where jsHybugger (debugging tool) does not work. It would work on 3.7.0 but Eclipse does not compile the project (missing .jar). To debug Android <4.4, clone repo, use to 3.7 and debug there. Make the changes to the main repo manually.

For debugging, add console.error(_error.message); to SQLitePlugin.js at line 375 as it is catching general errors which have nothing to do with the plugin or database

Enable file sharing on iOS (useful for "Export to CSV" feature to be able to get hold of the csv bundle) adding <key>UIFileSharingEnabled</key> <string>YES</string> to info.plist

We are happy to be part of the Citizen CyberLab

epicollectplus-mobile-client-html5's People

Contributors

mirko77 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

epicollectplus-mobile-client-html5's Issues

Remote Server URL resets on (Android) app close

When you add your own server url, it stores it only temporarily; when you close the app and reopen, it reverts back the the default plus.epicollect.net url.

Haven't tested this on iOS, just Android.

Cheers

Ant

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.