Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Pedro Carrilho
10
Views
1
Comments
How to use access native device APIs?
Discussion
Mobile
How-to
When accessing specific device API, like file, photo, device ID, those are always very dependent on the device. We have used
https://www.phonegap.com/
as one of the Platform that allows different devices to access native APIs. This involves installing PhoneGap in the device that exposes the following set of APIs, like File, Geolocation, Storage and others:
https://docs.phonegap.com/
.
The APIs availability will vary according to the device:
https://www.phonegap.com/about/features
After installing PhoneGap it is easy to create the wrapper with HTML 5 and Javascript to access the data, as detailed in each PhoneGap API documentation. In OutSystems they can se isolated in Expressions and WebBlocks.
Have you other experience when accessing device specific APIs on a mobile web context?
@Tiago Simões thanks for the input!
Regards,
Pedro Carrilho
Robert Chanphakeo
The answer to your question is yes, we used Phonegap before, also used titanium appcelerator.
Did not like both of them and ended up writing native objective-c code :)
Well only because our app isnt just a simple information app, otherwise we might of ended up using phonegap, but a better choice is to write a very thin client app for iphone/ipod/ipad or android, then load all the content as a html page (which you can create using the AP).
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...