Community Questions & Answers
TableViewRow selectedBackgroundColor remove rounded corners?
How do you overwrite the default style of the iPhone UI for selecting a row in a table view? For the iPhone it is default blue, and can be changed with `TableViewCellSelectionStyle`, but that is limited to three choices. The alternative is to use...
Titanium.Facebook (1.6)
Hi, I just tested the new Titanium.Facebook system (1.6) on my iPhone but it doesn't work for me. This is the code I use, the only difference i see with the code in KitchenSink is that my App ID is longer (15 chars) and i ask for more permissions. If I...
install Module error (TiAdMob4iPhone)
i would install the Titanium Module [TiAdMob4iPhone](https://github.com/masuidrive/TiAdMob4iPhone#readme), but I get an error. i copy this in terminal: myUsername$ /masuidrive-TiAdMob4iPhone/build.py && unzip jp.masuidrive.ti.admob-0.1.zip -d...
Upload to TwitPic
I am trying to upload a picture to twit pic using xhr. I get a status 200 (Complete) but I cannot find the picture anyone on TwitPic. Has anyone been able to upload to twitpic? If so, how did you do it?
Information in App Store
So, I/We have my/Our first app in the App store (NL, BE, LUX) and in the app store it say iOS 3.2 or Higher Required. But actually, it Requires 4.2 it does not work correctly on 3.2 I know i can edit this in xcode and that its a binary detail, but how...
Why project needs to be on C:\ in order for notification and inspector to work?
Hello, Why project needs to be on C:\ in order for notification and inspector to work? Thanks
getting started with titanium
can any one give me steps for getting started with titanium for android or provide any reference i m nt getting from where can i start to make application
got problem in run program
I got a error when I m gonna to run android project in titanium wht i neet to do? [ERROR] Failed installing com.appcelerator.kitchensink: pkg: /data/local/tmp/app.apk i m using android sdk 2.2 and titanium 1.2.2
ActivityIndicator
when i creating it crashes the app what is the problem in my code var actInd = Titanium.UI.createActivityIndicator({ height:50, width:10 }); actInd.show();
tabelvoew Click Values Undefined
Hi, I have been trying for several days by dissecting samples and reading posts to find an answer to no avail, basically the values from my Click are always undefined. See code below The data is displayed perfectly, I just need the values to be pulled so...
simulate back buton
Hello, here is my problem : in a tab i have a window. In this window (search form) i open a new Windows (search results). ~~~ validForm.addEventListener('click', function () { var rechercheView = Ti.UI.createWindow({ url :...
Web Services
How can I use http://www.sudzc.com/ generated proxy codes? Or is it possible to use?
How can I add a contact in Android
Per the forum answers there is no way to add a contact in Android via the Titanium.Contacts interface. Can it be done with Intents? Here is my testing code for creating a contact using the intent Ti.Android.ACTION_INSERT_OR_EDIT. It compiles and...
Notification API on desktop
Hello, I am a newbie to Titanium, I am excited to learn and work on Titanium. I am on Windows, I am trying to display a notification but it's not working. I tried this: try { var n =...
Trace on KitchenSink and Android emulator errors
Hi Development, Any idear what to do? [TRACE] app property, ti.android.debug : false [TRACE] app property, ti.android.google.map.api.key.development : 0ZnKXkWA2dIAu2EM-OV4ZD2lJY3sEWE5TSgjJNg [TRACE] app property, ti.android.google.map.api.key.production...
Facebook.authorize not firing on Android with 1.6.0
Hello, I'm trying out the new FB API and it works great on iOS but nothing is happening when trying to authorize on Android. Here is the code bellow. Does that work on the emulator as well? Thanks, Brice ~~~ if(!Ti.Facebook.loggedIn) { ...
Detecting OS in code via variables
In my existing app, I am using constants which are only for iOS. Now I want to port my app on Android and constants like "iPhone.SystemButtonStyle.BORDERED" are generating error. How do I make it possible to detect the OS while building the...
How to do a Titanium modules using Xcode class?
Hi which is the best way or how could I do a module for Titanium using a Xcode class, in my case I need a module that use https://github.com/brow/leaves Thanks
TabGroup as a child of another TabGroup or Window working fine in iphone but, in android it crashes
Hello friends, Can I add TabGroup as a child of another TabGroup or Window in android? Is it limitation of android? Thanks in advance
Tableviews still making random selections in 1.6
Has anybody got allowsSelection:true to work properly? On an iPad it arbitrarily and randomly selects rows that have not even been touched, when the tableview is scrolled. regards, JH
Logging on Android emulator not working
I have never been able to get logging working. I'm using the Android emulator. Has anyone been able to get this to work? Tried 1.5.1 and 1.6.0.
Load local image in webview
Hi, How to load local image on webview (for iPad) that has been stored in the **applicationDataDirectory**? I tried the following code with no success. ~~~ var f = Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory, 'history.jpg'); ...
facebookErrDomain error 10000
I've had this error a couple times with the new Facebook API in 1.6. I'm not sure what causes it. I'm supposed to already be "loggedIn", but sometimes I get this error when I try to do a query on the API: ~~~ The operation couldn't be...
Titanium Mobile 1.6 Not working with my app
I have a app built in 1.5.1 and I am trying to run it in the new Titanium Mobile 1.6. I get a app "has stopped unexpectedly" Force Close.... I an not getting in errors in the Trace logs. Help Please!!!!!!!!!!!!!!!!
Module overview
So that I could not find a overview of current existing module for titanium i start an overview here. (or is there a overview ?) - imageAsCropped (crop images)[https://gist.github.com/621367](https://gist.github.com/621367) - TiBar (barcode...
getPeopleWithName with wildcards
getPeopleWithName supports * for contact searches in iPhone. Is there a way to search in a similar manner in android?
help me:JavaScript compiler reported "Unsafe character."
i am new to use the appcelerator to develop my app , it can run normally on android simulator ,but it does not work on iphone simulator ,and it says JavaScript compiler reported "Unsafe character." ,Unexcepted ''." I guess because its UTF-8...
Titanium 1.2.2 fails to use latest android-sdk_r10-windows.zip installed
Selection: New Project > Project Type: Mobile System gives following message: Android SDK 1.6 was not found. If installed, can you provide the location? OK Provided: C:\Program Files\Android\android-sdk-windows Note: I have already copied...
Problems storing video stream locally
I am trying to download a video stream for offline playing. I got this far: 1. The server sends my a *.m3u8* playlist which I download and store 2. I read this playlist and I download a bunch of *.ts* files (stream chunks in MPEG-TS, i suppose) 3. I offer...
First App Approved!!
[http://itunes.apple.com/us/app/gabby-gourmet-guide/id420954367?mt=8](http://itunes.apple.com/us/app/gabby-gourmet-guide/id420954367?mt=8) Yeah! My first app [built using Titanium] was just approved by Apple. Thanks to everyone at Appcelerator, and for...
I have this problem
i have this problem when i try to launch the iphone simulator http://www.pctunerup.com/up/results/_201102/20110223204812_prova.jpg what i can do?
Best practice storing user login information
I want to store the user's username/pw on the iphone so he doesn't need to login each time. Would it be better to use a database, or just set it in the Ti.App.Properties? I would gather that Ti.App.Properties is faster for accessing it, but what about...
Embedding a video - iPhone 4 : Android 0 - Any hints to fix Android?
Hi, there's probably too much code here sorry. For clarity I prefer this over pastie. I want a video that plays inside an area of the screen. I've tried 4 ways with no success on Android. Environment: iPhone 4.1 SDK, Android APIs 2.2, Titanium Mobile...
How to set a cookie? createHTTPCookie?
I use Titanium.Network.createHTTPCookie() method to create cookie. Platform desktop. ~~~ var cookie = Titanium.Network.createHTTPCookie(); cookie.setName('name'); cookie.setValue('value'); cookie.setMaxAge(3600); ~~~ But when I read the cookie's...
scrolling background image?
Forgive me if this is obvious but can a background image scroll along with content? For instance if I give my scrollView a background shouldn't it move with my content as I scroll down the page? Also, when I have reached the end of my background (lets...
Get titles of songs chosen from music library and display them in a list.
I've used the music.js example from the KitchenSink to see how to do this, and it calls a function called `openMusicLibrary()`, however I can't find any documentation on it. There is, however,...
Problem in webview.toImage()
Hi, Can anyone tell why toimage method always return the image of previous view of webview? See the following code snippets. ~~~ function createHTMLString(price, tooltip, data){ var ymin = (data.ymin > 10) ? (data.ymin - 10) : data.ymin; ...
Titanium.Process.createProcess run as root
Particularly in OS X, is it possible to run commands with elevated privileges using the security framework? I'm trying to run some commands which require root access to run. Using Platypus I can package a script and have it present me with the OS X...
webview
hello sir, here i creating the web view but it crashes the app,in my code any problem var webview2 = Ti.UI.createWebView({ top: 10, height:100, width:100, left:210, scalesPageToFit: false ...
Facebook Fan Page
Hello, I was wondering if anyone was able to help me here. I want to get a group page (or even a fan page) wall feed on my app. when you open the tab. i was wondering if any one knows how to do that? Thanks so much in advance -> all good i found...
System tray icon for mobile app
Hello. How can I make a system tray icon for my app (Android and iPhone)?
Sip based softphone as custom module for Titanium?
is anyone working on a SIP-based softphone module?
Permanent android menu
I want to have a menu that is always avaible in my app, right now i am using this to activate my men ~~~ var win1 = Titanium.UI.createWindow({ title:'Favorites', backgroundColor:'#000', url: 'AndroidMenu.js', navBarHidden :...
Desktop Zeroconf Module
I know that the Bonjour module is only available for iPhone but I've seen several references at Lighthouse, including some samples, to a Zeroconf module. Is this available yet or is it to be included in a future version of the SDK? Is it/will it be...
iphone - Camera within navigation group child page breaks title
Hi again, A quickie, I have a navigation group set up with just a single parent -> child relationship. In the child window I have a button to use the camera, when you click on this it launches the camera window (This all works). When you go through...
Kitchen Sink - Error With Android Emulator
I installed both Appcelerator and the Android SDK yesterday. I installed all components of the Android SDK. So far I've been able to get the Kitchen Sink app working on the iPhone emulator but not on the Android emulator. It gets as far as installing the...
Javascript vs Titanium API
Hi, browsing through the tutorials, I saw there's Titanium API which is meant to speed up the development process. I would like to know if I don't use Titanium API but instead create using Javascript and CSS, is that possible? E.g. creating an alert box,...
No "Install Now" button for Android
Running Titanium 1.2.2, I have two similar apps. One was developed using the HelloWorld framework; the other was developed by someone else using Titanium for iPhone. In my Android environment I can build both projects with no problem. Both run in the...
Build fails after deleting project and renaming
hi at some point my project crashes - normally with a database error thereafter it wont compile or if it does i need to try about 4-8 times before it builds if i delete the project and create a new one moving my app.js file to the new projects resources...
Solution: Thumbnail Viewer Example
Hi all, I just wanted to share some code that allows you to create a really lightweight grid-like thumbnail viewer of remote images with paging (iPhone only right now). And most important is that is has no memory issues, so it doesn't crash :) You can...
Showing 37,201-37,250 of 48,771 1 … 740 741 742 743 744 745 746 747 748 749 750 … 976