Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orcaman/quizr-mobile
https://github.com/orcaman/quizr-mobile
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/orcaman/quizr-mobile
- Owner: orcaman
- Created: 2014-06-30T23:51:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-30T23:51:19.000Z (over 10 years ago)
- Last Synced: 2024-10-20T17:29:47.728Z (2 months ago)
- Language: JavaScript
- Size: 2.44 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quizr
Quizr is a quiz game, based on the Topeka application of the Polymer project (http://www.polymer-project.org/). It is basically a simple KitKat web view that renders the polymer quiz sample quiz game. This is the code used on https://play.google.com/store/apps/details?id=com.androninja.quizr
## HOW TO:
Under 'mobile' folder, on the MainActivity.java we set the web view to render the quiz game, hosted on GAE:
```
private void setWebView() {
mWebView = (WebView) findViewById(R.id.activity_main_webview);
mWebView.setWebChromeClient(new WebChromeClient());
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.getSettings().setDomStorageEnabled(true);
mWebView.loadUrl("http://quizr-app.appspot.com/static/v1/index.html");
}
```The "backend" folder contains a GAE project ready to be deployed, with a static/v1 folder that holds the polymer app.