9 Mar 2012 3:21 AM #1
Unanswered: Camera + GPS-Position access with pure ST2 without phonegap etc.
Is it posible to implement something like a Barcode-Scanner with pure ST2? Without phonegap.
maybe someone could code an smal example:
- how to use Ext.device.Camera to show a picture on a Panel.
- how to get access to real GPS-coordinates (not wifi/ip)
in a seminar we try to compare pure Web-Applications vs. Native vs. Hybrid.
My Task is to implement a pure webapplication.
the usage of all the UI elements of ST, like TapPanels + Lists + carousel etc. is not a problem and works fine.
it behaves differently with the use of devices.
9 Mar 2012 4:45 AM #2
This class implements the Geolocation API Specification:
The Geolocation API defines a high-level interface to location information associated only with the device hosting the implementation, such as latitude and longitude. The API itself is agnostic of the underlying location information sources. Common sources of location information include Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs, as well as user input. No guarantee is given that the API returns the device's actual location.
9 Mar 2012 5:25 AM #3