this may be a dumb question but how do I make a mapped field that is returned as a result into a clickable link?
this may be a dumb question but how do I make a mapped field that is returned as a result into a clickable link?
Not a dumb question at all... not possible in current version, but, we already added this feature and it will be available tomorrow!
I would also request a better understanding on how to apply the phone gap API using the JavaScript assets. I've tried but can't seem to get the capture or geolocation functions to work
Great!
I think you you are little bit ahead of us today . I was going to do a blog post on how to use PhoneGap in Tiggr. To answer your question, you can do this.
Create a new JavaScript asset and enter this code (from PhoneGap API):
pre
code
var onSuccess = function(position) {
alert('Latitude: ' + position.coords.latitude + '\n' +
'Longitude: ' + position.coords.longitude + '\n' +
'Altitude: ' + position.coords.altitude + '\n' +
'Accuracy: ' + position.coords.accuracy + '\n' +
'Altitude Accuracy: ' + position.coords.altitudeAccuracy + '\n' +
'Heading: ' + position.coords.heading + '\n' +
'Speed: ' + position.coords.speed + '\n' +
'Timestamp: ' + new Date(position.timestamp) + '\n');
};
function onError(error) {
alert('code: ' + error.code + '\n' +
'message: ' + error.message + '\n');
}
/code
/pre
Then, take a button and add Click event. To Click event, add Run Custom JavaScript action. Add this code:
pre
code
navigator.geolocation.getCurrentPosition(onSuccess, onError);
/code
/pre
PhoneGap API is here: http://docs.phonegap.com/
Tiggr docs on on events/actions: http://help.gotiggr.com/documentation... and custom JavaScript files: http://help.gotiggr.com/documentation...
ok...so how do i make the link from a mapped field? Is it live now?
Yes, it's now live. You can map link URL and label.
Max
Can you give me an example on the phone gap script for capturing audio, video and photo?
I have tried to mimic what you showed above and using the examples on phone gap site but can't make it work
Thanks
Did you try to run JavaScript from here: http://docs.phonegap.com/phonegap_cam... ?