extending functionality

Avatar

Avatar

eestes1

Avatar

eestes1

eestes1

15-09-2015

Hi, Does anyone know if DPS provides an API in the app wrapper to access device level hooks? So for example I want to build an app with training on a new car. The articles would be topics such as new features, new sub-systems etc. Can I build in some code language an extension that allows for quiz questions to be asked, scored, averaged and then possibly: saved locally, posted to an external server, or generate an email to be sent to an instructor.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Neil_Enns_-_Ado

Employee

Avatar

Neil_Enns_-_Ado

Employee

Neil_Enns_-_Ado
Employee

15-09-2015

You can build quizzes using HTML and JavaScript and use HTML local storage to store information. Similarly, an HTML article (or web overlay) can call out to any web APIs you may have hosted on other services.

DPS 2015 does not have a way to call down into device-specific things, however, like the camera.

Neil

Answers (3)

Answers (3)

Avatar

Avatar

eestes1

Avatar

eestes1

eestes1

15-09-2015

Ah, okay. Thanks.

Avatar

Avatar

Neil_Enns_-_Ado

Employee

Avatar

Neil_Enns_-_Ado

Employee

Neil_Enns_-_Ado
Employee

15-09-2015

DPS isn't written using PhoneGap. It's a fully native app.

Neil

Avatar

Avatar

eestes1

Avatar

eestes1

eestes1

15-09-2015

Is the new DPS using Phonegap as the wrapper? If so is DPS just not including the plugins like cordova-plugin-camera and cordova-plugin-file?