This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.mindstorm.i18n.dao; | |
| import java.util.List; | |
| import javax.jdo.PersistenceManager; | |
| import javax.jdo.Query; | |
| import com.google.appengine.api.datastore.Key; | |
| import com.google.appengine.api.datastore.KeyFactory; | |
| import com.mindstorm.i18n.entity.Tips; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.mindstorm.i18n.entity; | |
| import java.util.List; | |
| import javax.jdo.annotations.IdGeneratorStrategy; | |
| import javax.jdo.annotations.PersistenceCapable; | |
| import javax.jdo.annotations.Persistent; | |
| import javax.jdo.annotations.PrimaryKey; | |
| import com.google.appengine.api.datastore.Key; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <%@page import="com.mindstorm.signaturecapture.dao.SignatureRecordDAO"%> | |
| <%@page import="com.mindstorm.signaturecapture.entity.SignatureRecord"%> | |
| <%@page import="java.util.List"%> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Signature Capture</title> | |
| <style> | |
| body { font: normal 100.01%/1.375 "Helvetica Neue",Helvetica,Arial,sans-serif; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Signature Capture</title> | |
| <style> | |
| body { font: normal 100.01%/1.375 "Helvetica Neue",Helvetica,Arial,sans-serif; } | |
| </style> | |
| <link href="../css/jquery.signaturepad.css" rel="stylesheet"> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.mindstorm.signaturecapture.services; | |
| import java.io.IOException; | |
| import java.util.logging.Logger; | |
| import javax.servlet.http.*; | |
| import com.mindstorm.signaturecapture.dao.SignatureRecordDAO; | |
| import com.mindstorm.signaturecapture.utils.AppException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.mindstorm.signaturecapture.dao; | |
| import java.util.Date; | |
| import java.util.List; | |
| import javax.jdo.PersistenceManager; | |
| import javax.jdo.Query; | |
| import com.google.appengine.api.datastore.Text; | |
| import com.mindstorm.signaturecapture.entity.SignatureRecord; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.mindstorm.signaturecapture.entity; | |
| import java.util.Date; | |
| import java.util.List; | |
| import javax.jdo.annotations.IdGeneratorStrategy; | |
| import javax.jdo.annotations.PersistenceCapable; | |
| import javax.jdo.annotations.Persistent; | |
| import javax.jdo.annotations.PrimaryKey; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var quotes = []; | |
| var authors = []; | |
| function mBaasInit() { | |
| var promise; | |
| promise = Kinvey.init({ | |
| appKey : 'YOUR_APP_KEY', | |
| appSecret : 'YOUR_APP_SECRET' | |
| }); | |
| promise.then(function(activeUser) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Random Quotes</title> | |
| <link rel="stylesheet" href="jquery.mobile-1.3.1.min.css" /> | |
| <script src="jquery-1.7.1.min.js"></script> | |
| <script src="jquery.mobile-1.3.1.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version":"1.0", | |
| "name": "Random Quotes", | |
| "description": "Quotes app powerd by mBaaS", | |
| "launch_path": "/index.html", | |
| "icons": { | |
| "16": "/images/icon_016.png", | |
| "32": "/images/icon_032.png", | |
| "48": "/images/icon_048.png", |