Giter Site home page Giter Site logo

phonegap-powerapp's Introduction

PhoneGap PowerApp

PhoneGap App for Android Project (Eclipse): PowerApp

Works as a Stand-alone App or with PhoneGap PowerApp Node.js Server

I made a short video which describes PowerApp and how to use it.

This repo contains a complete Cordova App Eclipse Project, Including:

PowerApp Functionality Includes:

  • Data Collection/Display - Example uses barcode scan as "item" data
  • Persistent Storage - Item data saved using device local storage
  • Geolocation and Timestamp - Saved with each item
  • User Rating - User rates with star rating and comment, saved with each item
  • Social Aspect - If logged in, users can share their item data anonymously and see other's data
  • Interactive Mapping - Items, including shared items, shown as markers on map, tap marker to see info window

Companion Node.js Server

  • See PhoneGap PowerApp Node.js Server to run PowerApp with server, however log in not required to use PowerApp
  • App Configuration required if using server:
    • assets/www/index.html - search for "Simple OpenID Selector", provide server url in form action
    • assets/www/main.js - provide server ip and port for var serverUrl
  • Authentication uses OpenID
  • Storage of Data on Server - Save data on server if user logs in
  • User-controlled Data Sharing - Data stored anonymously, sharing controlled by user

Usage

Instructions on installing Eclipse, Android SDK and the AppLaud Eclipse Plugin found here. Recommend creating and running at least one demo app before using PowerApp, see Getting Started Tutorial. See also AppLaud Getting Started Video.

  1. Add the Barcode Scanner Plugin Project to Eclipse
  • Complete Steps 1 and 6 in the MDS TMT3 Barcode Scanner Tutorial. The PowerApp project has completed the other steps in the tutorial for you, except Step 7 which is addressed below.
  • The resulting project will be an Android Library project in your Eclipse workspace
  1. Download and unzip PowerApp from this page. Alternate: Fork it.
  • Run "File > Import... Existing Projects Into Workspace" in Eclipse to create the PowerApp project
  • OR Run "File > New > Android > Android Project from Existing Code" (depends on your current ADT)
  • For "Select Root Directory" browse to the location of the unzipped PowerApp project and click Finish
  • This project may have errors until you complete all steps!
  • When completed correctly, this step will create a project in your workspace called powerapp
  • OR ..called com.example.powerapp.PowerAppActivity
  1. Complete Step 7 in the MDS TMT3 Barcode Scanner Tutorial
  • This step adds the barcode scanner library to the PowerApp project. Errors may appear in the project until this step is completed due to the barcode scanner configuration in AndroidManifest.xml.
  • Note: The PowerApp project already includes the Barcode Scanner and Child Browser plugin Java, JavaScript and manifest configuration. After complete the three steps described here the app is ready to run.

Libby Baldwin, Mobile Developer Solutions

phonegap-powerapp's People

Contributors

libbybaldwin 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.