Community Questions & Answers

Google Maps JS API v3

Hello! I need to use the Google Maps JS API v3 within my android mobile app and the Ti.Map is not enough because I need richer functionality. I developed some code working on the Mobile Web Preview but when I move to the Android Device I get the following...

iOS - Ti.UI.currentTab

I'm using Alloy 1.4.0, TiSDK 3.3.0. My app is a tab group. When I tried to use Ti.UI.currentTab.open(window), Titanium gave an error saying Ti.UI.currentTab is undefined. Does anyone have the same issue? Is it a bug?

push notifications.

Hi team. I have been going through the docs on push notifications and to be honest, its a little bulky/confusing to me. Is there any video explanation on how to configure your app to enable push notifications or any other simpler way of doing it.

Issue with starting app in Titanium Studio

Hi, I've got a bit strange issue with Titanium. When I try to start the app on IOS Simulator it shows me alert with the following message: ~~~ An internal error occurred during: "Launching Titanium iOS Simulator - iOS Simulator -...

iOS Packaging Option Missing from Launch Configurations in "Run Configurations" after 3.3.0 Update

I have just upgraded Titanium Studio from 3.2 to 3.3 and my iOS Ad Hoc/Enterprise Distribution launch configuration, along with the run configuration I had under there, has disappeared. I have checked the filters but I'm still not able to bring it back in....

TableView search property not working?

Hi all, I tried to insert a UI.SearchBar in Tableview but when I try to search for something, the result is always "no resuts"! Here is the code: ~~~ var window = Ti.UI.createWindow({ title: 'List job', backgroundColor: 'white' }); var...

iOS tabGroup changes colour

Hi all, I've found an issue I've not come across before, and I'm at a loss as to how to deal with it. I have a simple app that includes tabs and a map. Everything works fine until you go to the map, at which point the tabs change colour. Once the tabs...

App detection from mobile Website

Hello, i built an iOS-App and a website for it. If you visit the Website i want to check if the App is already installed or not. If yes, the user should have the option to open it, if not i want to link in appstore.... My question: What do i have to do...

Bug with ScrollView?

Am I using the ScrollView correctly or have I discovered a bug? It seems that the entire ScrollView will disappear if: a) The ScrollView is added as the second view to a window with horizontal layout and b) Enough views are added to the ScrollView so...

Download File from dynamic url

Hi everyone, hope someone could help me. Here's the issue: I have an URL like this "http://site.com/imgsrc/getimage.php?id=JK2Q", and if I open that url in a browser... I get directly the download of an attached image, because the headers are...

ICloud Backup and Restore

Application there is a database file. I want to back up with iCloud. Later, if the user wants. You can restore any time. ~~~ var db = Ti.Database.install('/db/passmanager.sqlite', 'passmanager.sqlite'); ~~~ Please help me. My english is not very good.

listview items in ios overlap

Hi, I have a problem where I cannot set horizontal layout for listview rows in iOS. And if I don't set the left property of each item in the row they overlap. For Android the same code works well. This is how the row item looks like: ` var row =...

Uploading an image from iOS App

I am trying to upload an image from my camera roll to my server. The php code works fine by itself but I can't get to upload the image from my app. I always get a 404 error. PHP Code ~~~ <?php $allowedExts = array("gif", "jpeg",...

iOS problem

Hi, My project is unable to run in iPad. Titanium studio version : 3.2.1.201402041146 Titanium SDK version : 3.2.0.GA Error : Project failed to build after 19s 565ms I have also tried with titanium SDK version 3.2.1.GA but throw same error. Please...

Titanium SDK 3.3.0 Http Error?

Hey, i am using Kinvey as a backend and trying to make a "normal" http call to them: ~~~ var xhr = Ti.Network.createHTTPClient({ onload: function(e) { console.log(this.responseText); alert('success'); }, ...

Ti module code in Apple Swift?

Hi, I'm interested in using Apple's Swift to create Ti modules for when it's released later in the year. So according to the Appcelerator blog, Swift compiles down to the same binaries as modules created in Obj C and is thus a valid alternative. Has anyone...

ShinobiCharts support for Appcelerator

Hi all, I'm a member of the ShinobiCharts development team, and we've just released a proof of concept iOS module. We're looking to gauge the level of demand there is for this kind of product, and whether the module which we've produced fits in with the...

ACS Push via internet, php script

Hello there, I use ACS to push, push works fine on my application. For hours I tried a php which allows push sent from our ftp server script without going through the platform of titanium. I found a lot of info on this forum, github but none work can...

Facebook Login/Logout events are not firing

I see that this question has been asked multiple times here and in JIRA but it was never been answered. The issue is that facebook "login" and "logout" events are not firing. Here is the code: ~~~ var fb = require('facebook'); fb.appid...

Admob Ads not showing iOS

I'm using the latest Admob iOS module provided and today a few hours ago I started noticing that Ads are not being served in my app. I just get a blank Ad space where the Admob ad should be. Is this happening to anyone else?

Badge icon in tab is not changing

Hi everyone!, hope someone could help me, I've the following problem with Alloy: I'm trying to refresh my badge counter for a tab_2 when an element is clicked in tab_1. app/controllers/tab_1.js ~~~ $.myElement.addEventListener('click', function() { ...

Showing 1-50 of 5,577 1 2 3 4 5 6112