trigger.io

lungojs in trigger.io

让人想犯罪 __ 提交于 2019-12-08 13:04:25
问题 Hi I am looking for using Trigger.io to create mobile app but use the Lungojs for the GUI part. I am unable to find reference of using these two without any issues . would like to hear from some with experience . 回答1: I'm interested in Lungo too, so thought the best way would be to try it. I took the Lungo JS example app from https://github.com/TapQuo/Lungo.js/tree/master/example Put it into the /src folder of a default Trigger.io project and built it for Android without any problems. Tested

Uploading image to Parse using Javascript(CoffeeScript) and REST API

巧了我就是萌 提交于 2019-12-08 08:32:20
问题 I'm trying to upload images to parse and later attach them to models, however whenever I upload one it returns as a successful upload but the url contains a broken image link. for instance: http://files.parse.com/aac0413c-eada-4602-9451-2ee5da7d1241/22eaa50b-1e61-4744-abf9-a57ba9f4123f-test.jpg Here's the upload code: getImg: -> CameraHelper.fileUpload (file) => @file = file forge.file.URL file, (url) => @fileURL = url @$("#uploadImg").addClass("fadeIn").css("background-image", "url(#{url})")

Uploading image to Parse using Javascript(CoffeeScript) and REST API

扶醉桌前 提交于 2019-12-06 16:49:05
I'm trying to upload images to parse and later attach them to models, however whenever I upload one it returns as a successful upload but the url contains a broken image link. for instance: http://files.parse.com/aac0413c-eada-4602-9451-2ee5da7d1241/22eaa50b-1e61-4744-abf9-a57ba9f4123f-test.jpg Here's the upload code: getImg: -> CameraHelper.fileUpload (file) => @file = file forge.file.URL file, (url) => @fileURL = url @$("#uploadImg").addClass("fadeIn").css("background-image", "url(#{url})") @$("#removeImg").css("display", "inline") , (content) -> error "Error finding Image" , -> debug

Running an Backbone app as an independent JS application - Routes not working

社会主义新天地 提交于 2019-12-06 10:38:56
问题 currently, I run backbone as the front-end of my rails 3.2 application. I need to migrate it into an independent JS application, as part of my putting it as part of Trigger.io. It now exists as its own index.html file, referencing the assets folder. When I open the file, it loads the Backbone modules, but the page remains empty. And when I run fetch() commands, it So, I got a couple of qns: 1) How do I trigger the routes such that it goes to a designated page by default? I know it gets

Android keyboard overlapping input fields, view doesn't scroll automatically

﹥>﹥吖頭↗ 提交于 2019-12-06 01:39:38
问题 I have the same problem described in this question, but on Trigger.io. Unfortunately, the solution requires to edit AndroidManifest.xml, which appears to be impossible in Trigger.io In some of my app views, the Android keyboard is overlapping some input fields, making it difficult to input values. Here is a couple of screenshots showing the problem. The "Senha" field is overlapped by the android keyboard, and the view doesn't scroll to it, even after the user inputs a value. I tried the

Using the HTML5 date input element with android

倖福魔咒の 提交于 2019-12-05 19:14:41
The element <input type="date" /> cannot be activated. When I click on the fields on the emulator it doesn't show me the entrance date but the android keyboard. Take a look at this: http://www.quirksmode.org/html5/inputs_mobile.html It tells you which html5 input types and attributes work on each browser. It looks like the datepicker isn't working for most Androids, and thus it would show as a simple text input. You could use Trigger.io's UI module to use the native Android date / time picker with a regular HTML5 input. Doing that does require using the overall framework though (so won't work

Uploading FormData from Trigger.io Forge to Amazon S3

青春壹個敷衍的年華 提交于 2019-12-05 02:35:49
问题 I am trying to upload an image file from my Trigger.io mobile app directly to Amazon S3 (see here: http://aws.amazon.com/articles/1434). I'm able to do this on the web without any problems using jQuery and the FormData API as follows: var fd = new FormData(); key = 'test.jpg' fd.append('key', key); fd.append('acl', 'public-read'); fd.append('Content-Type', file.type); fd.append('AWSAccessKeyId', key_id); fd.append('policy', policy_base64); fd.append('signature', signature); fd.append('file',

App deployment not working correctly for iOS6 on windows

只愿长相守 提交于 2019-12-04 16:43:30
When I deploy app for first time everything works correctly , but after changing code and trying to deploy same app again with "run again" button, app starts without loading forge object so i can not use forge API . After little bit of testing I find out that forge will load only if I delete app from phone before deployment "run again" button. so basicly. I am using latest version v1.4.15 . So if you can fix it will save some time during development . One more , I can install and run app on iOS from windows , but I can not debug app from windows i am getting Launching - /private/var/mobile

Android keyboard overlapping input fields, view doesn't scroll automatically

非 Y 不嫁゛ 提交于 2019-12-04 06:11:23
I have the same problem described in this question , but on Trigger.io . Unfortunately, the solution requires to edit AndroidManifest.xml, which appears to be impossible in Trigger.io In some of my app views, the Android keyboard is overlapping some input fields, making it difficult to input values. Here is a couple of screenshots showing the problem. The "Senha" field is overlapped by the android keyboard, and the view doesn't scroll to it, even after the user inputs a value. I tried the trigger.io email support, but they asked me to search here for an answer... If you want to make changes to

Uploading FormData from Trigger.io Forge to Amazon S3

百般思念 提交于 2019-12-03 20:07:59
I am trying to upload an image file from my Trigger.io mobile app directly to Amazon S3 (see here: http://aws.amazon.com/articles/1434 ). I'm able to do this on the web without any problems using jQuery and the FormData API as follows: var fd = new FormData(); key = 'test.jpg' fd.append('key', key); fd.append('acl', 'public-read'); fd.append('Content-Type', file.type); fd.append('AWSAccessKeyId', key_id); fd.append('policy', policy_base64); fd.append('signature', signature); fd.append('file', file); $.ajax({ type: 'POST', url: 'https://' + bucket + '.s3.amazonaws.com/', processData: false, //