Community Questions & Answers

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

Open new window after Success LOGIN

I would like to open new window after success login what shall i use to redirect the page to new window ~~~ function loginUser () { var Cloud = require('ti.cloud'); Cloud.Users.login({ login:$.txtUserName.value, password:$.txtPwd.value ...

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

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

No Android SDK

After installed Titanium Studio, android SDK and everything as the manual ask us to do, Studio still give me this message [Android SDK Home] No Android SDKs were found under the specified SDK location. ------ I have found many issues on this forum...

Nested ScrollView - Scroll Behaviour

Hi, i have a problem with a nested scrollView. What is happening: I can only scroll horizontal or vertical. What i want: I will scroll both scroll views at the time with one touchmove gesture. Can someone help? Here my code: ~~~ var win =...

Generated APK is not correct

Application type: mobile Titanium SDK: 3.5.0.GA Platform & version: Android 4.1.2 Device: Android emulator Host Operating System: Windows 7 Titanium Studio: : 3.4.1.201410281727 Hello, I'm new to Titanium and I tried the Hello titanum...

check if there is an image javascript

Good Morning in my application I have created a web with saw I use createWebView I check in javascript if the picture is, if the image is present it shows the block, otherwise it does not display an image. here is my javascript code when I put the...

Error: Missing required option: --device-id <name>

After updating my titanium to 3.5.0.GA, i begined with a basic app on Android. But during building the process is terminated by an error ~~~ [ERROR] Application Installer abnormal process termination. Process exit value was 1 [ERROR] : Missing required...

i18n not working on Alloy application

Hi, I want to add i18n on my application. The guide in the documentation has no reference to how to do it on alloy, but i've seen some questions about it and people say it works the same way. Unfortunately, my app doesn't seen to be working as expected...

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

notification listener .

I have issue in local notification listener when app is open , it revecied twice at same second , if there are method to ignore the second . Ti.App.iOS.addEventListener('notification', function(e) { Ti.API.info(e); });

Showing 1-50 of 66,824 1 2 3 4 5 61337