Community Questions & Answers
Implemeting a like filter for Alloy Collection
I would like to do a 'like' filter on an in memory collection that is databound to a tableview. I am aware that I could use a search view and set the search property on the tableview, however the search view when bound to a tableview in this way has a...
Pixel Information from Image Blob
Just a quick question... Anyone know if it's possible to get pixel information from an image's blob data on an iPhone? Trying to figure out a way to get an array of RGB values but I'm thinking I may have to use something like a remote API and...
Android/iPhone Get pixel level data
I'm interested in getting the rgb values of a given pixel of a photo when it's tapped by the user. Is this even possible?
Save ImageView to FileSystem
Greetings, (iPhone app, latest SDK, using Alloy) I'm at my wits end trying to understand how to save an image view to the filesystem so it can be accessed in a separate view as an e-mail attachment. I understand how to get the file from the filesystem...
scrollToItem slow on bigger ListViewSections
Hi, i'm using the scrollToItem function on the new ListView component. This works, but when the sections grow bigger, the lag between calling the scrollToItem function and the start of the lists scrolling increases. With sections containing 20 items it...
Get error 'HTTP/1.1 406 Not Acceptable' when calling objects.create using ACS.
I am moving an app over from a JSON flat file to use ACS and I have login, register and other features working. My application stores goals so I am assuming I have to use a custom object. I call cloud.objects.create and pass in a classname along with the...
Certificates, Encryption and Security - Information Require
Hi, I am new to mobile. I want the information on "Understanding of certificates, encryption, and other security based for Mobiles". I want it in terms for All smartphones. Please let me know. Thanks VJ
Can not run the ios simulator in titanium
i installed xcode and sdk. Ios simulator run in xcode but not run in titanium. i got this error : Titanium Command-Line Interface, CLI version 3.1.0, Titanium SDK version 3.1.0.GA Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved. Please...
Invalid --ios-version value '5.0'
i have downloaded titanium sdk for MAC.but while running program m getting this error Invalid --ios-version value '5.0' Accepted values: 6.0 I am using- titanium SDK-3.1.0.ga xcode-4.5.2 MAC-OSX 10.7.5 iOS simulator version -5.0, 5.1, 6.0, 4.3.2
Possible bug with iPhone tableview search bar
The iPhone version of my app is crashing. This happens with Ti 3.1.0 but not with 3.0.2. The view consists of a window containing a table view and a search bar. when the window opens a request is sent to the server and data is retrieved to populate the...
WebView and Js give me headache Please Help
I have an web view on Windows witch use Jquery 1.7 carousel. All the Js on the html fire Action on html navigrator but on the Iphone or Android device don't fire any event. Titanium Web view ~~~ Ti.App.addEventListener('ClickWeb', function(e) { ...
Certain videos won't play in VideoPlayer
I'm writing an app that plays Facebook videos inside a VideoPlayer control. There are times when certain videos just won't play while others will, and I can consistently reproduce this behavior both in the iOS simulator and on an iPhone running iOS6. ...
Is it possible to send an email in the background?
I want to take something that a user typed in a textarea and when they hit "Go" it will email it to a predefined email address. Does anyone know how to go about doing this?
Form send to email address
I am trying to send a form to an email address. titanium works fine ~~~ [INFO] Response_JASON: {"name":"bob","email":"Carahdose@gmail.com","subject":"this is the...
Detect first App-Start after Update?
Hey, ist there any native way around to detect if there was an Update for an app? (From Appstore) My case is, i am using a database (local, sqllite) and after i've commited an update to the apple appstore the app is throwing an error. I think it's...
button in left side of iPhone
how to get a button to go into the left hand side of the iPhone. Looking for the information for newest OS version. This will be just for iPhone/ iPod. Don't know my SDK version so sorry. I am using the iPhone simulator for testing my app. Also I am using...
ImageView to E-mail Attachment Problem
Greetings, I'm a Titanium beginner currently working on an iPhone application using the latest SDK and the Alloy framework. Part of the app involves the user selecting a photo from their phone and sending it via e-mail as an attachment. However, I am...
PUSHing to a REST API
So I am able to use GET commands to get information from a RESTful API no problem. However, I can't find any clear examples or documentation on how to PUSH new data. Supposedly I can set up a JSON object and change the command in the httpclient from...
Twitter Login issue for Mobile APP
Hi All, I am using Bird House Library file to Authorize my APP for Twitter Login.. And i am facing sometimes success..But sometimes failed to login..also Failed to Authorize the APP.. Help me to figure out this.. I have attached my BH code..And all...
Twitter Bird house Authentication needed Error
Hi All.. I am using Titanium SDK 2.1.2 for develop my ios,android app And i need Twitter login..For this i am using Jpurcell Bird house library file.. And i have receive the Authentication needed Error When i click Authorize button after submit my...
How to use a TabGroup within a NavigationGroup?
Hi, How do you use TabGroups within NavigationGroups? The problem is that the title of the navBar has the no title and there are 2 like this by default: (sample code on the bottom) ![alt...
Grid view is Possible or not?
Is there is any method is available to create grid view in titanium?
Creating a Grid Layout in Appcelerator
I want to create a grid layout, similar to how the Facebook app opening screen is on the iPhone. Is this possible? A 3x3 grid would be perfect. Any ideas appreciated. James
Strange behavoir of allowEditing property of showCamera with overlay in Alloy.
Hello experts, i was just testing showCamera method by setting overlay with two buttons only but what i got is i was not able to click of any button in camera overlay. strange thing is if set ```allowEditing:false``` then it works as expected but if i set...
Social.js not working with new Twitter REST API
I am using [social.js]: https://gist.github.com/dawsontoth/00e95c5d95d2b7d5d027 to share messages in Twitter. It worked great in both iOS and Android. However, Twitter deprecated their REST API v1 and now I get an error message that I should migrate to API...
Scrollview Paging Control Move a little bit up
Hi guys, I'm implementing a scrollable view with paging control at the bottom, currently I see the paging control buttons in half. Is there a way we can move the paging controls up a little bit? I found this thread...
Best way to share code between 2 projects?
I have a project and it's free/iAd sibling. The apps are 90% the same. Is there a way to "include" code from outside the project? I was thinking of having my folders like: - App - App Free - App Shared Ideally, "App" and...
Sample code/layout where user can enter 2 items ?
Looking for a sample code/layout where user can enter 2 items (like username & password) and an Enter button. This is for Mobile, Titanum 3.0.2, iOS, iPhone.
which is good among Airpush ,Admob or StartApp with mobile application.
i am working on mobile application on which i want to display ads plz tell me which is the best solution for me.
Delete / Disable WebView Cookies?
Anyone know of anyway to clear the cookies for a WebView, or disable them altogether? Trying to create a stateless login pop-up using a WebView and the fact that it's storing login credential cookies is breaking everything. I believe there's a database...
How to get touch event for navigation group
How to get touch event for the navigation group ~~~ <Alloy> <Window id="main" platform="ios"> <NavigationGroup id="navGroup" platform="ios"> <Window id="index"...
IOS invoking problem
hello guys, I finished my ios app and i wan t to test it on an Iphone.I created certificate all stufs and clicked on Run ios device it seemed everything was going to be fine last information line was "Invoking xcodebuild" but after this i got...
SQLite SELECT with LIKE condition help
Hi, Im trying to filter my sqlite database, but I get an error when I try to filter using LIKE conditions. **SQL sentence:** var resultSet = conn.execute("SELECT DISTINCT(nombre) FROM elementos WHERE nombre LIKE '%?%' ORDER BY nombre ASC",...
Facebook Module 3.1.1 (Not working on iPhone device)
~~~ facebookBtn.addEventListener('click', function(e) { alert("facebook clicked"); var fb = require('facebook'); fb.appid = FACEBOOK_APP_ID; fb.permissions = FACEBOOK_APP_PERMISSIONS; fb.forceDialogAuth =...
Country issue
I have designed an event app in iPhone and it works here in india, but i want that app to run in singapore through iTunes and adhoc enterprise process. Its not getting installed over there. What must be the error. Phone use- Iphone 5 Titanium...
iOS 7 question
Question for anyone who has installed it on their device and the SDK on their Mac. Are you able to submit to the App Store using older non-beta versions, even if you've installed the beta SDK on your Mac? I have it on my phone, but havent installed it on...
Change label text on tableViewRow
I'm trying to create a settings page. It has 5 rows, 2 of the rows have switches on them. When a switch is turned on, the other turns off and a datepicker is brought up to select a date. After selecting a date and hitting done, the date is formatted and...
Multiple Base64 strings send through xhr
Hi there! I'm building a cross-platform application (iOS and Android mainly) which need to send at least one photo, with a max of 3 photos. They have to be stored in a remote DB. Now the problem is: which is the best method to do that? I don't want to...
New 3.0 Studio Installation
I just signed up with Appcelerator, downloaded the Titanium Studio and installed it. It immediately did an update to 3.1.0 build and at this point I'm stuck. Under "Configure Native SDKs" I'm only offered Android and I only develop for iOS at...
Android/iPhone map app using map image with drag, pinch and touch hotspots to open new page.
Background ========= I have not done any Titanium development yet so I am just asking to see if this is the best solution for me. I could develop this app in game salad but that costs $299. Using Titanium would have a larger learning curve especially if...
Installation of application on iOS device
Hi, I am installing an application on iPhone but not able to do so. When i click on "Install to iOS Device" it launches iTunes and sync the application to it but it doesn't install it on the device. Do I have to install the application by...
Send MMS in html format.
Hello everyone, i have one HTML file with images and each image have a link to website i want to send this file using MMS in titanium. After MMS is delivered to receiver if he click on a image he navigated to a website url is this posible i dont have...
Cannot override CFBundleDisplayName
I tried editing directly in build/iphone/Info.plist and adding this in tiapp.xml ~~~ <ios> <plist> <dict> <key>CFBundleName</key> <string>Bob</string> </dict> ...
new version of app iPhone
Hi, i have a version 1.0 in iphone. this app saved data in phone and read the data from the phone. i published recently version 1.1 to apple store. when i installed the new version, i dont have acces anymore to these data. any suggestions ? thanks
How to get the text from a label on a row?
Hello i'm looking for a help. I'm getting some data from an XML and i'm creating a table with rows. when a user clicks on a row i want to send the data to another class. I have used static text and i saw that is working but i tries to send the data that...
Reset CURL_UP animation
After animating views using CURL_UP, how do I reset this views if I don`t want to use CURL_DOWN to show them again? Tried Ti.UI.iPhone.AnimationStyle.NONE, but did not...
How to loop through all email fields - including custom and unknown named fields
I would like to simply grab all emails from the user's contacts without having to know the email label or hard code it. I can easily do it like in the example below, but it requires me creating this gimpy hard coded array called multiEmails. In that...
Is it possible to add a TextField button in Alloy XML markup?
I am trying to add a button inside a TextField in Alloy below is the code snippet ~~~ <TextField class="formTextField" rightButtonMode="Ti.UI.INPUT_BUTTONMODE_ALWAYS"> <RightButton> <Button...
Capturing events inside views that are inside a scrollableview
Hi all, Struggling with the following I've got a scrollableview that I load up with pages of images. Overlaid on those images is a view with a set of buttons (options). I need to target those button events but whatever I try, only the final page gets...
facebook not working
Hi all i had done some coding to retrieve images from Facebook and try to display those image in table view i had got it but when i run the code it is displaying and immediately it is crashed and giving following error This application has crashed with an...