Community Questions & Answers
Is it possible to detect a click on the top carrier/time/battery icon bar?
I know titanium does handle some things on clicks to that bar, for example it will scroll a tableview to the top. Im wondering if we can programmaticly detect clicks as well?
Alloy View (window) opened by intent (Home Icon Click)
Hi everybody, I'm building my Android App and i'm a little bit confuded: when user click on Home Icon (at actionbar), i want to create an Intent with FLAG_ACTIVITY_CLEAR_TOP and then start this (it will clear the activity list and opens my home) but when...
Dynamically displaying labels and values in rows of an undetermined number of item descriptive fields
Hi, I am working on an app that provides a lot of descriptive fields for an item. However, over time more descriptive fields will be added or changed so i do not want to hardcode anything to display because I would have to be changing things all the...
Resizing an Image on a Toolbar with Alloy
Hi there- Is it possible to resize an image/ImageView placed on a Toolbar control? I am attempting to place an image as a logo centered on a Toolbar. For some reason, the image stretches to fill the toolbar, no matter how I set the width and height of...
Show childtable master-detail screen
Hi, I am trying for a while now, but how do i get a child table in the master-view after clicking an option in the parent-table in the master-view?? With Titanium 1.8 i used test:'bla.js' but in the latest version 3.0.2GA the template is complete...
Possible using Core-Data or 3rd party iOS frameworks ?
Targeting: iOS and Android app Hi everybody, I'm new and can't find my answers in the forum... :( Before I'm going all-in using Titanium I need to be sure of following: 1: Is it possible to use Core-Data on iOS? If not, are there any useful - active -...
Anybody success embed Ustream in Android webview ?
It seems to have no solution yet. I was trying to embed Ustream live in webview using url and html property, but it didn't both of them. So anybody knows about how can make to work with any function(iphone works but not android) ? ~~~ var webviewLive =...
highlightedColor in selected TableViewRow gets stuck
See [my screencast](https://vimeo.com/63740196) for an example of what I mean. You see the problem about 20 seconds into the video. It seems to mostly happen when scrolling the tableview causes the selected row to go off screen. When you scroll to bring...
search bar and google map annotation
Hi, I create a serachbar with a tableview, i can detect places , i created also a map , i want when i write the name of a place in my search bar, an annotation is placed in the map, here is my code: ~~~ win1 = Titanium.UI.createWindow ({ ...
Build Error :- Android
Hi I am new to Titanium. Facing one Issue continuously since last few days. Whenever I build anything to see the stuff in Emulator getting below error [ERROR][CheckinTask( 169)] Checkin failed: https://android.clients.google.com/checkin (request...
Error after clean a project
Hey guys I am using ubuntu 12.10 OS & titanium 3.0.2 Whenever I clean (x) project it gives me this error. After that when I run some other say (y) project & then compile this this (x) project it runs successfully. I don't understand the reason...
SDK 3.0.0.GA: working with the new Facebook module (iOS only)
If you want to work with the new Facebook module (the one that's planned to be released with SDK 3.1), you need to make a couple of changes to your SDK. __DISCLAIMER__: Use at your own risk. I used this method because I really needed a new feature from...
Module cannot access to its resources
Hi All, I'm creating a module that uses an external SDK for Android. The SDK is in form of a project, so in Eclipse I added it by right-clicking the module's project and adding from project section in Java Build Path. I also copied the SDK's res folder...
iD-Weather approved by Apple!
Hi all! Today Apple approved iD-Weather for iPad! The app is made with Appcelerator's Titanium SDK. Almost all app's of iD-Service are made with Titanium SDK and they are all easy approved by Apple! iD-Weather is a weather station app, which shows you...
iPad videoplayer exits fullscreen when closed
I've developed a simple videoplayer-app to be used at an exhibition. It consists of six icons at the home page of the app, and when you press an icon a video is played. The home screen is ran in fullscreen mode. If i play a movie and it is finished (or...
ScrollableView show multiple pages?
I have a ScrollableView that scrolls View columns horizontally. I would like to show two View columns on the page at once, but only advance by one column at a time. Hopefully that makes sense. Here is an illustration: Screen -------------------- view 1...
Videoplayer multiple instance
Is there a way to have more than a videoplayer working? When I add the second instance, the first one changes to a black screen. Target IOS, Titanium SDK 3.0.2
buttongrid inside of navigationGroup not interactive
I've been trying to figure out what's going on with this code. I am simply trying to get a navigation group to behave with a buttongrid. However, only when the button grid is placed as a direct child of the main window will it become active. I have tried...
ant.properties: where we must place this file for permit APK to load from folders starting with "_" or "."
Hello everybody (I'm on Windows)! I'm new at Titanium Studio (essentially for write some mobiles apps!). I figure how I can load files (images/sounds/others files) from a folder starting with a "_" or a "." Actually I have the path...
New Pricing
Just been looking at the new pricing structure, and I'm struggling to see that the $999/user/month isn't a typo? Is that seriously the new entry-level commercial offering? Does anyone here have a commercial package and can shed some light on what is so...
Time and Date picker is not smooth in IOS .
I am working on titanium from last 5 months and developed successfully more than 5 apps for Android and iOS, but still I am not found How picker is works in iOS smoothly ? I have already found tutorial...
Error While Updating SDK
I have searched and searched for a solution to this but nothing seems definitive. When I go to Help->Check For Titanium Updates" and then install the latest update, I always get this "java.lang.NullPointerException" error. Any ideas...
How to record video to a remote server
I would like to build a cross-platform feature that will record video/audio directly to a remote server. Could someone point me in the right direction?
OnClick update windows data & reload same window
Hey guys, I am trying to get the value of the quantity from textfield, id="productQuantity". I am creating window in which user will change the products quantity and click the 'Update' button. So on click event i want to get all the products...
iOS Garbage Collection Question regarding XCode
At one point in the app I am developing, I invoke a tabView with some tableViews and a lot of rows (about 500). I have watched Appcelerator's "Your apps are leaking" video (very helpful) and I have been mindfull of memory allocation. The problem...
Titanium-How to get the corresponding pixel's color of View when clicked
Hi, I need to get corresponding pixel's color when user clicks within a view which either sets with background Image or Background color. Please let me know if you find any solution
Merge multiple push notifications in tray (android)
I'm developing an app in Android using ACS push notification. For each notification received, it's displayed one by one, I want to know how can I merge them into only one notif item. I'm aware from the ACS android sdk there's showNotification() function...
Calculation with route
Hi, in my geo app (simulation of public traffic) I need a lot of calculations with polylines. Mike Williams has written [epoly](http://econym.org.uk/gmap/epoly2.js). It cooperates with the old Google API 2.0. Now i think about a refactoring. To save time,...
scroll paging
Hi all, I am showing contents in scroll view and fetching those contents from remote server. I need to set limit to show 12 products in a window and while scrolling below i need to show another 12 products,so total 24 products need to show and again...
Bug with ListViewCellSelectionStyle
Hi, this is not a question, but a helpful hint maybe. It took me so time to figure out why I couldn't build an app with the new ListView function on my device with SDK 3.1.0 Beta. I always receive this error message: ~~~ [ERROR] : ** BUILD FAILED...
Android Webapp: use sqlite to save offline data
I'm looking for a detailed description on how to use a local (on the phone/tablet) sqlite database to store offline data when a connection to the internet is possible, and reload that data when the device has no connection. I've looked through all howto's...
Android : Cookie values in not present after force close and OS close our background app (inatcive statu)
Hi, About my issue: I have to login into a website and it will set cookie values. for this I used httpclient with username/password in post request. But, When my app is background and/ or (user or OS) force close the app, or app crashed. And Open the...
Open a Popover from another Popover
Is it possible to open a new Popover from another Popover without dismissing this? For instance, Popover 1 show current text properties (font, size, color). From this a new Popover would be open to select a new color. target iPad, Titanium SDK 3.0.2
Android: Enable location service programmatically
Hello peeps, I have searched over the internet and so far I only found the way to [enable location service programmatically](http://www.androidhive.info/wp-content/uploads/2012/07/android_launching_gps_settings.png) is by using...
How to store app resource content in 'Documents' folder
IOS: 6.1 Titanium: 3.0 Is it possible to have my iOS app store the content files (html, images, etc) in the IOS 'Documents' or the 'Private Documents' folder, vs. inside the xxx.app bundle? I see my database files automatically go to the 'Private...
to display text like a slide-show displays pictures
how to give text for displaying in slideshow instead of images.
How is a VideoPlayer View completely removed from a Window. Android
The Window has a Red background color and the videoPlayer has Blue. The Blue background color is still showing even after removal of the videoPlayer View. Its like the Android Surface Object hasn't be removed. Why is this and how can I fix so that the...
Titanium module build.py fails
I'm trying to make an iOS module for Titanium. I selected "File"->"New"->"Titanium Module Project", filled out the info, and it created a directory for me in my workspace. I opened the xcode project and it built fine....
How I made Titanium worked with BlueStack Android Player
I am sorry if I am posting at the wrong place,I accidentally made BlueStack worked with titanium and I fee like sharing it. First of all ,I installed bluestack ,After that,I created a new __run configuration__ ,Create a new configuration and since...
GPSoverIP
Hi *, [GPSoverIP](http://www.gpsoverip.de/) is a special protocol between UDP and IP for transfering realtime datas. How can I use Titanium? Rainer
more then 2 tabs can not work
i made 4 tabs the first 2 tabs work fine but the other 2 tabs can not work and generate an Error when i click on it. `[ERROR] : The application has crashed with an uncaught exception 'UIViewControllerHierarchyInconsistency'. [ERROR] : Reason: [ERROR] : ...
How to use this module?
I am trying to use this module: https://github.com/hoyo/TiRemoteControl I cant find out ow to use it. ~~~ var Control = require('net.hoyohoyo.tiremotecontrol'); Control.setNowPlayingInfo({ artist: 'someone', title: 'Happy Birthday to You', ...
insert the view in a tableview for specific position in titanium android
~~~ Ti.UI.setBackgroundColor('#000'); var win = Ti.UI.createWindow({ backgroundColor: 'black', exitOnClose: true, fullscreen: false, title: 'TableView Demo' }); var defaultFontSize = Ti.Platform.name === 'android' ? 16 : 14; var tableData =...
Load different strings according to different properties (same as Ti.Locale)
Hi, I am building a multilingual app, I want to display different strings according to selected language. however I don't want to use Ti.Locale but instead have the same advantages. Is it somehow possible, for example first...
Youtube Video is working above Android 3.0 using jsonc array.
I am happy to share this. Probably many people disappointed about android youtube video. but it is working. :) I tested on galaxy s3 and it is working with no problem. 1. declare url about youtube jsonc and httpclient(ex:xhr =...
How to query the ACS logs
Is there an API to query the ACS logs? I'm adding additional logging on my side, but I need to investigate something that happened recently. There isn't a filter available in the cloud website to narrow down the records. Thanks, John
MusicPlayer Query - Issues
~~~ Core.prototype.musicPlayer = function(index) { if (isAndroid) { var player = Ti.Media.createSound({ allowBackground : true }); } else { var player = Titanium.Media.systemMusicPlayer; /* *...
MusicPlayer Issues
~~~ MUSIC_PLAYER_SHUFFLE_SONGS ~~~ This is not reconized. using sdk 2.1.4.GA? Do the constants work?
XML Parsing returns text nodes only on iOS
There appears to be a difference in parsing XML between Android and iOS Take the XML fragment below: ~~~ var xmlTest = '<LOGON_RESPONSE ID="0">' + ' <RESULT>ACK</RESULT>' + ' ...
PageFlip landscapeShowsTwoPages
I like very much PageFlip to browse pdf files. It provides great page animations. Unfortunately, the property landscapeShowsTwoPages does not work. Even if it is set to false, it always shows two pages. The project is now open source...