Community Questions & Answers

Possible BUG: setting height/width makes a mess up

- Windows 7 x64 - Ti SDK 3.5.0 and 3.4.1 - Studio: 3.4.1.20..... - Alloy - Target: Genymotion 2.3.1 and TiShadow on Galaxy S3 - default unit: px or dp Hi, I think it's a bug: if i create a very simple window and set height and width the layout messed up....

ACS Rest login user fail, code: 400

I'm trying to test the login of a user through the Rest API with the following curl command from Terminal. I keep getting the same error. All my info is correct. terminal: curl -b cookies.txt -c cookies.txt -F "login=yo@yo.com" -F...

Is this an iOS 8 simulator bug

I'm trying to implement a mediation solution between iAd/AdMob. My code works on all iOS 7 simulators and devices. My code works on all iOS 8 devices. My code does not work on any iOS 8 simulators. My code in viewDidLoad is too long but essentially i...

upload image with data to server

i have some data i need to upload it to the server with an image using ~ multipart/form-data ~ but i getting request time out this is my data ~~~ var data={ property_name:p_n_txt.value, friendly_name:f_txt.value, ...

ACS security?

How secure is the acs-api-key-production? If someone got hold of it, to emulate the app, i suppose they could wreck havoc in the ACS features of our app... Is it possible to decompile a java version of the app (apk) to get this key for example?...

Trouble shoing a view at touch point

I am going to show a view on the touch point. But the view appears away from touch position. One thing suspicious is that this is working properly on my android tablet but not on android phone. I think there must be a translation between touch position...

Starting activity from notification

I'd like to start (in Android) an Activity from an notification. I have created a new Alloy controller called 'outside'. In my main file I have the following code which will display a notification. When pressed on this notification, it will start up the...

Programatically filling PDF forms

I've been creating some of my previously desktop based solutions as mobile solutions using Titanium Studio. One of my apps captures information using a form system which is then stored to a server. That data is filled into an existing PDF form that can...

Camera access authorization (iOS)

In order to check if an app has access to the events in the EventKit we can use the `Titanium.Calendar.eventsAuthorization` property. Is there something similar to check if the app has access to the camera? I am asking because Titanium.Media.showCamera()...

The real meaing of execution context

Hi, I think that in the official Titanium documentation there is a not exact use of the term "execution context" and this causes (surely in my case) confusion. From Titanium point of view seems that execution context means "process within...

Showing 1-50 of 7,099 1 2 3 4 5 6142