Search found 15 matches

Go to advanced search

by S Butler
Fri Feb 05, 2016 2:07 am
Forum: Issues
Topic: How to sort/order a json response??
Replies: 8
Views: 1161
 
Jump to post

How to sort/order a json response??

Hi,

I added the code that Maryna provided above and works great. How can I adjust Maryna's code to accomplish random sorting? Thanks!

by S Butler
Mon Feb 01, 2016 1:28 pm
Forum: Issues
Topic: Geolocation app distance
Replies: 3
Views: 453
 
Jump to post

Geolocation app distance

HI, The code works fine, so there are no errors. My question was how can I return the getDistance value that is calculated in the above code as a response parameter. The code goes and pulls all of the records from my Locations table and calculates the distance from the device's current location. If ...
by S Butler
Mon Feb 01, 2016 4:16 am
Forum: Issues
Topic: Geolocation app distance
Replies: 3
Views: 453
 
Jump to post

Geolocation app distance

Hi, I have successfully followed the tutorial for the geocoding app located here: https://devcenter.appery.io/tutorials... Everything works great, however, I need to also send the distance that is calculated for each location back as a response parameter. And then sort the locations by this distance...
by S Butler
Sat Jan 30, 2016 11:52 pm
Forum: Issues
Topic: Local Storage Variable Array
Replies: 3
Views: 612
 
Jump to post

Local Storage Variable Array

Hi, I have a request that returns a "results" array with applicable records from my database table. On success, I would like to store, in an array local storage variable "locations", only the _id values from each record in the response array. Unfortunately, when I use localStorag...
by S Butler
Fri Aug 28, 2015 8:45 pm
Forum: Issues
Topic: Issue with incorrect rotation of image from camera service
Replies: 42
Views: 6169
 
Jump to post

Issue with incorrect rotation of image from camera service

Thanks! That seems to be working pretty well. Just out of curiosity, which version of the cordova camera plugin is appery using right now?

by S Butler
Sun Aug 23, 2015 4:48 pm
Forum: Issues
Topic: Issue with incorrect rotation of image from camera service
Replies: 42
Views: 6169
 
Jump to post

Issue with incorrect rotation of image from camera service

Hi, thanks for the reply and it looks like the code above does in fact rotate the image, however, this is causing the image to overlap other components on the page and the height/width of the image does not change to its true height/width after being rotated. Can you please let me know next steps? S...
by S Butler
Sat Aug 22, 2015 1:12 am
Forum: Issues
Topic: Issue with incorrect rotation of image from camera service
Replies: 42
Views: 6169
 
Jump to post

Issue with incorrect rotation of image from camera service

Hi,

Thanks for the link, but I am not having any success.. Can you please provide some example of code that I can use to rotate an image component 90 degrees... I tried this and it didn't work:

Apperyio('mobileimage_29').css(WebkitTransform = "rotate(90deg)");

by S Butler
Tue Aug 18, 2015 11:52 pm
Forum: Issues
Topic: Issue with incorrect rotation of image from camera service
Replies: 42
Views: 6169
 
Jump to post

Issue with incorrect rotation of image from camera service

Hi,

Thanks for the info, but what is the code to rotate the image component (mobileimage_57) that I can place in the if statement when the comparison is true?

by S Butler
Mon Aug 17, 2015 1:08 am
Forum: Issues
Topic: Issue with incorrect rotation of image from camera service
Replies: 42
Views: 6169
 
Jump to post

Issue with incorrect rotation of image from camera service

Hi - thanks for the reply... I am new to javascript and was curious if you could consolidate the code from the link you provided into a chunk that I could use? I'm assuming this would involve some sort of If statement? I have an image component called mobileimage_57 that would need to have it's size...
by S Butler
Sat Aug 08, 2015 6:16 pm
Forum: Issues
Topic: Issue with incorrect rotation of image from camera service
Replies: 42
Views: 6169
 
Jump to post

Issue with incorrect rotation of image from camera service

Hi, I am using a file upload service in my app. When I upload a photo taken by my mobile device in Portrait orientation and present this image on the screen, the image is incorrectly being rotated 90 degrees to the left. I also tried to upload a photo taken by my mobile device in landscape orientati...

Go to advanced search