Community Questions & Answers

How to open a TabGroup view

Hi, I need to open a new view when a statement is true, the view is TabGroup based, how does this works? I want to open home.xml : ~~~ <Alloy> <TabGroup> <Require src="profile"/> <Require...

Captured image not uploaded on server

Hi Team, I am developing an app in which need to upload image to server. I am able to capture image and show that in imageview but when I am trying to upload that image its not being uploaded. While if I pick image from gallery and upload with same code,...

reading from blob object

function encoder(){ var url="http://www.pdf995.com/samples/pdf.pdf"; var xhr=Ti.Network.createHTTPClient({ onload:function(){ var f=Ti.Utils.base64encode(this.responseData); Ti.API.info(JSON.stringify(f)); var...

View ID when Testing

I'm attempting to use calabash to automate testing of our apps. It appears as though I can trigger actions on views by referencing their ID (I think), but I can't seem to figure out how to set the ID of the view through Titanium. Using the calabash query...

ANDROID CUSTOM FONTS ON MOTOROLAS

In an Alloy project I have a label that shows a Barcode, using a custom font (Code EAN13 - TrueType - ean13.ttf) I've tried it in many devices and emulators without any problem, but on Nexus 6 an some Motorolas the font isn't loaded : default device font...

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....

Ant command

Hi, Please, I am trying to build a script for my project using the "ant" in titanium studio 3.5.0. But I am not getting an option in the "Run Configuration" to run as ant project.So I tried digging into the it and realised that the ant...

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 Titanium

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, ...

Showing 1-50 of 13,501 1 2 3 4 5 6271