Community Questions & Answers

iOS 7 -> iOS 8 HTTPClient issues

I'm making a time tracking app. Developing my app on ios 7, everything worked perfectly. After I upgraded to ios 8, not so much. I'm using a custom version of the restsql adapter here - https://github.com/viezel/napp.alloy.adapter.restsql I can retrieve...

App size is too big - really big

hi! I got a 400 line application... and when is compiled it's 58,4 mb! the app do really few things... I've already try to trash Resources folder and to resize all my images... but I get just 1 mb less... any ideas of what can be? I have another...

Capture a click on a bar of a RGraph BarChart

I'm using [RGraph][url] to display a bar graph on iPhone and it works fine. I can't figure out how to capture a **click event** when clicking a bar of a bar graph (in order to open a "zoom-in" like new window with the referenced clicked...

Problem with swipe and click events on a tableView

I have a **click** event registered on a tableView - everything works a-ok. I then added a **swipe** event to the same tableView to allow the user to perform a different action. The swipe rarely if ever gets triggered. Any ideas on what might be causing...

force reinstall of sqlite database

i have this code thats supposed to force a reinstall of an sqlite db on updates but its not working - any ideas ? (ios) ~~~ var f = Ti.Filesystem.getFile( Ti.Filesystem.applicationSupportDirectory+'/database', 'phonenew.sqlite'); //If it's there, delete...

Get orientation on load

Hello, I have some functions to run once my orientation changes, so I've made a: ~~~ Ti.Gesture.addEventListener('orientationchange', function(e){ // blablabla }); ~~~ However, I also want to run that through on application startup, so I've made the...

Titanium com.facebook.sdk error 5

Hi, I have some code trying to post a message and a photo to Facebook after user has been authorized in my app. I was able to post a status with no issue but doing this with photos gives me the com.facebook.sdk error 5 alert. here's some code: ~~~ var fb...

Map Annotations With A Twist

So, I downloaded a realty app today from the App Store, and the annotations were something new to me... they had text. I pondered this for a second, because I know in Titanium, the title property on an annotation is for the popup when you touch an...

Tinder swipe cards

Hello, I'm looking for an example of Tinder Swipe cards. So, I'm looking for some code that allows to swipe a view left or right depending on "Accept" or "Cancel". Any suggestions? This is for iOS Thanks!

Using same image view in parent and child window

I have a scrollableview with images in a parent window, and by clicking on the scrollableview i open a new window showing the scrollableview again in fullscreen. This works all well, but when i close the child window, the image has disappeared from the...

Tap to return view

Hi guys, I'd like to replicate functionality that had Facebook - when user was redirected to Messenger, blue view near Status bar appeared with annotation - Tap to return to Facebook. I want to know, if is something like this possible via Titanium? Is it...

Showing 1-50 of 8,823 1 2 3 4 5 6177